OdooWiki OCA HUB

Website Sale Hide Price

website_sale_hide_price folder_open OCA/e-commerce open_in_new
Website License: AGPL-3

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

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you hide product prices on your website shop, either for the whole website or for individual products, and show a custom message instead. You can also hide prices for specific customers.

This module gives you control over whether prices are visible in your online shop.

  • On each product, you get two new fields: a checkbox to hide prices on the website and a text field for a message to show instead (for example, "Contact us for pricing").
  • In the website settings, you can turn price hiding on for the whole website and set a default message used when a product has no message of its own.
  • On a customer contact record, there is a "Show prices on website" checkbox (on by default). If you untick it, that customer will not see prices on the website.

When prices are hidden, the shop automatically removes the price, the add-to-cart button, the quantity selector, the buy-now button, extra price badges, the price filter and price information in the search bar. If a message is set, logged-in customers see it in an information box on the product page.

The module touches product.template, res.config.settings, res.partner and website, and changes several website shop templates.

Depends on

website_sale
Models and fields (4)
  • website · extends an existing modelwebsite_hide_price (Hide prices on website), website_show_price, website_hide_price_default_message (Default Hidden price message)
  • res.partner · extends an existing modelwebsite_show_price (Show prices on website)
  • product.template · extends an existing modelwebsite_hide_price (Hide prices on website), website_hide_price_message (Hidden price message)
  • res.config.settings · extends an existing modelwebsite_hide_price (Hide prices on website), website_hide_price_default_message

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/e-commerce.

terminal Installation and usage

OCA documentation · Odoo 19.0

If you want to hide prices at customer level:

  • Go to Customers and choose one.
  • Go to Sales and Purchases tab.
  • 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:

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

  • Go to Website \> eCommerce \> Products and choose one.
  • Go to Sales tab.
  • In the Ecommerce Shop section you have the option Hide prices on website.
  • You can optionally set a message that will be displayed when the prices are hidden.

If you want to hide prices at website level

  • Go to Website \> Configuration \> Settings and choose the website to hide the prices.
  • In the Shop - Products section you have the option Hide prices on website

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

  • On the search box writing the name of a product.
  • On the product list (/shop).
  • On the product page.
  • On the recently viewed products.

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

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.