Open5
ShopifyのOrder Printerで使えるLiquid変数まとめ
一般変数
項目 | 変数名 |
---|---|
Shop name | {{ shop_name }} |
Order number | {{ order_number }} |
Order name (with # before number) |
{{ order_name }} or {{ name }}
|
Date |
{{ date }} or {{ created_at }}
|
Processed date | {{ processed_at }} |
Billing address | {{ billing_address | format_address }} |
Shipping address | {{ shipping_address | format_address }} |
Shipping methods (collection of shipping lines) |
{{ shipping_methods }} or {{ shipping_lines }}
|
Shipping method |
{{ shipping_method.title }} or {{ shipping_line.title }}
|
Customer | {{ customer }} |
{{ email }} |
|
Financial status | {{ financial_status }} |
Fulfillment status | {{ fulfillment_status }} |
Fulfillment service | {{ fulfillment_service }} |
Discounts amount (collection of discount amounts) | {{ discounts_amount }} |
Discounts savings (collection of discount savings) | {{ discounts_savings }} |
Payment gateways | {{ gateways }} |
Payment gateway | {{ gateway }} |
Order Currency (currency code of order) |
{{ order_currency }} or {{ currency }}
|
Subtotal price | {{ subtotal_price | money }} |
Shipping price | {{ shipping_price | money }} |
Current shipping price (includes shipping line discounts) | {{ current_shipping_price | money }} |
Tags | {{ tags }} |
Total discounts | {{ total_discounts | money }} |
Total tax |
{{ total_tax | money }} or {{ tax_price | money }}
|
Total price | {{ total_price | money }} |
Total paid | {{ total_paid | money }} |
Transactions | {{ transactions }} |
Order attributes | {{ attributes }} |
Order note | {{ note }} |
ショップ情報
Variable Description | Variable Name |
---|---|
Shop name | {{ shop.name }} |
Shop email | {{ shop.email }} |
Shop domain | {{ shop.domain }} |
Shop owner | {{ shop.owner }} |
Shop street address | {{ shop.address }} |
Shop street address line 2 | {{ shop.address2 }} |
Shop city | {{ shop.city }} |
Shop province | {{ shop.province }} |
Shop province code | {{ shop.province_code }} |
Shop postal code / ZIP code | {{ shop.zip }} |
Shop country name | {{ shop.country }} |
Shop country code | {{ shop.country_code }} |
Shop phone number | {{ shop.phone }} |
配送先住所
Variable Description | Variable Name |
---|---|
First name | {{ shipping_address.first_name }} |
Last name | {{ shipping_address.last_name }} |
Name | {{ shipping_address.name }} |
Company | {{ shipping_address.company }} |
Address 1 | {{ shipping_address.address1 }} |
Address 2 | {{ shipping_address.address2 }} |
Street | {{ shipping_address.street }} |
City | {{ shipping_address.city }} |
Province | {{ shipping_address.province }} |
Province code | {{ shipping_address.province_code }} |
Postal code / ZIP code | {{ shipping_address.zip }} |
Country | {{ shipping_address.country }} |
Country code | {{ shipping_address.country_code }} |
Phone number | {{ shipping_address.phone }} |
注文者情報
Variable Description | Variable Name |
---|---|
Name | {{ customer.name }} |
{{ customer.email }} |
|
Orders count | {{ customer.orders_count }} |
Default Address | {{ customer.default_address }} |
割引の詳細
Variable Description | Variable Name |
---|---|
Order discounts | {% for discount in discounts %}...{% endfor %} |
Code |
{{ discount.code }} or {{ discount.title }}
|
Amount | {{ discount.amount }} |
Savings | {{ discount.savings }} |