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 > 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.

Attachments view in backend

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.

Toggle icons in frontend

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.

Products view in backend

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.

Attachments view in backend

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

  • 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

File details

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

File metadata

File hashes

Hashes for odoo_addon_website_sale_product_attachment-16.0.1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b948f15f7144439cfb73ba1265e465d0f36029cd031d391d19143bd8473d56be
MD5 fe766cc91ae3fa4309b57fa1abc74657
BLAKE2b-256 d6b6237acc4d9905a5f73a213644bd06a90c86ed7f2ddb8dc06cf0104a170ded

See more details on using hashes here.

Supported by

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