Other objects
Country
The country object has the following attributes:
country.id
Returns the ID of the country
country.name
Returns the name of the country, e.g. United Kingdom
Gift voucher styles
Gift voucher styles are created using the gift voucher APP.
The gift voucher styles object has the following attributes:
style.id
Returns the unique platform ID for the voucher style.
style.name
Returns the name of the voucher style.
style.price
Returns the price of the voucher style. You can use currency_value to return the price of the product to 2 decimal places and include a currency symbol, e.g.
{{ currency_value(style.price) }}
returns...
£3.00
Note: The £ symbol will replaced with whatever base currency the account is configured with or in accordance with the multi currency APP.
Stockists
Stockists are created using the stockists APP.
The stockists object has the following attributes:
stockist.name
Returns the name of the stockist.
stockist.address
Returns the address of the stockist. Use the nl2br filter to format the address entry.
stockist.country
Returns the name of the country the stockist is assigned to.
stockist.map_url
Returns the map text field.
stockist.phone
Returns the phone number for the stockist.
stockist.website
Returns the website address for the stockist.