Skip to content
Abu-Huraira edited this page Jul 21, 2016 · 1 revision

###These shortcodes can be used in email template as follows:

[SITENAME]
[SITEURL]

[EMAIL_TYPE]
[EMAIL_HEADER]
[HEADER_IMAGE]

[CUSTOMER_COMPANY_NAME]
[CUSTOMER_USER_NAME]
[CUSTOMER_NAME]
[CUSTOMER_EMAIL]

[ORDER_DATE]
[ORDER_ID]
[ORDER_AMOUNT]
[NUMBER_OF_PRODUCTS]
[DISCOUNT_AMOUNT]
[ORDER_STATUS]

[STORE_ADDRESS]
[STORE_PHONE]
[FOOTER_TEXT]

[PRODUCTS]

[BASE_COLOR]
[BASE_BG_COLOR]
[TMPL_COLOR]
[TMPL_BG_COLOR]

few others php variables are also available for more use as object:

$items; //products object
$order; //order object
$customerinfo; //customer info
Clone this wiki locally