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
Tags with global scope can be used on any template and in 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:
after/before:
By using the
after
andbefore
attributes you can define content that is output either after or before the tag's output.Allowed values:The HTML and Interface markup
E.g.
If the tag does not produce any content, neither the content of the
after
andbefore
attributes will be output.escape:
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:The HTML and Interface markup
E.g.
or:
'Sisältöä ei löytynyt.'