website_sale_hide_price
Enable the Odoo webshop to hide product prices and purchasing actions according to partner, product, or website settings.
Key Features
- res.partner: Adds a website_show_price toggle so each customer can be allowed or denied price visibility on the webshop.
- website: Computes price visibility from the website-level hide toggle and visitor's partner flag while storing a default hidden-price message.
- res.config.settings: Exposes the website price hiding toggle and default hidden-price message in the Website settings panel.
- product.template: Adds per-product hide price and message fields so specific items can conceal their price and explain how to obtain it.
- product.template: Extends variant info, search results, and quick add logic to remove prices and shortcuts when a product or website hides prices.
- website_sale: Hides price blocks, add to cart buttons, buy now controls, quantities, and price badges across shop pages whenever prices are hidden.
- website_sale: Displays the configured hidden-price message as an info alert to authenticated visitors when prices are withheld.
- website_sale: Prevents the price range filter, search box price display, and dynamic product snippets from exposing prices or add to cart actions when hidden.