Enable the gross and net price switch
Audience: CMS editors.
Use this guide for a header displayed on pages with priced archives. You need permission to edit the header and the relevant archive configuration.
- Open the intended Header record in the CMS.
- Set
priceModeSwitchEnabledtotrue. - Save the header.
- If the archive needs a specific initial mode, set its CMS
PRICE_MODEquery default. - Open a page that uses the header and a priced archive.
- Change the price mode with the switch and inspect the displayed prices.
The user’s switch selection overrides the archive default during the current interaction.
Set priceModeSwitchEnabled to false to hide the switch.
See the Header reference for the field contract. Use refresh content if the updated header is stale.
Last updated on