Order Drop
This drop is included on this page in with the variable name {{ drop_name }}.
Properties
- id
- Order ID for use in forms.
- tax
- Formatted amount of tax charged for this order. Example: “$13.50”
- shipping
- Formatted amount of shipping fees charged for this order. Example: “$13.50”
- remainder
- Formatted amount of remaining funds owned for this order. Example: “$13.50”
- is_preorder?
- Returns true if the order contains preorder items. False otherwise.
- status
- Returns the text order status string of the order. Possible Values:
- tracking_number
- Returns the string tracking number of the order if available.
- empty?
- Returns true if the order does not have any line items. False otherwise.
- nonpay_coupons
- Returns a list of all coupons that aren’t in the form of monetary discounts as Coupon Drops.
- ship_method
- Returns the ship method used on the completed order as a Ship Method Drop.
- line_items
- Returns a list of line items for the order as Line Item Drops.
- number_of_items
- Returns the number of line items in this order. Example: 2
- payments
- Returns a list of payments made on this order as Payment Drops.
- paypal_payment
- Returns false if there is no paypal payment associated with this order. Otherwise, returns the paypal payment as a Payment Drop
- created_on
- Returns the date the order was created in the format of “MM/DD/YYYY” Example: “03/14/2011”
- shipping_address
- Returns the shipping address associated with this order as an Address Drop
- billing_address
- Returns the billing address associated with this order as an Address Drop
- store_credit
- Returns true if store credit was applied to this order. False otherwise.