Prints the form for entering a shipping address or the already entered shipping address.
Kuvaus
You can manage the shipping address selection tool by using the mode attribute: if the customer has multiple shipping addresses, the tag can print e.g. a selection list from which the customer will be able to select the desired address.
The shopping cart must contain items, or the tag will not print anything.
Syntaksi
{CheckoutShippingAddress(
mode: string
)}Näkyvyys
Toimii näkyvyydessä: globaali
The tag is onlt used in at the checkout in the shipping address stage (multi-stage checkout / >>>>>> master href="../templates/yhden-sivun-kassan-sivupohja.dita#yhden-sivun-kassan-sivupohja" >single-page checkout).
When using the tag on the one-page checkout, remember to close the tag in a <div> or <fieldset> element to which you assign the tag name as the id.
Attribuutit
mode:Defines whether the tag should print the form or the shipping address that has already been saved via the form.
Allowed values:
- 'preview': Prints the previously entered primary shipping address.
- 'select': Prints the selection list that contains all previously saved shipping addresses and links to the form for editing them.
- 'form': Prints the input form for entering a shipping address.
- 'auto': If the customer has multiple shipping addresses, the selection list will be printed – otherwise the form will be printed (default value)
On the one-page checkout, the edit links for the shipping address in the select dropdown list do not work.
before: / after:With these two 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
beforeandafterattributes will also not be displayed.escape:Adds escape characters to the content printed by the tag, making it easier to use the content in JavaScript code or JSON objects.
Sallitut arvot:- true: the attribute adds escape characters before quotation marks
- false: the attribute does nothing
- json: the attribute adds escape characters to the output, allowing the content to be used in JSON markup.
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.'
