OdooWiki OCA HUB

Website Sale Tax Toggle

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

This module extends the functionality of website sale module adding a toggle button to allow to user selects view prices with taxes included or without taxes.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a switch on the website shop and product pages that lets visitors show prices with or without taxes. The choice is remembered for their session and prices update immediately.

This module adds a small toggle switch labelled "Show prices with taxes included" to the online shop. Shoppers can flip it on the product list page and on individual product pages to switch all displayed prices between tax-included and tax-excluded amounts.

  • The switch appears above the product list and next to the price on the product page.
  • Clicking it saves the choice in the visitor's session, so the same setting stays active while they browse and when they move from the list to a product page.
  • The initial position of the switch follows the website's existing tax display setting, so the shop opens in the mode the website is already configured for.
  • Prices are recalculated on the fly according to the chosen mode, and the product list cache is adjusted so the correct prices are shown.

It touches the website sale product templates and the product price calculation, and it adds a small front-end interaction. No new menus or back-office screens are created; the change is visible only on the public website shop.

Depends on

website_sale

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 16.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

A default value is set to display taxes at the website level. To set this value, go to Website > Configuration > Settings and select the website where you want to change the default value. In the Shop - Products section, the Tax Excluded option is selected by default, but it can be changed to Tax Included.

  • Go to Website Shop.
  • Open the web editor and activate the Taxes toggle option.
  • Now you can see a taxes toggle button to select prices with taxes included or without taxes.

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.