Updating from 2.x to 3.0
Most settings are kept. Mainly check your own snippet and template changes.
Logged in customers
The option “Active for logged in customers?” was replaced by Behavior for logged in customers. The update keeps your setting per sales channel: “on” becomes “Choice of the customer always applies”, “off” becomes “Customer group decides”.
Changed snippets
If you changed these texts, move your changes to the new snippets:
| Old | New |
|---|---|
taxswitch.general.net (text “Private customer: gross”) | taxswitch.label.privateBusinessLong.gross |
taxswitch.general.gross (text “Commercial customer: net”) | taxswitch.label.privateBusinessLong.net |
taxswitch.general.grossShort | taxswitch.label.grossNet.gross |
taxswitch.general.netShort | taxswitch.label.grossNet.net |
taxswitch.popup.content | taxswitch.popup.text, privateTitle, privateSubtitle, businessTitle, businessSubtitle |
taxswitch.cookie.error | taxswitch.cookie.hintText, hintHeadline, allowAndSwitchNet, allowAndSwitchGross |
Your own changes
layout/header/actions/taxswitch-widget.html.twigwas removed. All positions usecomponent/taxswitch-switcher.twig.- The classes
js-taxswitch-nettoandjs-taxswitch-bruttoare gone. Use the data attributes. taxswitch-switcher-product-detailis nowtaxswitch-switcher-product.window.taxswitchno longer contains the texts of popup and cookie hint.- Colors come from CSS variables.
All changes are listed in the changelog.