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 odoo13_addon_website_sale_hide_price-13.0.2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo13_addon_website_sale_hide_price-13.0.2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a907a5a56885577a191a40a18661c5ccdb0732aaa0c3b6167b4651a444b25d23
MD5 ac1d25bfa0e12cbfef36789888a11c1a
BLAKE2b-256 44f01cd4600b305baee2c38a7c75ce21eba214b59fd741c6cd0e3c6a258d2e59

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