Kuvaus
The contents printed by the tag depends on whether the customer is logged in:
- If the customer isn't logged in, the following links are printed:
- Order tracking
- Log in
- Signup (depending on the value of the
register
attribute)
- If the customer is logged in, the following links are printed:
- Customer account
- Order tracking
- Log out
Syntaksi
{CustomerNavigation(
register: boolean
)}
Näkyvyys
Toimii näkyvyydessä: globaali
Tags with global scope can be used on any template and in any tag.
Attribuutit
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: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.or:
Defines alternative content that is displayed if the tag itself does not produce any content.
Allowed values:HTML and Interface markup.
E.g.
or:
'Sisältöä ei löytynyt.'register:
Specifies whether the link to the signup page should be printed as well.
Allowed values: true / false. The default value is false.