Kuvaus
The navigation always includes a CSS class for highlighting the active checkout stage in the menu.
In case of the single-page checkout, the navigation links are automatically set to direct to different checkout sections on the same page.
The single-page checkout's navigation doesn't work if the checkout is missing the elements to which the navigation links direct.
When using the {CheckoutNavigation} tag, make sure that the single-page checkout contains the following tags:
Syntaksi
{CheckoutNavigation(
hiding: boolean
)}Näkyvyys
Toimii näkyvyydessä: globaali
Works in scope: global
It is possible to use global visibility tags in any page template and within any tag.
This tag should be used primarily in checkout templates.
Attribuutit
hiding:Defines whether the menu should contain also those checkout stages that include only one selectable option(e.g. payment or shipping method selection).
Allowed values:
before: / after:With these two attributes, you can define content that is output before or after the content produced by the tag.
Allowed values:text that may contain HTML and Interface markup.
E.g.
escape:Adds escape characters to the content printed by the tag, making it easier to use the content in JavaScript code or JSON objects.
Sallitut arvot:or:Defines alternative content that is displayed if the tag itself does not produce any content.
Allowed values:text that may contain HTML and Interface markup.
E.g.
or:'Content not found.'
