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
Functions in the following 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 the
beforeandafterattributes, 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 an escape character before quotation marks in the output. The attribute makes it easier to process the tag-produced content when using JavaScript.
Allowed values: true/false. The default value is false.
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.'
