Prints checkout navigation for navigating between pages of a multiple-page-checkout.

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:

  • true: prints all filters (default value)
  • false: hides the pages with only one selectable option
after/before:

By using the after and before 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.

  • before: '<p>Tämä merkkaus näkyy ennen tagin omaa sisältöä.</p>'
  • after: '<p>Tämä taas näkyy tagin oman sisällön jälkeen.</p>'

If the tag does not produce any content, neither the content of the after and before attributes will be output.

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:The HTML and Interface markup

E.g. or:'Sisältöä ei löytynyt.'