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 Runbot

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 product templates to choose the products.

Attachments view in backend

To be able to filter attachments per website:

  1. Go to Website > Configuration > Settings > Website > Features.

  2. Enable Multi-Websites.

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

  • Add tests.

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 smashing it by providing a detailed and welcomed feedback.

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

Credits

Authors

  • Tecnativa

Contributors

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 odoo12_addon_website_sale_product_attachment-12.0.1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo12_addon_website_sale_product_attachment-12.0.1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 961ff7dc6a4ead89880f34f5df592e2037f6971f7b61da3396e4184bcfe0accd
MD5 ac699cdc4a4aeec5e64933f962746c59
BLAKE2b-256 03b03191ebac26fba0d8a741dd84032b1b25fb6a1defde1b8e7598d738c43a70

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