line_item.title | 商品的標題(產品和子類) |
line_item.name | 商品的名稱 |
line_item.product_title | 產品的標題 |
line_item.variant_title | 子類的標題,例如「Blue / Large」 |
line_item.quantity | 訂購數量,包含已退款的商品 |
line_item.fulfillable_quantity | 尚待出貨的數量 |
line_item.refunded_quantity | 已退款的數量 |
line_item.sku | SKU |
line_item.vendor | 廠商 |
line_item.price | 套用商品項目折扣後的單價(分) |
line_item.original_price | 折扣前的單價(分) |
line_item.line_price | 商品項目總計:單價 × 數量,套用商品項目折扣後(分) |
line_item.total_discount | 商品項目的折扣(分) |
line_item.discount_per_item | 每件商品的折扣(分) |
line_item.total_tax | 商品項目的稅金(分) |
line_item.cost | 商品的成本,用於採購單(分) |
line_item.tax_lines | 商品項目的稅金:循環處理以取得 title、rate、price |
line_item.discount_allocations | 套用於商品項目的折扣:循環處理以取得 amount |
line_item.properties | 商品項目屬性。請參閱訂單屬性和商品項目屬性。 |
line_item.hs_tariff_code | HS 關稅代碼 |
line_item.country_of_origin | 原產國 |
line_item.weight | 單件商品的重量,以其本身的單位表示 |
line_item.grams | 單件商品的重量,以公克表示;{{ line_item.grams | weight_with_unit }} 會加上單位 |
line_item.total_weight | 商品項目的重量(商品 × 數量) |
line_item.image | 商品的圖片;{{ line_item.image | img_url: 'thumb' | img_tag }} 會列印圖片 |
line_item.requires_shipping | 商品是否需要運送 |
line_item.gift_card | 商品是否為禮品卡 |
line_item.product | 產品(title、type、vendor、tags、handle…) |
line_item.variant | 子類(title、sku、barcode、option1、inventory_quantity…) |