Skip to main content

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.

Release files for odoo-addon-website-sale-product-attachment 17.0.1.0.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-website-sale-product-attachment 17.0.1.0.0.12
File Interpreter ABI Platform
odoo_addon_website_sale_product_attachment-17.0.1.0.0.12-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_website_sale_product_attachment-17.0.1.0.0.12-py3-none-any.whl

Download URL odoo_addon_website_sale_product_attachment-17.0.1.0.0.12-py3-none-any.whl
Size 553.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce51d6cc51ccf26b4fda3aeb427b41ebf5df4a875854317c8ed35c24506c8711
BLAKE2b-256 checksum
How to use checksums
13630aebde3a25fb05a4b0f1169e6c4a9cbcabfa308aaca043886dd7ce585b5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page