Below is a table of global variables that can be used in email templates. For a list of variables that can be used in specific templates, see the developer documentation.
Variable | Corresponds to: | Output example |
store.name | your store's name | "Thanks for Registering at My WINE Store" |
store.domain_name | your store's domain name | "Your wine.com account details have changed" |
store.logo.title | your store's logo text (used as alt text for your logo image) | My Wine Store |
store.logo.url | your store's logo image URL | |
store.ssl_path | your stores HTTPS URL | "Your https://wine.com account details have changed" |
store.cdn_path | your store's content delivery network path URL | |
store.image_directory | the image directory URL tail in your store's CDN path | {{ store.cdn_path }}/{{ store.image_directory }} = https://cdn11.wine.com/s-xyz123/product_images |
store.path_normal | your store's HTTPS URL (used as link at the bottom of some emails) | "My BC Store |
store.path | your store's HTTPS URL (used as link in the logo and "go shopping" button) | |
store.address | your store's physical address | "My Wine Store 110 Inner Campus Drive Austin, TX 78750 United States of America" |
store.language.code | the language file used by your store's theme | If your theme is using en.json, then {{ store.language.code }} will be en |
store.language.direction | the direction that the text in your store is read | If the text in your store is read left-to-right, then {{ store.language.directory }} will be ltr |
customer.first_name | The customer's first name | "Hello, John," |
customer.full_name | The customer's full name | "Hello, John Smith," |
customer.email | The customer's email address | "Email Address: [email protected]" |
misc.year | The current year | "© 2021 My Wine Store" |