How To Use Extra Context on Shopify
Once integrating Flashy to Shopify you can receive more information about different events, such as an order that began but was not completed, or when a purchase has been made.
You can use such information when creating automations as well as when communicating with customers.
The parameters available to you are divided between the following events:
On Placing an Order
When an order has been placed but the customer did not go on to make the payment – you may send them, by automation, a reminder to complete their purchase. In such communications you may use the following parameters:
{{context.checkout_url | default:'https://domain.com/cart'}} – This is the URL address that must be inserted into any button or text that, when clicked, forwards to a payment page with all the products the customer had abandoned.
Please note, you must change "domain.com" in the above mentioned URL to your website's address.
Following a Purchase
These are the parameters you can use to send, for instance, a thank you message or an order confirmation:
{{context.total}} – Total amount paid
{{context.order_id}} – Order number
{{context.shipping.address}} – Shipping address
{{context.shipping.city}} – Shipping city
{{context.shipping.zip}} –Shipping postal zip code
{{context.shipping.country}} –Shipping country
{{context.shipping_method.title}} – Shipping method
{{context.shipping_method.price}} – Cost of shipping method
After Updating an Order on the Shopify Platform (Fulfilled, for instance)
{{context.tracking_id}}