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