Notifications Parameter
This parameter allows you to change the text of the email/message notification that your customers will be able to do according to your convenience.
For example, you would want to create text like:
Order #SA123 Shipping Information Abu Ahmad
You need to use the following parameters:
Order {{ name }} Shipping Information {{ customer.first_name }} {{ customer.last_name }}
For more information, the parameters you can use in the Commerce system are below.
These are the parameters you can use for the Subject column in your notification template:
This parameter can only be used for the notification of Files ready for download, Order status changed, Checkout abandoned, Order review & Order packed:
Parameter: {{ store.name }} Description: The name of your store
Example: Hartamas
Parameter: {{ store.email }} Description: Your store email
Example: hello@shoppegram.com
Parameter: {{ store.url }} Description: Link to your website
Example: https://hartamas.myshoppegram.com
Parameter: {{ store.currency_format }} Description: Currency format you use
Example: MYR
This parameter can only be used for notifications of Ordered shipped, Order status changed, Checkout abandoned, Order ready for pickup, Order review & Order packed:
Parameter: {{ customer.first_name }} Description: Customer first name
Example: Abu
Parameter: {{ customer.last_name }} Description: Customer last name
Example: Ahmad
Parameter: {{ customer.name }} Description: Customer's full name
Example: Abu Ahmad
Parameter: {{ customer.email }} Description: Customer email
Example: abuahmad@gmail.com
Parameter: {{ customer.phone }} Description: Customer phone number
Example: 60123456789
This is a parameter that you can use on the Body column in your announcement template:
Parameter: {{ name }} Description: Order number
Example: #SA123
Parameter: {{ store.url }}
Description: Link to your website
Example: https://hartamas.myshoppegram.com
Parameter: {{ store.name }}
Description: The name of your store
Example: Hartamas
Parameter: {{ store.email }}
Description: Your store email
Example: hello@shoppegram.com
Parameter: {{ store.currency_format }}
Description: Currency format you use
Example: MYR
Parameter: {{ gateway_details }}
Description: Instructions on payment gateways
Example: Payment can be made by direct bank transfer the amount to our bank details stated below.
Parameter: {{ gateway_name }}
Description: Name of payment gateway/payment method used during checkout
Example: Securepay
Parameter: {{ gateway_type }}
Description: The type of payment gateway used
Example: For COD and Bank deposits = manual
For payment gateway = alternative
Parameter: {{ customer.first_name }}
Description: Customer first name
Example: Abu
Parameter: {{ customer.last_name }}
Description: Customer last name
Example: Ahmad
Parameter: {{ customer.name }}
Description: Customer's full name
Example: Abu Ahmad
Parameter: {{ customer.email }}
Description: Customer email
Example: abuahmad@gmail.com
Parameter: {{ customer.phone }}
Description: Customer phone number
Example: 60123456789
Parameter: {{ shipping_address.first_name }}
Description: First name information entered in the shipping section
Example: Nur
Parameter: {{ shipping_address.last_name }}
Description: Last name information entered in the shipping section
Example: Rahimah
Parameter: {{ shipping_address.address }}
Description: Address information entered in the Address section
Example: Blok B 01-02-03
Parameter: {{ shipping_address.address2 }}
Description: Address information entered in the second Address line section (If any)
Example: Jalan Permata Permai
Parameter: {{ shipping_address.city }}
Description: City information entered in the City section
Example: Selangor
Parameter: {{ shipping_address.state }}
Description: County information entered in the State section
Example: Cyberjaya
Parameter: {{ shipping_address.zip }}
Description: Postal code information entered on Postcode/Zip
Example: 63000
This parameter can only be used for Order ready for pickup notifications:
Parameter: {{ pickup_address.company }} Description: Your company name for pickup process Example: Hartamas
Parameter: {{ pickup_address.name}} Description: Your name for pickup process Example: Ali
Parameter: {{ pickup_address.phone}} Description: Your company phone number for pickup process Example: 60123456789
Parameter: {{ pickup_address.email}} Description: Your company email for pickup process Example: hello@shoppegram.com
Parameter: {{ pickup_address.address}} Description: Your company address for pickup process Example: Blok B 01-02-03
Parameter: {{ pickup_address.address2}} Description: Your company address information entered in the second Address line section for pickup process (If any) Example: Jalan Permata Permai
Parameter: {{ pickup_address.zip}} Description: Postal code information entered on Postcode/Zip for pickup process Example: 12300
Parameter: {{ pickup_address.city}} Description: City information entered in the City section for pickup process Example: Pasir Gudang
Parameter: {{ pickup_address.state}} Description: State information entered in the State section for pickup process Example: Johor Bahru
Parameter: {{ pickup_address.country}} Description: Country information entered in the Country section for pickup process Example: Malaysia
Parameter: {{ pickup_address.instruction}} Description: Instruction for the customer Example: Please make sure you contact us 30 minutes before you come to pickup the items.
This parameter can only be used for Order shipped, Order status changed, Checkout abandoned, Order ready for pickup, Order review & Order packed notifications:
Parameter: {{ total_price }} Description: The total price of the customer's order
Example: 180.00
Parameter: {{ total_discount }}
Description: Amount of discount that customers use in their order (If any)
Example: 99.00
Parameter: {{ shipping_price }}
Description: The total shipping price that the customer is charged (If any)
Example: 8.00
Parameter: {{ shipping_method }}
Description: The shipping name that the customer has chosen during the checkout page (If any)
Example: Normal shipping
This parameter can only be used for Order packed notifications:
Parameter: {{ requires_shipping }} Description: Jika order itu memmpunyai shipping atau tidak
Example: True(Untuk mempunyai shipping dan False(Untuk tidak mempunyai shipping)
This parameter can only be used for Checkout abandoned & Order review notifications:
Parameter: {{ currency }} Description: Currency format you use
Example: MYR
This parameter can only be used for Order confirmation notification & File read for download:
Parameter: {{ files[].name }} Description: Your file name
Example: Ebook Percuma
Parameter: {{ files[].url }} Description: Access link to your file
Example: https://shoppegram.com
This parameter can only be used for notifications of Ordered shipped, Order status changed, Checkout abandoned, Order ready for pickup, Order review & Order packed:
Parameter: {{ items[].product.name }} Description: The name of the product purchased by the customer
Example: T-shirt
Parameter: {{ items[].name }} Description: The name of the product variant purchased by the customer
Example: Putih
Parameter: {{ items[].price }} Description: The price of your product
Example: 50.00
Parameter: {{ items[].quantity }} Description: The quantity of the product purchased by the customer
Example: 2
Parameter: {{ items[].subtotal }} Description: The total price of the product purchased by the customer
Example: 100.00
This parameter can only be used for Order shipped notification:
Parameter: {{ tracking_url }} Description: Tracking URL for the courier you choose for the customer's order process
Example: https://www.ninjavan.co/en-my/tracking
Parameter: {{ tracking_number }} Description: The customer's tracking number that you have entered during the Add tracking process
Example: MY000000010NJVN
Parameter: {{ tracking_company }} Description: The name of the company/shipping carrier you use during the Add tracking process
Example: Ninjavan
Last updated