Skip to main content

Let visitors download attachments from a product page

Project description

Beta License: LGPL-3 OCA/e-commerce Translate me on Weblate Try me on Runboat

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.

Table of contents

Configuration

Instead of configuring attachments per product, to configure products per attachment:

  1. You need permissions to access system settings.

  2. Go to Settings > General Settings > 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.

backend-attachment

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. In web editor toggle Customize > Product downloads > Download icons.

frontend-icons

Usage

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.

backend-product

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.

frontend-download

Known issues / Roadmap

  • Make translatable the name of the attachment in the e-commerce. This will mean to deal with the sorting of the translated terms.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

  • Tecnativa:

    • Jairo Llopis

    • Víctor Martínez

    • Pilar Vargas

  • Sygel:

    • Ángel García de la Chica Herrera

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

Yajo

This module is part of the OCA/e-commerce project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_website_sale_product_attachment-17.0.1.0.0.12-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_website_sale_product_attachment-17.0.1.0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 ce51d6cc51ccf26b4fda3aeb427b41ebf5df4a875854317c8ed35c24506c8711
MD5 70dc48db2555116f8d5ed6ad95942677
BLAKE2b-256 13630aebde3a25fb05a4b0f1169e6c4a9cbcabfa308aaca043886dd7ce585b5f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page