CG - Invoices and Emails - Dynamic Tags

Customise invoices and emails with dynamic data tags so they pull in relevant order and customer data

Chelsea Kelly avatar
Written by Chelsea Kelly
Updated over a week ago

Dynamic tags can be used to make your invoice and emails adaptive to customer, product and order details. Simple insert the tag instead of text, for example, rather than entering

"Dear Clare, thanks for your order with ChannelGrabber Ltd on 01.01.2017"

you would enter

"Dear {{order.shippingAddressFullName}}, thanks for your order with {{organisationUnit.addressCompanyName}} on {{order.purchaseDate}}"

and your message would then be relevant for every single customer, trading company and order date, without you changing a thing.

Here are the tags you can use throughout the system:
โ€‹

Order Details

{{order.externalId}}
The ID of the order from the channel or webstore

{{order.channel}}
The name of the channel that the order came from

{{account.id}}
The account ID of the channel the order came from

{{account.displayName}}
The Display Name you have given the account in your settings

{{order.buyerMessage}}
Displays any message that the customer has sent with their order

{{order.purchaseDate}}
The date that the order was placed by the customer (may differ from payment date if they did not pay immediately)

{{order.paymentDate}}
The date that the order was paid for by the customer(may differ from purchase date if they did not pay immediately)

{{order.paymentMethod}}
The method of payment used by the customer on the channel

{{order.paymentReference}}
The reference for the payment

{{order.printedDate}}
The date the invoice is printed

{{order.dispatchDate}}
Displays the date you have marked the order status as dispatched

{{order.currencyCode}}
Assigns the relevant currency symbol for the order

{{order.total}}
The total cost of all items that make up the order (inc. VAT if applicable)

{{order.totalDiscount}}
Any discount that was applied on the channel when the order was placed

{{order.status}}
The status of the order in ChannelGrabber at the time the invoice/email is generated

{{order.alerts}}
Displays any alert that you have applied to an order

{{order.archived}}
Shows whether or not an order has been archived

{{order.batch}}
Shows which batch you have assigned the order to (if applicable)

Customer / Billing Details

{{order.billingAddressFullName}}
The customer's full name on their billing address

{{order.billingAddressCompanyName}}
The company name of the customer's billing address

{{order.billingAddress1}}
The first line of the customer's billing address

{{order.billingAddress2}}
The second line of the customer's billing address

{{order.billingAddress3}}
The third line of the customer's billing address

{{order.billingAddressCity}}
The city of the customer's billing address

{{order.billingAddressCounty}}
The county of the customer's billing address

{{order.billingAddressCountry}}
The country of the customer's billing address

{{order.billingAddressPostcode}}
The postcode of the customer's billing address

{{order.billingEmailAddress}}
The email address associated with the customer's billing address

{{order.billingPhoneNumber}}
The phone number associated with the customer's billing address

Customer / Shipping Details

{{order.shippingAddressFullName}}
The customer's full name on their shipping address

{{order.shippingAddressCompanyName}}
The compny name of the customer's shipping address

{{order.shippingAddress1}}
The first line of the customer's shipping address

{{order.shippingAddress2}}
The second line of the customer's shipping address

{{order.shippingAddress3}}
The third line of the customer's shipping address

{{order.shippingAddressCity}}
The city of the customer's shipping address

{{order.shippingAddressCounty}}
The county of the customer's shipping address

{{order.shippingAddressPostcode}}
The postcode of the customer's shipping address

{{order.shippingAddressCountry}}
The country of the customer's shipping address

{{order.shippingEmailAddress}}
The email address associated with the customer's shipping address

{{order.shippingPhoneNumber}}
The phone number associated with the customer's shipping address

{{order.shippingMethod}}
The shipping method that the customer has chosen or the channel has provided for the order

{{order.shippingPrice}}
The price the customer has paid for shipping

{{tracking.number}}
The tracking number for the order as applied in ChannelGrabber

{{tracking.carrier}}
The name of the courier you have shipped with

Trading Company Details

{{organisationUnit.addressFullName}}
The contact name on your trading address

{{organisationUnit.addressCompanyName}}
Your trading company name

{{organisationUnit.address1}}
The first line of your trading address

{{organisationUnit.address2}}
The second line of your trading address

{{organisationUnit.address3}}
The third line of your trading address

{{organisationUnit.addressCity}}
The city of your trading address

{{organisationUnit.addressCounty}}
The county of your trading address

{{organisationUnit.addressPostcode}}
The postcode of your trading address

{{organisationUnit.addressCountry}}
The country of your trading address

{{organisationUnit.emailAddress}}
The email address associated with your trading company

{{organisationUnit.phoneNumber}}
The phone number associated with your trading company

{{organisationUnit.webAddress}}
The website address associated with your trading company

Did this answer your question?