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 Runbot

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.

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 feature doesn’t support multi website. The default behavior is to hide the prices along every website. It could be modified the boolean field on the partner to a many2many relation between res_partner and website_website, so that this price-hiding feature might be made website-dependant.

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

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 odoo14_addon_website_sale_hide_price-14.0.1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_website_sale_hide_price-14.0.1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a97629f7dd1089f652844209ca4c60eec04d3d685f0a5f58e1514fde0a220811
MD5 bee62d7ead45bc7a5a6b8f38983ebfca
BLAKE2b-256 6452d4f5dba00f5e109c73387ff0b51e7865559bc0cac92e2f2dfa551a6e5665

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