Difference between revisions of "Liquid Template Variables - order"

From Spiffy Stores Knowledge Base

(New page: The Order variables are exported and made available to Order Confirmation emails and notifications, and to the ''Additional Content & Scripts'' section that is available under '''Preferenc...)
(No difference)

Revision as of 14:19, 14 May 2008

The Order variables are exported and made available to Order Confirmation emails and notifications, and to the Additional Content & Scripts section that is available under Preferences -> Checkout & Payment"'.

order_name

Name order. Typically this is a pound symbol followed by the order_number. e.g. Order #1004

order_number

Shop unique number of the order. e.g. 1004

customer

Customer object containing the email and name of the client.

customer.email

Email of the customer

customer.name

Name of the customer

shop_name

Name of your shop

subtotal_price

Subtotal of the order

total_price

Total of the order ( subtotal + tax + shipping )

tax_price

Taxes of all the items in the order combined

gateway

Payment method (Payment gateway used)

shipping_method

ShippingMethod object

shipping_price

Shipping price

shipping_address

Shipping Address object

billing_address

Billing Address object

line_items

Array of Line_Item objects.

note

The note which was attached to the order

attributes

Any attributes which where attached to the order

Example: Template:Attributes.gift-note