...
INFORMATION | EXAMPLE OUTPUT | DATA TAG |
---|---|---|
Carrier Service | FedEx |
|
Tracking Number | 99812911999333 |
|
Tracking Link | "Track Package" button |
|
...
Order Information Data Tags
INFORMATION
EXAMPLE OUTPUT
EVENT VARIABLE
Item Title
Code Block |
---|
Red Sweater |
Code Block |
---|
{{ line_item.title }} |
Item Quantity
Code Block |
---|
1 |
INFORMATION | EXAMPLE OUTPUT | DATA TAG | |
---|---|---|---|
Order Number code | 1012 code |
| |
Order Name code | #1012 code |
| |
Order Created at Date code | July 2, 2019 5:16 PM code |
| |
Order Note code | This is a note from the Shopify order notes section. code |
| |
Discount Codes code | THANKYOU10 code |
| |
Total Discount code | 0.00 code |
| |
Subtotal Price code | 102.00 code |
| |
Tax Price | Code Block | 7.14 code |
|
Shipping Price code | 2.13 code |
| |
Total Price code | 109.14 code |
| |
Financial Status code | PAID code |
| |
Total Paid code | 109.14 code |
| |
Cancelled on Date code | July 1, 2019 11:03 PM code |
| |
Cancellation Reason code | Refund code |
| |
Total Refunded code | 56.76 | Code Block |
|
LINE ITEMS
Each line item represents a product purchased by the customer who is receiving the email. You can choose to show either all the products a customer ordered or all the products for an individual shipment.
LINE ITEMS IN ORDER
We recommend using a dynamic table block in Klaviyo to show all products a customer ordered. To do this, configure the data source elements as:
Code Block |
---|
Row collection: event.extra.order.meta.shopify_order.line_items
Row alias: line_item |
Next, you'll use these variables within your dynamic table block:
|
Item Variant Title:
Code Block |
---|
Long Sleeve |
Code Block |
---|
{{ line_item.variant.title }} |
Item Image
Code Block |
---|
Shows image of product |
Code Block |
---|
{{ line_item.image.src }} |
Item Link
Code Block |
---|
URL for PDP |
Code Block |
---|
{{ line_item.product.url }} |
Item Final Line Price
Code Block |
---|
$102.00 |
Code Block |
---|
{{ line_item.final_line_price }} |
LINE ITEMS IN FULFILLMENT
We recommend using a static table block in Klaviyo to show all products in a customer's shipment. To do this, add the following code before the static product block:
Code Block |
---|
{% with fulfillment=event.extra.order.meta.shopify_order.fulfillments|lookup:event.tracking_code %} {% for i in fulfillment.fulfillment_line_items %} |
And add the following code after the static product block:
Code Block |
---|
{% endfor %}{% endwith %} |
Next, you'll use these variables within your static table block:
INFORMATION | EXAMPLE OUTPUT | EVENT VARIABLE | ||||
---|---|---|---|---|---|---|
Item Title |
|
| ||||
Item Quantity |
|
| ||||
Item Variant Title: |
|
| ||||
Item Image |
|
| ||||
Item Link |
|
| ||||
Item Final Line Price |
|
|
...
Event Data Tag
...
Description
...
Example
...
Order Status URL
...
The URL of your shop’s order tracking page. It can be a Shopify page or Malomo-hosted page.
...
“https://ppeev.myshopify.com/pages/order-tracking?_m_id=001d961a-2c3b-4cee-b22c-2a3d3b64b5e8"
...
Order Number
...
The order number assigned by Shopify
...
“1000”
...
{{ event.extra.order.meta.shopify_order.name }}
...
Tracking EDD
...
The shipment’s original estimated delivery date provided by the carrier, if available
...
“2019-01-30 13:30:00”
...
Tracking Latest Status Detail
...
Standardized tracking message with relevant shipment information
...
“arrived_at_destination”
...
Tracking Latest Status
...
Current tracking status of the shipment
...
“delivered”
...
Customer Email
...
Customer email address
...
“john@example.com”
...
Tracking Number
...
Tracking number
...
“9400000000000000000000”
...
Customer Name
...
Customer first and last name
...
“John Smith”
...
Shipping Address
...
Customer shipping address
...
“INDIANAPOLIS, US, 46203, IN”
...
Tracking Latest Update
...
The timestamp of the latest shipment update provided by the carrier
...
2019-01-30 13:30:00
...
Tracking URL
...
The carrier’s tracking page URL
...
“https://tools.usps.com/go/TrackConfirmAction?qtc_tLabels1=9400000000000000000000”
...
Carrier Name
...
Carrier name
...
USPS
...
Carrier Service
...
Carrier service level
...
First-Class Package Service
...
Need help or experiencing issues with the integration? Please reach out to either the Malomo Team or Sendlane Support.