Skip to content

Country List tag ​

Get a select HTML list of all your countries, and also checking the settings for default and allowed countries

The tag ​

{exp:reinos_store:country_list type="billing" class="form-control" value=""}

Tag Parameters ​

Below are the Tag Parameters. Those parameters can be used in the tag described above

class ​

Set the CLASS for the select

class=""

id ​

Set the ID for the select

id=""

type ​

Set to billing or shipping

type="billing"

field_name ​

If no type is set, you can also use a field_name to set the name of the input

field_name="billing_country"

value ​

The selected country. Without a value, the shipping country of the cart (or the Default country when the cart has none) is selected, also for type="billing"; set value="{billing_country:value}" (or the billing country of your own form) to select the billing country.

value=""