Liqiud basics
Modules
API
Mailer
Order items
On this page
Overview
Below is a list with all the attributes we can use with an order_item object:
| Name | Description |
| order.variant_id | ID of the variant |
| order.amount | Returns the amont based on the customer seeing taxes or not. |
| order.quantity | The order quantity |
| order.url | The URL for the order |
| order.name | The name of the order |
| order.product | ProductDrop |
| order.variant | VariantDrop |
| order.sku | The SKU |
| order.unit_price | The unit price |
| order.unit_pre_tax_amount | The total unit price before tax (excluding tax) |
| order.unit_after_tax_amount | The total unit price after tax (including tax) |
| order.original_unit_price | Shortcut for item.variant.prices.current.amount |
| order.amount | Returns unit_price * quantity |
| order.pre_tax_amount | The total price amount before tax (excluding) |
| order.after_tax_amount | The total price amount before tax (including) |
| order.total | Alias for amount |
| order.original_amount | The original amount |
| order.original_total | The original price total |
| order.quantity_field_name | Input field name for updating the quantity |
| order.campaign? | Boolean. Does the order have a campaign? |
| order.remove_url | url for form to remove order item from cart |
| order.dynamic_fields | DynamicFieldsDrop |
Updated: 2020-11-17