Prints the delivery country selection menu.

Kuvaus

The country menu contains the countries to which shipments are possible based to the shipping methods available in the store version. The choice of the country of delivery affects the tax rates and the shipping cost estimates of the shopping cart.

If the customer is logged in, the tag will not print the country menu by default, as the theme picks the country of delivery from the customer details.

Syntaksi

{CountrySelection( countries: string, force: boolean )}

Näkyvyys

Toimii näkyvyydessä: globaali

It is possible to use global visibility tags in any page template and within any tag.

Attribuutit

countries:

Specifies the countries included in the country menu. By default, the tag prints all available countries.

Allowed values: country codes separated by vertical lines.

E.g. countries: 'fi|de|gb'

force:

If the value is true, the tag prints the country menu even if the country has already been selected.

Allowed values: true/false. The default value is false.

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.

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