Skip to main content

Hide product prices on the shop

Project description

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

This module allows to have hidden product prices on the website store.

Table of contents

Configuration

If you want to hide prices at customer level:

  1. Go to Customers and choose one.

  2. Go to Sales and Purchases tab.

  3. In Sales group set Show prices on website on or off so this customer can see them or not. The default value is True, so every partner website user can see the prices.

For not logged in customers:

  1. If you want to have the prices hidden by default when no user is logged in you should go to Public User’s partner and set Show prices on website off. (Remember that the Public User’s user and partner use to be archived).

Hide prices at product level:

  1. Go to Website > Catalog > Products and choose one.

  2. Go to eCommerce tab.

  3. In the Shop section you have the option Hide prices on website.

  4. You can optionally set a message that will be displayed when the prices are hidden.

If you want to hide prices at website level

  1. Go to Website > Configuration > Settings and choose the website to hide the prices.

  2. In the Shop - Products section you have the option Hide prices on website

Both Default Hidden price message field at website level and Hidden price message at product level are only shown on product page when price is hidden at product level.

Usage

After configuring the module go to the website store and check your expected results:

  1. On the search box writing the name of a product.

  2. On the product list (/shop).

  3. On the product page.

  4. On the recently viewed products.

You shouldn’t be able to either see the prices or buy any of the forbidden items if any.

Known issues / Roadmap

  • This module is incompatible with the website_sale_stock_force_block module because it makes changes to the same attributes in the website_sale.products_add_to_cart template.

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

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.

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_hide_price-16.0.2.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_website_sale_hide_price-16.0.2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a374d87bcdb31ee5bed7c60d49a2dc4a0a6d1e7f73dc2267f79229e4766ac9d4
MD5 eccdc0a27c4d34945686cfc7a5f096e6
BLAKE2b-256 9434ae3400ff6c08d25d4491c2749e72e3417351467fd6765d9e633819ceff28

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