1 min read

How To Use Shopify Variables

How To Use Shopify Variables

The table below illustrates which Shopify variables work with:

  1. The Abandoned Cart Trigger _Only_.
  2. The  Order Placed Trigger _Only_.
  3. Both, the Abandoned Cart Trigger _and_ Order Placed Trigger.
Shopify Variable DetailsShopify Variable formatData Sample

Abandoned Checkout Trigger



Order Placed Trigger


Order Info



Order id{{order.id}}1900968798308

YES



YES


Order number{{order.number}}1044

-



YES


Order status URL{{order.order_status_url}}link to order

-



YES


Abandoned checkout URL{{order.abandoned_checkout_url}}link to abandoned checkout

YES



-


Created at{{order.created_at}}2021-10-21T11:47:12+05:30

YES



YES


Created on{{order.created_on}}default format 10-20-2021

YES



YES


Currency{{order.currency}}$

YES



YES


Currency code{{order.currency_code}}USD

YES



YES







Customer Info



First Name{{order customer.first_name}}John

YES



YES


Last Name{{order.customer.last_name}}Carter

YES



YES


Email{{order.customer.email}}johncarter@gmail.com

YES



YES


Phone{{order.customer.phone}}18989898989

YES



YES







Order Value



Total Cart Price{{order.total_cart_price}}99.00

-



YES


Discount Code{{order.discount_code}}TESTDISC20

-



YES


Total Discount Value{{order.total_discounts}}11.99

-



YES


Order has discount?{{order.has_discount}}true/false

-



YES


Subtotal Price{{order.subtotal_price}}88.99

-



YES


Total Shipping Price{{order.total_shipping_price}}14.49

-



YES


Total Price{{order.total_price}}102.99

-



YES







Customer Billing Address



Contact Name{{order.billing_address.name}}John Carter

-



YES


Address Company{{order.billing_address.company}}Marvel Inc.

-



YES


Address 1{{order.billing_address.address1}}890

-



YES


Address 2{{order.billing_address.address2}}Fifth Avenue, Manhattan

-



YES


Province{{order.billing_address.province}}New York City

-



YES


Zip{{order.billing_address.zip}}10128

-



YES


Country{{order.billing_address.country}}United States

-



YES







Customer Shipping Address



Contact Name{{order.shipping_address.name}}John Carter

-



YES


Address Company{{order.shipping_address.company}}Marvel Inc.

-



YES


Address 1{{order.shipping_address.address1}}890

-



YES


Address 2{{order.shipping_address.address2}}Fifth Avenue, Manhattan

-



YES


Province{{order.shipping_address.province}}New York City

-



YES


Zip{{order.shipping_address.zip}}10128

-



YES


Country{{order.shipping_address.country}}United States

-



YES


Order requires shipping?{{order.requires_shipping}}true/false

-



YES












Advanced Variables



Order/Abandoned cart items

(Coming Soon)

{{#each Order line_items as | item |}}

YES



YES



item.id



item.image



item.title



item.quantity



item.price



item.line_price



{{/each}}







Order Tax Details

(Coming Soon)

{{#each Order tax_lines as | tax |}}

-



YES



tax.title



tax.rate



tax.price



{{/each}}


Still need help?

Our support team is always here for you, real humans, any time.

Contact support →