-
-
Notifications
You must be signed in to change notification settings - Fork 497
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] website_sale_product_attachment: pre-commit auto fixes
- Loading branch information
Showing
11 changed files
with
116 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Instead of configuring attachments per product, to configure products | ||
per attachment: | ||
|
||
1. You need permissions to access system settings. | ||
2. Go to *Settings \> Dashboard \> Activate the developer mode*. | ||
3. Go to *Settings \> Technical \> Database Structure \> Attachments*. | ||
4. Pick or create one. | ||
5. Enable *Attached To \> Is public document*. | ||
6. Use the field *Attached in products* to choose the products. | ||
|
||
![](../static/description/backend-attachment.png) | ||
|
||
To be able to filter attachments per website: | ||
|
||
1. Go to *Website \> Configuration \> Settings \> Website*. | ||
2. Create more than one. | ||
3. Go to *Settings \> Technical \> Database Structure \> Attachments* | ||
4. Pick or create one. | ||
5. Select a website. | ||
6. Save | ||
|
||
To toggle attachment icons in the website: | ||
|
||
1. Go to any product in your eCommerce. | ||
2. Toggle *Customize \> Product downloads \> Download icons*. | ||
|
||
![](../static/description/frontend-icons.png) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- [Tecnativa](https://www.tecnativa.com): | ||
- Jairo Llopis | ||
- Víctor Martínez | ||
- [Sygel](https://www.sygel.es): | ||
- Ángel García de la Chica Herrera |
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...product_attachment/readme/DESCRIPTION.rst → ..._product_attachment/readme/DESCRIPTION.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
This module lets you publish downloadable attachments in a product page. | ||
|
||
This is useful if you want to publish firmwares, manuals, specs, warranties, | ||
or whatever document related to the product. | ||
This is useful if you want to publish firmwares, manuals, specs, | ||
warranties, or whatever document related to the product. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Make translatable the name of the attachment in the e-commerce. This | ||
will mean to deal with the sorting of the translated terms. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
To add publicly downloadable attachments to a product template: | ||
|
||
1. Go to a *Website \> Products \> Products* in backend. | ||
2. Pick or create one. | ||
3. Go to the *eCommerce* tab \> *Website Attachments*. | ||
4. Add any downloadable attachments you want there. They can exist | ||
before or be new. They must be public. | ||
5. Save. | ||
|
||
![](../static/description/backend-product.png) | ||
|
||
Once you set up the product attachments, public users will be able to | ||
download them: | ||
|
||
1. Go to the product eCommerce page. | ||
2. Below the product price and description, you will find a dropdown | ||
labeled as *Product downloads*. Click it. | ||
3. Users will download those attachments from there. | ||
4. Attachments will appear in name order. | ||
|
||
![](../static/description/frontend-download.gif) |
This file was deleted.
Oops, something went wrong.