Prints a list for shipping method selection at checkout.

Kuvaus

All shipping methods with which the order can be shipped are automatically included on the list.

The shopping cart must contain items, or the tag will not print anything.

Syntaksi

{CheckoutShippingMethods( ajax: boolean, includetax: boolean, notifications: boolean, preselect: boolean )}

Näkyvyys

Toimii näkyvyydessä: globaali

This tag is used only during shipping method selection at checkout (multi-page checkout/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

ajax:

Sets the tag to return either the whole page or only the content it produces as a response to an AJAX request when the form is sent by using JavaScript.

Allowed values:

  • true: returns only the content produced by the tag.
  • false: returns the whole page (default value).
includetax:

Defines whether the shipping costs of shipping methods should be printed on the list including VAT.

Allowed values: true/false. Default value: true.

notifications:

Defines whether to print notifications related to shipping methods.

The notifications are printed from the 'Shipping' category.

Allowed values: true/false. Default value: true.

preselect:

Defines whether the first shipping method on the list should be automatically selected at checkout.

Allowed values: true/false. Default value: true.

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