Closed bangank36 closed 1 year ago
Variable description | Variable name | Extraction |
---|---|---|
Shop name | {{ shop_name }} | {{ shop.name }} |
Order number | {{ order_number }} | {{ order.number }} |
Order name (with # before number) |
{{ order_name }} or {{ name }} | {{ order.name }} |
Date | {{ date }} or {{ created_at }} | {{ order.created_at }} |
Billing address | {{ billing_address }} | {{ order.billing_address }} |
Shipping address | {{ shipping_address }} | {{ order.shipping_address }} |
Shipping methods (collection of shipping lines) |
{{ shipping_methods }} or {{ shipping_lines }} | {{ order.shipping_methods }} |
Shipping method | {{ shipping_method.title }} or {{ shipping_line.title }} | N/A |
Customer | {{ customer }} | {{ order.customer }} |
{{ email }} | {{ order.email }} | |
Financial status | {{ financial_status }} | {{ order.financial_status }} |
Fulfillment status | {{ fulfillment_status }} | {{ order.fulfillment_status }} |
Discounts amount (collection of discount amounts) |
{{ discounts_amount }} | {{ checkout.discounts_amount }} |
Discounts savings (collection of discount savings) |
{{ discounts_savings }} | {{ checkout.discounts_savings }} |
Payment gateways | {{ gateways }} | N/A |
Payment gateway | {{ gateway }} | N/A |
Subtotal price | {{ subtotal_price | money }} | {{ order.subtotal_price }} |
Shipping price | {{ shipping_price | money }} | {{ order.shipping_price }} |
Total discounts | {{ total_discounts | money }} | {{ order.total_discounts }} |
Total tax | {{ total_tax | money }} or {{ tax_price | money }} | {{ order.tax_price }} |
Total price | {{ total_price | money }} | {{ order.total_price }} |
Total paid | {{ total_paid | money }} | N/A |
Transactions | {{ transactions }} | {{ checkout.transactions }} |
Order attributes | {{ attributes }} | {{ order.attributes }} |
Order note | {{ note }} | {{ checkout.note }} |
Currency | {{ currency }} | {{ checkout.currency }} |
Line Items | {{ line_items }} | {{ order.line_items }} |
Closed as PR merged, should add more global variables into the table over time. Consider create a README.ms file in the same folder
Summary
Beside objects like
order
checkout
shop
, the page can access to those liquid variables, this issue is used to address which of them ar available and should be assign prior liquid parsing to ensure compatibilityReference