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

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:

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

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

  • before: '<p>This markup appears before the tag's own content.</p>'.
  • after: '<p>This appears after the tag's own content.</p>'

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

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.'