あなたのショップから発信されたEメールと注文関連のドキュメントは、テンプレートを使用して自動的にレンダリングされます。 テンプレートにアクセスしてコンテンツをカスタマイズすることができます。Eメールおよび注文テンプレートの詳細については、 こちらをクリックしてください。
テンプレート内の変数を使用して、ストアからデータ(顧客名、ストア名、注文番号など)にアクセスします。 つまり、データが何であるかを知る必要はありません。各テンプレートでアクセスできる変数を知っておく必要があります。 テンプレートは、Liquidと呼ばれるプログラミング言語を使用して作成され、動的コンテンツを生成します。 Liquidコードでは、変数は二重中括弧のセット{{variable_goes_here}}で示され、論理は{%logic_goes_here%}の中括弧パーセントデリミタのセットで示されます。
この記事では、各注文テンプレート内で使用されるすべての変数への参照を提供します。
顧客アカウントステートメント
| 変数 | 説明 |
|---|---|
| fulfillment_system.account.company | フルフィルメントセンターの会社名。 |
| fulfillment_system.account.address | フルフィルメントセンターの住所。 |
| fulfillment_system.account.city | フルフィルメントセンターがある都市。 |
| fulfillment_system.account.state | フルフィルメントセンターがある都道府県 |
| fulfillment_system.account.zip | フルフィルメントセンターが置かれている住所の郵便番号。 |
| fulfillment_system.account.country_name | フルフィルメントセンターが所在する国。 |
| fulfillment_system.primary_domain | フルフィルメントセンターのプライマリストアドメインのURL。 |
| statement.date | date: "%d/%b/%Y" | ステートメントが発行された日付。DD / MMM / YYYYの形式で表示されます。 |
| statement.from_date | date: "%d/%b/%Y" | ステートメントによってカバーされる期間の開始日。DD / MMM / YYYYの形式で表示されます。 |
| statement.to_date | date: "%d/%b/%Y" | ステートメントによってカバーされる期間の終了日。DD / MMM / YYYYの形式で表示されます。 |
| statement.number | ステートメントの一意の番号。 |
| customer.full_name | 顧客のフルネーム。 |
| customer.address | 顧客の住所。 |
| customer.city | 顧客がいる都市。 |
| customer.state | 顧客がいる都道府県 |
| customer.zip | 顧客が所在する地域の郵便番号。 |
| statement.start_balance | format_currency | 通貨フォーマットで表示された顧客の口座による前回の残高。例: ¥2400 |
| statement.total_charges | format_currency | 通貨形式で表示された顧客の口座に関する新しい請求。例: ¥2400 |
| statement.total_paid | format_currency | 現在の明細期間に顧客の口座に行われた合計支払い。通貨形式で表示されます。 例: ¥2400 |
| statement.total_refunded | format_currency | 現在の明細期間に顧客の口座に行った払い戻し総額。通貨形式で表示されます例:¥2400 |
| statement.total_credited | format_currency | 現在の明細期間に顧客の口座に適用された合計クレジットは、通貨形式で表示されます 例:¥2400 |
| statement.end_balance | format_currency | 現在の明細期間中の顧客の口座による合計金額(通貨形式で表示)例: ¥2400 |
| balance | format_currency | 明細化された請求またはクレジットの後に計算された残高。通貨形式で表示されます。 例: ¥2400 |
| item.date | date: "%d/%b/%Y" | 請求またはクレジット明細が発行された日付。DD / MMM / YYYYの形式で表示されます。 |
| item.invoice.order_number | 現在の明細期間内に発行された請求書の固有番号。 |
| item.invoice_numbers | 支払いが行われた請求書の番号。 |
| item.credit.invoice.order_number | クレジットが発行された請求書の番号。 |
| item.amount | format_currency | 明細書に記載されている請求またはクレジットの金額は、通貨形式で表示されます。 例: ¥2400 |
| invoice.invoice_date | date: "%d/%b/%Y" | 明細書に記載されている請求書の日付は、DD / MMM / YYYYの形式で表示されます。 |
| invoice.invoice_id | 明細書に記載されているインボイスの一意の番号。 |
| invoice.po_number | オーダーに提供された固有の顧客注文番号(存在する場合) |
| invoice.invoice_total | 明細書に記載されている請求書の総費用。 |
| invoice.previous_outstanding | 前回の残高は請求書に記載され、明細書に箇条書きされています。 |
| invoice.paid_this_period | 現在の明細期間に請求書に対して支払われた合計金額。 |
| invoice.refunded_this_period | 現在の明細期間中に請求書に対して発行された合計払い戻し額。 |
| invoice.outstanding | 請求書の総額。 |
| statement.due | format_currency | 期限が1日以上(30日未満)の請求書に起因する総額は、通貨形式で表示されます。 例: ¥2400 |
| statement.due_30 | format_currency | 期限が30日以上60日未満の請求書による総額は、通貨形式で表示されます。 例: ¥2400 |
| statement.due_60 | format_currency | 期限が60日以上90日未満の請求書による総額は、通貨形式で表示されます。 例: ¥2400 |
| statement.due_90 | format_currency | 支払期日が90日を超える請求書に起因する合計金額。通貨形式で表示されます。 例: ¥2400 |
| fulfillment_system.fc_settings.account_statement_overdue | 請求書が1日以上(30日未満)延滞している場合、明細書に表示されるメモ。 (このメモは、アドミン> 設定> 顧客設定> 口座取引明細設定で設定できます) |
| fulfillment_system.fc_settings.account_statement_30_days_overdue | 請求書が30日以上(60日未満)延滞している場合、明細書に表示されるメモ。(このメモは、アドミン> 設定> 顧客設定> 口座取引明細設定で設定できます) |
| fulfillment_system.fc_settings.account_statement_60_days_overdue | 請求書が60日以上(および90日未満)延滞している場合、明細書に表示される注記。 (このメモは、アドミン> 設定> 顧客設定> 口座取引明細設定で設定できます) |
| fulfillment_system.fc_settings.account_statement_90_days_overdue | 請求書の期限が90日を超えている場合、明細書に表示される注記。 (このメモは、アドミン> 設定> 顧客設定> 口座取引明細設定で設定できます) |
注文
| 変数 | 説明 |
|---|---|
| order.get_approval_amount_balance | simple_price_format | 注文が生産に入るために必要な支払額。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.balance | simple_price_format | 通貨コードを除き、通貨フォーマットで表示された注文による未払い残高。 例: ¥2400 |
| from.account.company | 注文が発生したストアの会社名。 |
| from.fc_settings.company_identification_number | フルフィルメントセンターが提供した場合に表示されるフルフィルメントセンターの会社識別番号。 |
| from.fc_settings.address | フルフィルメントセンターが提供している場合に表示されるフルフィルメントセンターの住所。 |
| from.fc_settings.city | フルフィルメントセンターがある都市は、フルフィルメントセンターが提供している場合に表示されます。 |
| from.fc_settings.state | フルフィルメントセンターがある都道府県。フルフィルメントセンターが提供している場合は表示されます。 |
| from.fc_settings.zip | フルフィルメントセンターが提供している地域の郵便番号。フルフィルメントセンターが提供している場合は表示されます。 |
| from.fc_settings.country_name | フルフィルメントセンターがある国。フルフィルメントセンターが提供している場合に表示されます。 |
| site.primary_domain | 注文が発生したストアのプライマリドメインのURL。 |
| order.quote_number | オーダーが依然として見積もり状態の場合、見積もりの一意の番号。 |
| order.order_number | オーダーの固有番号。 |
| order.po_number | 注文に関連付けられた購入注文の固有番号(存在する場合)。 |
| order.date_quoted | date: "%d/%b/%Y" | 注文が依然として引用状態の場合、見積もりの発行日は、DD / MMM / YYYYの形式で表示されます。 |
| order.date_quote_valid_until | date: "%d/%b/%Y" | DD / MMM / YYYYの形式で表示されます。 |
| order.date_ordered | date: "%d/%b/%Y" | 注文の作成日.DD / MMM / YYYYの形式で表示されます。 |
| order.date_due | date: "%d/%b/%Y" | 注文の期日は、DD / MMM / YYYYの形式で表示されます。 |
| order.shipping_method_name | 注文に使用される配送方法の名前。 |
| order.shipping_days | 注文が配送される予定の最大日数。 |
| order.shipping_tracking_code | 出荷された注文の追跡コード(提供されている場合)。 |
| customer.full_name | 請求のために指定された顧客のフルネーム。 |
| customer.company | 請求のために指定された顧客の会社名(提供されている場合)。 |
| customer.address | 請求のために指定された顧客の住所。 |
| customer.city | 顧客が所在する都市で、請求のために指定されています。 |
| customer.state | 請求が指定された、顧客が所在する都道府県。 |
| customer.country_name | 顧客が所在する国で、請求のために指定された国。 |
| customer.zip | 顧客が所在する地域の郵便番号。請求のために指定されています。 |
| customer.phone_number | 顧客の電話番号。 |
| customer.email | 顧客のEメールアドレス。 |
| order.get_shipping_detail.full_name | 出荷のために指定された顧客のフルネーム。 |
| order.get_shipping_detail.company | 出荷のために指定された顧客の会社名。 |
| order.get_shipping_detail.address | 配送のために指定された住所。 |
| order.get_shipping_detail.city | 配送のために指定された住所の都市。 |
| order.get_shipping_detail.state | 配送のために指定された住所の都道府県。 |
| order.get_shipping_detail.country_name | 配送のために指定された住所の国。 |
| order.get_shipping_detail.zip | 出荷用に指定された住所の郵便番号。 |
| row_count | リストに表示されるアイテムの番号。 |
| item.supplier_product.product_code | 注文されたカタログ商品の商品コード。 |
| item.product_name | 事前に構成された商品の名前。 |
| item.extra_options | 事前に構成された製品のために定義されるオプション。 |
| item.free_form_color | 注文されたフリーフォーム商品の色 |
| item.free_form_size | 注文されたフリーフォーム商品のサイズ |
| item.sizes | 事前に設定された商品アイテムの注文のサイズ。 |
| item.currency_unit_price | simple_price_format | 注文された商品の単価。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| item.discount_percent | 注文された商品に適用される割引率。 |
| item.currency_disc_unit_price | simple_price_format | 注文商品の割引単価。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| item.unit_tax | simple_price_format | 注文商品に適用される税。通貨コードは除き、通貨形式で表示されます。 例: ¥2400 |
| item.qty | 注文された商品の数量。 |
| item.currency_full_price | simple_price_format | 注文商品の合計価格。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.main_item_price | simple_price_format | 注文商品の小計は、通貨コードを除いて通貨形式で表示されます。 例: ¥2400 |
| order.formatted_invoice_note | オーダー/請求書の作成/編集中にオペレーターが(明細の下で)入力したノート。 |
| order.formatted_customer_notes | 注文時に顧客が入力したメモ。 |
| order.account_term.description | 顧客のアカウント支払い条件の説明。 |
| order.account_term.name | 顧客のアカウント支払条件の名前。 |
| order.payment_instructions |
選択した支払い方法に対して定義されている場合、注文の支払い方法に関する指示。 |
| message_html | これはHTML形式のマーケティングメッセージです。 (このメッセージは、アドミン> 設定> Eメール&オーダーテンプレート> Eメールテンプレート>編集> マーケティングメッセージから編集可能です。) |
| item.product_name | 追加された場合の追加料金の名前。 |
| item.associated_items_string | アイテムに関連付けられている場合、追加料金が関連付けられている広告申込情報。 |
| item.qty | 加算された追加料金の数量。 |
| item.currency_unit_price | simple_price_format | 通貨コードを除き、通貨形式で表示される追加料金の単価。 例: ¥2400。 |
| item.currency_discount | simple_price_format | 追加料金に適用される割引率。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| item.tax | simple_price_format | 追加料金に適用される税。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.extra_charge_price | simple_price_format | 通貨コードを除いて、通貨形式で表示されたすべての追加料金の合計料金。 例: ¥2400 |
| order.currency_total_shipping_price | simple_price_format | 通貨コードを除き、通貨形式で表示される出荷コスト。 例: ¥2400 |
| order.rush_order_cost | simple_price_format | 特急注文のコスト。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.coupon_discount_inc_tax | simple_price_format | 税金を含む注文に適用されたクーポン割引額は、通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.final_discount_inc_tax | simple_price_format | 税金を含む注文に適用される最終的な割引額は、通貨コードを除いて通貨形式で表示されます。 例: ¥2400 |
| order.final_credit | simple_price_format | 注文に適用された合計クレジット数。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.grand_total | simple_price_format | 通貨コードを除き、通貨形式で表示された注文の総額。 例: ¥2400 |
| order.currency_total_tax | simple_price_format | 通貨コードを除いて、通貨形式で表示された割引、クーポン割引またはクレジット(純税)を適用する前に、注文総額に合計税が含まれています。 例: ¥2400 |
| order.currency_final_tax | simple_price_format | 割引、クーポン割引またはクレジット(純税)を適用した後の注文総額に含まれる総税額。 つまり、order.currency_final_tax = order.currency_total_tax - (クーポン割引税+割引税+クレジット税)。 税金は、通貨コードを除いて通貨形式で表示されます。 例: ¥2400 |
| order.get_approval_amount | simple_price_format | 注文が生産に入るために必要な支払額。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.currency_certificate_total | simple_price_format | 注文に使用された商品券の価値。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.account_credit_used | simple_price_format | 注文に適用された合計クレジット数。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.final_paid | simple_price_format | 注文に対して支払われた合計額。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.confirmed_balance | simple_price_format | 通貨コードを除き、通貨形式で表示された注文の未払い残高(確認された支払いを差し引いた後)。 例: ¥2400 |
| order.pcurrency.code | 注文に使用された通貨のコード。 例: 日本円 |
| screen.name | スクリーンプリントデザインを作成するのに必要なスクリーンの名前 |
| thumbnail | デザインにカラーがある場合、スクリーン印刷デザインを作成するために必要な画面のサムネイル画像を表示するリンク。 |
| screen.thumbnail | デザインにカラーウェイがない場合、スクリーンプリントデザインを作成するために必要な画面のサムネイルイメージを表示するためのリンク。 |
| used_in | スクリーンが使用される商品の名前。 |
| screen.size | スクリーンプリントデザインを作成するために必要なスクリーンの寸法。 |
| screen.number_of_colors | スクリーンプリントデザインで使用される色数。 |
| color.color | カラーの視覚的表現のためにカラースウォッチをレンダリングするために使用されるデザインまたは商品カラーのカラー値。 |
| colors | 顧客が定義したデザインカラーウェイで使用されるカラーの名前。 |
| color.name | システムで検出された、デザインで使用される色の色名。 |
| screen.color_names | 顧客が定義したデザインで使用される色の色名。 |
| view.name | 商品ビューの名前。 |
| view.image_url_300 | 300×300ピクセルの商品ビューイメージのURL。 |
| item.asi_image | 商品がASIイメージの場合、これはASIが提供する商品イメージを表示するリンクです。 |
| selected_option.option_name | 選択した商品のサイズの名前。 |
| selected_option.option_qty | 選択した商品サイズの数量。 |
| field.name | 商品で使用されるカスタムフィールドの名前。 (追加フィールドは、商品設定> カスタムフィールドで定義し、商品設定> Manage> 商品編集> カスタムフィールドで使用するように設定できます) |
| field.print_text | 商品で使用されるカスタムフィールドの選択されたオプション。 (追加フィールドは、商品設定> カスタムフィールドで定義し、商品設定> Manage> 商品編集> カスタムフィールドで使用するように設定できます) |
| color.swatch_image_20 | 商品の構成の色を表すために画像がアップロードされた場合、商品色の20×20ピクセルの色見本画像。 |
| color.color_name | 商品名またはデザインカラー。 |
| item.description_html | 商品の説明(HTML形式)。 |
| item.size_table | 商品のサイズチャート。 |
| comment.content | 広告申込情報に関連付けられている顧客へのメモ。 これらのメモは、注文を選択し、「顧客へのメモの追加」をクリックし、「ノートタイプ」ドロップダウンリストからラインアイテムを選択してアイテムを選択し、メモを入力して「OK」をクリックすることによってビジネスハブで作成されます。 |
| process.full_path | スクリーンプリントデコレーションが追加されたビューとデコレーションエリアの名前。 |
| process.screen.name | デコレーションエリアに添付されたデザインの名前とプロセスの参照番号。 |
| process.colorway | デザインに複数のカラーウェイがある場合、商品に使用するデザインのカラーウェイ。 |
| label | チーム名リストのNameフィールドとNumberフィールドの列見出しラベル。 |
| teamname_count | チーム名アイテムのアイテム番号。 |
| teamname.size_label | チーム名項目のサイズ。 |
| field | チーム名項目のNameフィールドとNumberフィールドの値またはカスタムフィールドの値。 |
| element.thumbnail_300 | チーム名または刺繍要素の300×300ピクセルのサムネイル。 |
| element.name | チーム名または要素刺繍の名前。 |
| element.dimensions | チーム名または刺繍要素の寸法。 |
| area.name | 商品ビューエリアの名前。 |
| process.name | 使用されたデコレーション加工の名前。 |
| prop.name | ステッチカウントやデジタイズエリアなど、刺繍デコレーション加工に関連するプロパティの名前。 |
| prop.value | 刺繍デコレーション加工に関連するプロパティの値。 |
| attachment.image_url | 注文の広告申込情報に関連付けられている添付ファイルのURLへの画像リンク。 |
| attachment.get_file_name | 注文の広告申込情報に関連付けられている添付ファイルのファイル名。 |
| attachment.name | オーダー内の広告申込情報に関連付けられている添付ファイルの、オペレーターが入力した名前。 |
| attachment.description | オーダーの広告申込情報に関連付けられた添付ファイルの説明(オペレータによって入力されたもの)。 |
| fulfillment_system.account.company | フルフィルメントセンターの会社名。 |
| fulfillment_system.fc_settings.company_identification_number | フルフィルメントセンターが提供した場合に表示されるフルフィルメントセンターの会社識別番号。 |
| fulfillment_system.fc_settings.address | フルフィルメントセンターの住所。 |
| fulfillment_system.fc_settings.city | フルフィルメントセンターがある都市。 |
| fulfillment_system.fc_settings.state | フルフィルメントセンターがある都道府県。 |
| fulfillment_system.fc_settings.zip | フルフィルメントセンターが置かれている地域の郵便番号。 |
| fulfillment_system.fc_settings.country_name | フルフィルメントセンターが所在する国。 |
| fulfillment_system.primary_domain | フルフィルメントセンターのプライマリストアドメインのURL。 |
| item.decoration_unit_price | simple_price_format* | デコレーションの単価(通貨コードを除く、通貨形式で表示)。 例: ¥2400 |
| item.decoration_price | simple_price_format* | 広告申込情報の合計装飾価格。通貨コードは除き、通貨形式で表示されます。 例: ¥2400 |
| tax.name* | 税金の名前。 |
| order.taxable_amount* | 税金の対象となる注文金額。 |
| tax.rate | simple_price_format* | 通貨コードを除き、通貨形式で表示された課税対象額の税額としての割合。 例: ¥700 |
| order.job_name* | オーダーに指定されたタイトル。 |
| order.payment_method_name* | これは、注文の支払いに使用される支払方法の名前です。 |
| item.currency_price | simple_price_format* | 税金を除く注文商品の合計価格。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.is_internal_order?* | オーダーがビジネスハブで作成された条件。 |
| order.is_internet_order?* | 注文がストアから来たという条件。 |
| order.has_production_team_members?* | オーダーにプロダクションチームメンバーが割り当てられていることの条件。 |
| order.production_team_members* | 注文に割り当てられたプロダクションチームメンバーのフルネーム。 |
| order.date_shipped | date: "%d/%b/%Y"* | 注文が出荷された日付をDD / MMM / YYYYの形式で表した日付。 例: 25/ 12/ 2016 |
| shipment.date_shipped | date: "%d/%b/%Y"* | DD / MMM / YYYYの形式で記録された出荷に設定された日付。例: 25/ 12/ 2016 |
| order.first_shipment_date | date: "%d/%b/%Y"* | DD / MMM / YYYYの形式で、複数の出荷オーダーの最初に記録された出荷に設定された日付。 例: 25/ 12/ 2016 |
| order.last_shipment_date | date: "%d/%b/%Y"* | DD / MMM / YYYYの形式で、複数の出荷オーダーの最後に記録された出荷に設定された日付。 例: 25/ 12/ 2016 |
* 現在のデフォルトテンプレートで使用されていない新しい変数。
新しい変数の使用方法の詳細については、 こちらをクリックしてください。
ワークシート
| 変数 | 説明 |
|---|---|
| order.quote_number | オーダーが依然としてクォート状態の場合、見積もりの一意の番号。 |
| order.order_number | オーダーの固有番号。 |
| order.get_approval_amount_balance | simple_price_format | 注文が生産に入るために必要な支払額。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.balance | simple_price_format | 通貨コードを除き、通貨フォーマットで表示された注文による未払い残高。 例: ¥2400 |
| order.balance | simple_price_format | 通貨コードを除き、通貨フォーマットで表示された注文による未払い残高。 例: ¥2400 |
| from.account.company | 注文が発生したストアの会社名。 |
| from.fc_settings.company_identification_number | フルフィルメントセンターが提供した場合に表示されるフルフィルメントセンターの会社識別番号。 |
| from.account.address | 注文が発生したストアの住所。 |
| from.account.city | 注文が発注されたストアの都市 |
| from.account.state | 注文が発注されたストアの都道府県 |
| from.account.zip | 注文が発注されたストアの郵便番号 |
| from.account.country_name | 注文が発注されたストアの国名 |
| site.primary_domain | 注文が発生したストアのプライマリドメインのURL。 |
| order.po_number | オーダーに提供された固有の顧客注文番号(存在する場合)。 |
| order.date_quoted | date: "%d/%b/%Y" | 注文が依然として引用状態の場合、見積もりの発行日は、DD / MMM / YYYYの形式で表示されます。 |
| order.date_quote_valid_until | date: "%d/%b/%Y" | 見積もりが有効である日付をフォーマットDD / MMM / YYYYで表示します。 |
| order.date_ordered | date: "%d/%b/%Y" | 注文の作成日.DD / MMM / YYYYの形式で表示されます。 |
| order.date_due | date: "%d/%b/%Y" | 注文の期日は、DD / MMM / YYYYの形式で表示されます。 |
| order.shipping_method_name | 注文に使用される配送方法の名前。 |
| order.shipping_tracking_code | 出荷された注文の追跡コード(提供されている場合)。 |
| customer.full_name | 請求のために指定された顧客のフルネーム。 |
| customer.company | 請求のために指定された顧客の会社名(提供されている場合)。 |
| customer.address | 請求のために指定された顧客の住所。 |
| customer.city | 顧客が所在する都市で、請求のために指定されています。 |
| customer.state | 請求が指定された、顧客が所在する都道府県。 |
| customer.country_name | 顧客が所在する国で、請求のために指定された国。 |
| customer.zip | 顧客が所在する地域の郵便番号。請求のために指定されています。 |
| order.date_ordered | date: "%b %d, %Y" | 注文の作成日。MMM DD、YYYYの形式で表示されます。 |
| customer.phone_number | 顧客の電話番号。 |
| customer.email | 顧客のEメールアドレス。 |
| order.get_shipping_detail.full_name | 出荷のために指定された顧客のフルネーム。 |
| order.get_shipping_detail.company | 出荷のために指定された顧客の会社名。 |
| order.get_shipping_detail.address | 配送のために指定された住所。 |
| order.get_shipping_detail.city | 配送のために指定された住所の都市。 |
| order.get_shipping_detail.state | 配送のために指定された住所の都道府県。 |
| order.get_shipping_detail.country_name | 配送のために指定された住所の国。 |
| order.get_shipping_detail.zip | 出荷用に指定された住所の郵便番号。 |
| item.number | 注文アイテムの一意のID番号。 |
| item.product_name | 事前に構成された商品の名前。 |
| item.extra_options | 事前に構成された商品のために定義されるオプション。 |
| item.free_form_color | 注文されたフリーフォーム商品の色 |
| item.supplier_product.product_code | 注文されたカタログ商品の製品コード。 |
| item.sizes | 事前に設定された商品アイテムの注文のサイズ。 |
| item.color_names | オーダーされたアイテムの色の名前。 |
| item.qty | 注文された商品の数量。 |
| item.currency_full_price | simple_price_format | 注文商品の合計価格。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.main_item_price | simple_price_format | 注文商品の小計は、通貨コードを除いて通貨形式で表示されます。 例: ¥2400 |
| order.formatted_invoice_note | オーダー/請求書の作成/編集中にオペレーターが(明細の下で)入力したノート。 |
| order.formatted_customer_notes | 注文時に顧客が入力したメモ。 |
| order.account_term.description | 顧客のアカウント支払い条件の説明。 |
| order.account_term.name | 顧客のアカウント支払条件の名前。 |
| order.payment_instructions | 選択した支払い方法に対して定義されている場合、注文の支払い方法に関する指示。 (このメッセージは、設定> 支払い方法> 新規支払い方法または編集> 一般で設定できます。) |
| message_html | これはHTML形式のマーケティングメッセージです。 (このメッセージは、アドミン> 設定> Eメール&オーダーテンプレート> Eメールテンプレート>編集> マーケティングメッセージから編集可能です。) |
| item.associated_items_string | アイテムに関連付けられている場合、追加料金が関連付けられている広告申込情報。 |
| item.currency_unit_price | simple_price_format | 通貨コードを除き、通貨形式で表示される追加料金の単価。 例: ¥2400 |
| item.tax | simple_price_format | 追加料金に適用される税。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.extra_charge_price | simple_price_format | 通貨コードを除いて、通貨形式で表示されたすべての追加料金の合計料金。 例: ¥2400 |
| order.currency_total_shipping_price | simple_price_format | 通貨コードを除き、通貨形式で表示される出荷コスト。 例: ¥2400 |
| order.rush_order_cost | simple_price_format | 特急注文のコスト。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.currency_total_tax | simple_price_format | 通貨コードを除いて、通貨形式で表示された割引、クーポン割引またはクレジット(純税)を適用する前に、注文総額に合計税が含まれています。 例: ¥2400 |
| order.currency_final_tax | simple_price_format | 割引、クーポン割引またはクレジット(純税)を適用した後の注文総額に含まれる総税額。 つまり、order.currency_final_tax = order.currency_total_tax - (クーポン割引税+割引税+クレジット税)。 税金は、通貨コードを除いて通貨形式で表示されます。 例: ¥2400 |
| order.coupon_discount_inc_tax | simple_price_format | 税金を含む注文に適用されたクーポン割引額は、通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.final_discount_inc_tax | simple_price_format | 税金を含む注文に適用される最終的な割引額は、通貨コードを除いて通貨形式で表示されます。 例: ¥2400 |
| order.currency_certificate_total | simple_price_format | 注文に使用された商品券の価値。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.currency_final_billable_total | simple_price_format | 通貨コードを除き、通貨形式で表示された注文の総額。 例: ¥2400 |
| order.currency_final_tax | simple_price_format | 注文総額に含まれる総税額。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.get_approval_amount | simple_price_format | 注文が生産に入るために必要な支払額。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.total_paid | simple_price_format | 注文に対して支払われた合計額。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.confirmed_balance | simple_price_format | 通貨コードを除き、通貨形式で表示された注文の未払い残高(確認された支払いを差し引いた後)。 例: ¥2400 |
| order.pcurrency.code | 注文に使用された通貨のコード。 例: 日本円 |
| note.created_at | date: "%b %d, %Y %I:%M %p" | MMM DD、YYYY MM:SS AM / PMの形式で、顧客との間で送受信されるノートの作成日時 |
| note.user_name | ノートの作成者の名前。 |
| note.message | ノートのメッセージ。 |
| note.content | これにより、日付、ユーザー名、および注文ノートのメッセージ(内部、顧客全般、および顧客明細のメモを含む)が返されます。 |
| view.name | 商品ビューの名前。 |
| view.image_url_300 | 300×300ピクセルの商品ビューイメージのURL。 |
| item.asi_image | 商品がASIイメージの場合、これはASIが提供する商品イメージを表示するリンクです。 |
| selected_option.option_name | 選択した商品のサイズの名前。 |
| selected_option.option_qty | 選択した商品サイズの数量。 |
| field.name | 商品で使用されるカスタムフィールドの名前。 (追加フィールドは、商品設定> カスタムフィールドで定義し、商品設定> Manage> 商品編集> カスタムフィールドで使用するように設定できます) |
| field.print_text | 商品で使用されるカスタムフィールドの選択されたオプション。 (追加フィールドは、商品設定> カスタムフィールドで定義し、商品設定> Manage> 商品編集> カスタムフィールドで使用するように設定できます) |
| color.color | カラーの視覚的表現のためにカラースウォッチをレンダリングするために使用されるデザインまたはプロダクトカラーのカラー値。 |
| color.swatch_image_20 | 商品の構成の色を表すために画像がアップロードされた場合、商品色の20×20ピクセルの色見本画像。 |
| color.color_name | 商品名またはデザインカラー。 |
| item.free_form_size | 注文されたフリーフォーム商品のサイズ |
| item.description_html | 商品の説明(HTML形式)。 |
| item.size_table | 商品のサイズチャート。 |
| comment.content | 広告申込情報に関連付けられている顧客へのメモ。 これらのメモは、注文を選択し、「顧客へのメモの追加」をクリックし、「ノートタイプ」ドロップダウンリストからラインアイテムを選択してアイテムを選択し、メモを入力して「OK」をクリックすることによってビジネスハブで作成されます。 |
| process.full_path | スクリーンプリントデコレーションが追加されたビューとデコレーションエリアの名前。 |
| color.overlay_color | デザインカラーウェイで使用されるカラーの表セルのカラーオーバーレイ。 |
| color.name | システムで検出された、デザインで使用される色の色名。 |
| process.number_of_colors | 顧客が色を指定した場合のスクリーンプリントデザインの色数。 |
| process.color_names | 顧客が色を指定した場合、スクリーンプリントデザインの色の名前。 |
| attachment.image_url_100 | 注文の広告申込情報に関連付けられた添付ファイルのURLへの100×100ピクセルの画像リンク。 |
| label | チーム名リストのNameフィールドとNumberフィールドの列見出しラベル。 |
| teamname_count | チーム名アイテムのアイテム番号。 |
| teamname.size_label | チーム名項目のサイズ。 |
| field | チーム名項目のNameフィールドとNumberフィールドの値またはカスタムフィールドの値。 |
| area.name | 商品ビューエリアの名前。 |
| area.bg_color.to_html | 商品ビューエリアの背景色(その領域が背景色と塗りつぶし色をサポートしている場合)が顧客によって指定されています。 |
| process.name | 使用されたデコレーション加工の名前。 |
| process.image_url_200_no_bg | 背景なしのデザインの200×200ピクセルイメージへのURLリンク。商品のデコレーションに使用されます。 |
| process.position_top | デコレーションエリアの上からデザインの距離。 |
| process.position_left | デコレーションエリアの左側からのデザインの距離。 |
| process.bounding_box_size | デザインを囲むバウンディングボックスの寸法。 |
| text.text | テキストデザインエレメントのテキスト文字列。 |
| text.font | テキストデザインエレメントに使用されるフォントの名前。 |
| text.text_color | テキストデザインエレメントの色の16進値。 |
| element.thumbnail_300 | チーム名または刺繍要素の300×300ピクセルのサムネイル。 |
| element.name | チーム名または要素刺繍の名前。 |
| element.dimensions | チーム名または刺繍要素の寸法。 |
| prop.name | ステッチカウントやデジタイズエリアなど、刺繍デコレーション加工に関連するプロパティの名前。 |
| prop.value | 刺繍デコレーション加工に関連するプロパティの値。 |
| attachment.image_url | 注文の広告申込情報に関連付けられている添付ファイルのURLへの画像リンク。 |
| attachment.get_file_name | 注文の広告申込情報に関連付けられている添付ファイルのファイル名。 |
| attachment.name | オーダー内の広告申込情報に関連付けられている添付ファイルの、オペレーターが入力した名前。 |
| attachment.description | オーダーの広告申込情報に関連付けられた添付ファイルの説明(オペレータによって入力されたもの)。 |
| fulfillment_system.account.company | フルフィルメントセンターの会社名。 |
| fulfillment_system.fc_settings.company_identification_number | フルフィルメントセンターが提供した場合に表示されるフルフィルメントセンターの会社識別番号。 |
| fulfillment_system.account.address | フルフィルメントセンターの住所。 |
| fulfillment_system.account.city | フルフィルメントセンターがある都市。 |
| fulfillment_system.account.state | フルフィルメントセンターがある都道府県。 |
| fulfillment_system.account.zip | フルフィルメントセンターが置かれている地域の郵便番号。 |
| fulfillment_system.account.country_name | フルフィルメントセンターが所在する国。 |
| fulfillment_system.primary_domain | フルフィルメントセンターのプライマリストアドメインのURL。 |
| order.job_name* | オーダーに指定されたタイトル。 |
| order.payment_method_name* | これは、注文の支払いに使用される支払方法の名前です。 |
| item.has_production_team_member?* | 広告申込情報にプロダクションチームメンバーが割り当てられている条件。 |
| item.production_team_member* | 広告申込情報に割り当てられているプロダクションチームメンバーの完全な名前。 |
* 現在のデフォルトテンプレートで使用されていない新しい変数。
新しい変数の使用方法の詳細については, こちらをクリックしてください。
出荷ラベル
| 変数 | 説明 |
|---|---|
| order.order_number | オーダーの固有番号。 |
| from_company_name | 注文が発生したストアの会社名。 |
| from_address | 注文が発生したストアの住所。 |
| from_city | 注文が発生したストアの都市。 |
| from_state | 注文が発生したストアの都道府県。 |
| from_country | 注文が発生したストアの国。 |
| from_zip | 注文が発注したストアの郵便番号。 |
| from_phone_number | 注文が発生したストアの電話番号。 |
| site.primary_domain | 注文が発生したストアのプライマリドメインのURL。 |
| from_contact_name | 注文が発生したストアの担当者の名前。 |
| from_phone_number | 注文が発生したストアの電話番号。 |
| from_email | 注文が発生したストアのEメールアドレス。 |
| fulfillment_system.primary_domain | 注文が発生したストアのEメールアドレス。 |
| fulfillment_system.primary_domain | フルフィルメントセンターのプライマリストアドメインのURL。 |
| ship_to.full_name | 貨物の受領者の氏名。 |
| ship_to.address | 出荷が出荷される住所。 |
| ship_to.city | 貨物が出荷される都市。 |
| ship_to.state | 貨物が出荷される都道府県。 |
| ship_to.country_name | 貨物が出荷される国の名前。 |
| ship_to.zip | 貨物が出荷される郵便番号。 |
| ship_to.phone_number | 貨物の受取人の電話番号。 |
| shipment.ship_date_description | 出荷貨物の配送日。 |
| shipment.freight_method_description | 出荷に使用される出荷方法の名前。 |
| shipment.tracking_number | 出荷貨物の追跡コード(提供されている場合)。 |
| shipment.total_quantity | 出荷された商品の総量。 |
| shipment.weight_description | 貨物の重量。 |
DecoLinkedアウトソーサーのワークシート
| 変数 | 説明 |
|---|---|
| order.order_number | オーダーの固有番号。 |
| order.get_approval_amount_balance | simple_price_format | 注文が生産に入るために必要な支払額。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| order.balance | simple_price_format | 通貨コードを除き、通貨フォーマットで表示された注文による未払い残高。 例: ¥2400 |
| customer.full_name | 請求のために指定された顧客のフルネーム。 |
| customer.company | 請求のために指定された顧客の会社名(提供されている場合)。 |
| order.get_shipping_detail.address | 配送のために指定された住所。 |
| order.get_shipping_detail.city | 配送のために指定された住所の都市。 |
| order.get_shipping_detail.state | 配送のために指定された住所の都道府県 |
| order.get_shipping_detail.zip | 出荷用に指定された住所の郵便番号。 |
| order.get_shipping_detail.country_name | 配送のために指定された住所の国。 |
| customer.address | 請求のために指定された顧客の住所。 |
| customer.city | 顧客が所在する都市で、請求のために指定されています。 |
| customer.state | 請求が指定された、顧客が所在する都道府県。 |
| customer.zip | 顧客が所在する地域の郵便番号。請求のために指定されています。 |
| customer.country_name | 顧客が所在する国で、請求のために指定された国。 |
| order.date_ordered | date: "%b %d, %Y" | 注文の作成日。MMM DD、YYYYの形式で表示されます。 |
| order.date_due | date: "%b %d, %Y" | 注文の期日は、MMM DD、YYYYの形式で表示されます。 |
| order.formatted_customer_notes | 注文時に顧客が入力したメモ。 |
| order.formatted_invoice_note | オーダー/請求書の作成/編集中にオペレーターが(明細の下で)入力したノート。 |
| item.number | 注文アイテムの一意のID番号。 |
| item.supplier_product.product_code | 注文されたカタログ商品の商品コード。 |
| item.product_name | 事前に構成された商品の名前。 |
| item.extra_options | 事前に構成された商品のために定義されるオプション。 |
| color.color | カラーの視覚的表現のためにカラースウォッチをレンダリングするために使用されるデザインまたはプロダクトカラーのカラー値。 |
| color.swatch_image_20 |
商品の構成の色を表すために画像がアップロードされた場合、商品色の20×20ピクセルの色見本画像。 |
| color.color_name | 商品名またはデザインカラー。 |
| selected_option.option_name | 選択した商品のサイズの名前。 |
| selected_option.option_qty | 選択した商品サイズの数量。 |
| item.qty | 注文された商品の数量。 |
| view.name | 商品ビューの名前。 |
| view.image_url_300 | 300×300ピクセルの商品ビューイメージのURL。 |
| process.image_url_200 | 商品のデコレーションに使用されるデザインの200 x 200ピクセルイメージへのURLリンク。 |
| process.bounding_box_size | デザインを囲むバウンディングボックスの寸法。 |
| area.name | 商品ビューエリアの名前。 |
| process.position_top | デコレーションエリアの上からデザインの距離。 |
| process.position_left | デコレーションエリアの左側からのデザインの距離。 |
| area.bg_color.to_html | 商品ビューエリアの背景色(その領域が背景色と塗りつぶし色をサポートしている場合)が顧客によって指定されています。 |
| text.text | テキストデザインエレメントのテキスト文字列。 |
| text.font | テキストデザインエレメントに使用されるフォントの名前。 |
| text.text_color | テキストデザインエレメントの色の16進値。 |
| label | チーム名リストのNameフィールドとNumberフィールドの列見出しラベル。 |
| teamname_count | チーム名アイテムのアイテム番号。 |
| teamname.size_label | チーム名項目のサイズ。 |
| field | チーム名項目のNameフィールドとNumberフィールドの値またはカスタムフィールドの値。 |
| field.name | 商品で使用されるカスタムフィールドの名前。(追加フィールドは、商品設定> カスタムフィールドで定義し、商品設定> Manage> 商品編集> カスタムフィールドで使用するように設定できます) |
| field.print_text | 商品で使用されるカスタムフィールドの選択されたオプション。(追加フィールドは、商品設定> カスタムフィールドで定義し、商品設定> Manage> 商品編集> カスタムフィールドで使用するように設定できます) |
| process.name | 使用されたデコレーション加工の名前。 |
| order.job_name* | オーダーに指定されたタイトル。 |
* 現在のデフォルトテンプレートで使用されていない新しい変数。
新しい変数の使用方法の詳細については、こちらをクリックしてください。
仕入れ発注
| 変数 | 説明 |
|---|---|
| purchase_order.po_number | 購買発注の一意の番号。 |
| purchase_order.created_at | date: "%d/%b/%Y" | 購買発注が登録された日付。DD / MMM / YYYYの形式で表示されます。 |
| purchase_order.reference | 購買発注の登録時に入力された参照ノートまたは番号。 |
| purchase_order.supplier_name | 購買発注が送信されているサプライヤーの名前。 |
| purchase_order.vendor_invoice_number | 購買発注の一意の仕入先請求書番号。 |
| purchase_order.vendor_tracking_number | 購買発注の一意のサプライヤー追跡番号。 |
| purchase_order.supplier_address | 購買発注が送信されているサプライヤーの住所。 |
| purchase_order.attention_to | 購買発注が意図している仕入先の組織内の受取人の名前。 |
| purchase_order.delivery_address_html | 注文書の完全な配送先住所(HTML形式)。 |
| purchase_order.billing_address_html | 購買発注の全請求先住所(HTML形式)。 |
| item.code | 注文された商品の商品コード。 |
| item.name | 注文された商品の名前。 |
| item.size | 注文されたアイテムのサイズ。 |
| item.color | 注文したアイテムの色。 |
| item.unit_price | simple_price_format | 商品のサプライヤ単価。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| item.qty | 注文された品目の数量。 |
| item.total | simple_price_format | 注文された商品の総コスト。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| purchase_order.notes | 購買発注の登録/編集中にオペレータが(明細の下で)入力したノート。 |
| purchase_order.shipping | 発注書の出荷コスト。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| purchase_order.final_tax | 購買発注合計に含まれる合計税。通貨コードを除き、通貨形式で表示されます。 例: ¥2400 |
| purchase_order.final_total | 通貨コードを除き、通貨形式で表示された購入注文の総額。 例: ¥2400 |
梱包伝票
| 変数 | 説明 |
|---|---|
| order.order_number | オーダーの固有番号。 |
| from.account.company | 注文が発生したストアの会社名。 |
| from_address | 注文が発生したストアの住所。 |
| from_city | 注文が発生したストアの都市。 |
| from_state | 注文が発生したストアの都道府県。 |
| from_zip | 注文が発注したストアの郵便番号。 |
| from_country | 注文が発生したストアの国。 |
| site.primary_domain | 注文が発生したストアのプライマリドメインのURL。 |
| purchase_order.po_number | 購買発注の一意の番号。 |
| order.date_ordered | date: "%d/%b/%Y" | 注文の作成日.DD / MMM / YYYYの形式で表示されます。 |
| order.date_due | date: "%d/%b/%Y" | 注文の期日は、DD / MMM / YYYYの形式で表示されます。 |
| order.shipping_days | 注文が配送される予定の最大日数。 |
| shipment.freight_method_description | 出荷に使用される出荷方法の名前。 |
| shipment.tracking_number | 出荷貨物の追跡コード(提供されている場合)。 |
| customer.full_name | 請求のために指定された顧客のフルネーム。 |
| customer.company | 請求のために指定された顧客の会社名(提供されている場合)。 |
| customer.address | 請求のために指定された顧客の住所。 |
| customer.city | 顧客が所在する都市で、請求のために指定されています。 |
| customer.state | 請求が指定された、顧客が所在する都道府県。 |
| customer.country_name | 顧客が所在する国で、請求のために指定された国。 |
| customer.zip | 顧客が所在する地域の郵便番号。請求のために指定されています。 |
| customer.phone_number | 顧客の電話番号。 |
| customer.email | 顧客のEメールアドレス。 |
| order.get_shipping_detail.full_name | 出荷のために指定された顧客のフルネーム。 |
| order.get_shipping_detail.company | 出荷のために指定された顧客の会社名。 |
| order.get_shipping_detail.address | 配送のために指定された住所。 |
| order.get_shipping_detail.city | 配送のために指定された住所の都市。 |
| order.get_shipping_detail.state | 配送のために指定された住所の都道府県。 |
| order.get_shipping_detail.country_name | 配送のために指定された住所の国。 |
| order.get_shipping_detail.zip | 出荷用に指定された住所の郵便番号。 |
| shipment_item.sku_code | 在庫保管単位(SKU)貨物内の品目のIDコード。 |
| shipment_item.product_code_print | 荷物の商品コード。 |
| shipment_item.product_name | 貨物内のアイテムの名前。 |
| shipment_item.product_size | 貨物内のアイテムのサイズ。 |
| shipment_item.product_color | 貨物内のアイテムの色。 |
| shipment_item.qty | 貨物内の品目の数量。 |
キャンペーンワークシート
| 変数 | 説明 |
|---|---|
| campaign.name | キャンペーンの名前。 (これはキャンペーンのタイトルとして指定した名前です)。 |
| campaign.id | キャンペーンの固有の識別番号。 |
| campaign.url | キャンペーンのストアドメインのURL。 |
| campaign.email | キャンペーンの所有者のメールアドレス。 |
| campaign.start_date | date: "%b %d, %Y" | キャンペーンの日付(MMM DD、YYYYの形式)。 |
| campaign.end_date | date: "%b %d, %Y" | キャンペーンの終了日をMMM DD、YYYYの形式で指定します。 |
| item.supplier_product.product_code | キャンペーン項目のサプライヤー商品コード。 |
| item.product_name | キャンペーン内のアイテムの名前。 |
| color.color | カラーの視覚的表現のためにカラースウォッチをレンダリングするために使用されるプロダクトカラーのカラー値です。 |
| color.swatch_image_20 | 商品の構成の色を表すために画像がアップロードされた場合、商品色の20×20ピクセルの色見本画像。 |
| color.color_name | 商品名またはデザインカラー。 |
| size_option[0] | オーダーされたキャンペーンアイテムのサイズコード。 |
| size_option[1] | 注文されたキャンペーンアイテムの特定のサイズの数量。 |
| item.campaign_color_total | オーダーされたキャンペーン項目の合計数。 |
| view.name | 商品ビューの名前。 |
| view.image_url_300 | 300×300ピクセルの商品ビューイメージのURL。 |
| process.name | 使用されたデコレーション加工の名前。 |
| process.image_url_200 | 商品のデコレーションに使用されるデザインの200 x 200ピクセルイメージへのURLリンク。 |
| process.bounding_box_size | デザインを囲むバウンディングボックスの寸法。 |
| area.name | 商品ビューエリアの名前。 |
| process.position_top | デコレーションエリアの上からデザインの距離。 |
| process.position_left | デコレーションエリアの左側からのデザインの距離。 |
| area.bg_color.to_html | エリアが背景色と塗りつぶしの色をサポートしている場合は、商品ビューエリアの背景色が指定されています。 |
| text.text | テキストデザインエレメントのテキスト文字列。 |
| text.font | テキストデザインエレメントに使用されるフォントの名前。 |
| text.text_color | テキストデザインエレメントの色の16進値。 |
アートワーク承認
| 変数 | 説明 |
|---|---|
| artwork.order.order_number | アートワークの承認が関連付けられているオーダーの一意の識別番号。 |
| artwork.artwork_status_description | アートワーク承認のステータス。保存済み、アップロード済み、承認待ち、承認済み、拒否済みまたはキャンセル済み。 |
| artwork.approval_name | アートワーク承認の名前(指定されている場合)。 |
| artwork.number | アートワークの承認の固有の識別番号。 |
| from.account.company | アートワークの承認がオーダーに関連付けられている場合、オーダーが発信するストアの会社名。 それ以外の場合は、フルフィルメントセンターの会社名が表示されます。 |
| from.fc_settings.company_identification_number | フルフィルメントセンターが提供した場合に表示されるフルフィルメントセンターの会社識別番号。 |
| from.account.address | アートワークの承認がオーダーに関連付けられている場合は、注文が発生したストアの住所です。 それ以外の場合は、フルフィルメントセンターの住所が表示されます。 |
| from.account.city | アートワークの承認がオーダーに関連付けられている場合、注文が発注されたストアは市町村にあります。 それ以外の場合は、フルフィルメントセンターの都市が表示されます。 |
| from.account.state | アートワークの承認がオーダーに関連付けられている場合、オーダーが発注したストアの都道府県です。 それ以外の場合は、フルフィルメントセンターの都道府県が表示されます。 |
| from.account.zip | アートワークの承認がオーダーに関連付けられている場合、オーダーの起点となる地域の郵便番号が配置されます。 それ以外の場合は、フルフィルメントセンターの郵便番号が表示されます。 |
| from.account.country_name | アートワークの承認が注文に関連付けられている場合、注文が発注されたストアの国名が表示されます。 それ以外の場合は、フルフィルメントセンターの国が表示されます。 |
| site.primary_domain | アートワークの承認がオーダーに関連付けられている場合、注文が発生したストアのプライマリドメインのURL。 それ以外の場合は、フルフィルメントセンターのURLが表示されます。 |
| artwork.order.date_ordered | date: "%d/%b/%Y" | アートワーク承認がオーダーに関連付けられている場合、DD / MMM / YYYYの形式で表示されたオーダーの作成日。 |
| line_item.number | アートワークの承認がオーダーに関連付けられている場合、注文アイテムの一意の識別番号。 |
| line_item.product_name | 事前に構成された商品の名前。 |
| line_item.supplier_product.product_code | 注文されたカタログ商品の商品コード。 |
| selected_option.option_name | 選択した商品のサイズの名前。 |
| selected_option.option_qty | 選択した商品サイズの数量。 |
| line_item.free_form_size | 注文されたフリーフォーム商品のサイズ |
| field.name | 商品で使用されるカスタムフィールドの名前。(追加フィールドは、商品設定> カスタムフィールドで定義し、商品設定> Manage> 商品編集> カスタムフィールドで使用するように設定できます) |
| field.print_text | 商品で使用されるカスタムフィールドの選択されたオプション。(追加フィールドは、商品設定> カスタムフィールドで定義し、商品設定> Manage> 商品編集> カスタムフィールドで使用するように設定できます) |
| line_item.free_form_color | 注文されたフリーフォーム商品の色 |
| color.color | カラーの視覚的表現のためにカラースウォッチをレンダリングするために使用されるデザインまたはプロダクトカラーのカラー値。 |
| color.swatch_image_20 | 商品の構成の色を表すために画像がアップロードされた場合、商品色の20×20ピクセルの色見本画像。 |
| color.color_name | 商品名またはデザインカラー。 |
| view.name | 商品ビューの名前。 |
| view.image_url_200 | 200×200ピクセルの商品ビューイメージのURL。 |
| line_item.asi_image | 商品がASIイメージの場合、これはASIが提供する商品イメージを表示するリンクです。 |
| area.name | 商品ビューエリアの名前。 |
| process.name | 使用されたデコレーション加工の名前。 |
| process.bounding_box_size | アートワークデザインを囲むバウンディングボックスの寸法。 |
| process.position_top | デコレーションエリアの上からデザインの距離。 |
| process.position_left | デコレーションエリアの左側からのデザインの距離。 |
| text_item.text | テキストデザインエレメントのテキスト文字列。 |
| process.screen.name | デコレーションエリアに添付されたデザインの名前とプロセスの参照番号。 |
| process.screen.number_of_colors | 特定のデコレーションエリアのスクリーンプリントデザインで使用される色の数。 |
| process.colorway | デザインに複数の色調がある場合、商品の特定のデコレーションエリアで使用するデザインの色合い。 |
| process.screen_color_names | 特定のデコレーションエリアのスクリーンプリントデザインの色の名前。 |
| process.image_url_600_no_bg | バックグラウンドのないデザインアートワークの600 x 600ピクセルイメージへのURLリンク。承認用です。 |
| area.design_background_color.to_html | エリアが背景色と塗りつぶし色をサポートしている場合は、商品ビューのデザインエリアの背景色が指定されています。 |
| item.configured_product.product_name | 事前に構成された商品の名前。 |
| label | チーム名リストのNameフィールドとNumberフィールドの列見出しラベル。 |
| teamname_count | チーム名アイテムのアイテム番号。 |
| screen.number_of_colors | スクリーンプリントデザインで使用される色数。 |
| teamname.size_label | チーム名項目のサイズ。 |
| field | チーム名項目のNameフィールドとNumberフィールドの値またはカスタムフィールドの値。 |
| screen.name | スクリーンプリントデザインを作成するのに必要なスクリーンの名前 |
| screen.thumbnail | デザインにカラーウェイがない場合、スクリーンプリントデザインを作成するために必要な画面のサムネイルイメージを表示するためのリンク。 |
| used_in | スクリーンが使用される商品の名前。 |
| screen.size | スクリーンプリントデザインを作成するために必要なスクリーンの寸法。 |
| screen.number_of_colors | スクリーンプリントデザインで使用される色数。 |
| row_count | リストに表示されるアイテムの番号。 |
| colors | 顧客が定義したデザインカラーウェイで使用されるカラーの名前。 |
| screen.color_names | 顧客が定義したデザインで使用される色の色名。 |
| job.number | 変更を必要とする設計のための特定のアートワークジョブの固有の番号。 |
| job.name | アートワークの仕事の名前。 |
| job.big_image_url | ジョブデザインの大規模なイメージへのURLリンク。 |
| job.process_name | アートワークジョブが必要とする加工の名前。 |
| job.product_dimensions | デザインアートワークの寸法。 |
| attachment.image_url* | 注文の広告申込情報に関連付けられている添付ファイルのURLへの画像リンク。 |
| attachment.get_file_name* | 注文の広告申込情報に関連付けられている添付ファイルのファイル名。 |
| attachment.name* | オーダー内の広告申込情報に関連付けられている添付ファイルの、オペレーターが入力した名前。 |
| attachment.description* | オーダーの広告申込情報に関連付けられた添付ファイルの説明(オペレータによって入力されたもの)。 |
* 現在のデフォルトテンプレートで使用されていない新しい変数。
新しい変数の使用方法の詳細については, こちらをクリックしてください。
仕入れ注文書ストックシート
| 変数 | 説明 |
|---|---|
| purchase_order.po_number | 購買発注の一意の番号。 |
| purchase_order.created_at | date: "%d/%b/%Y" | 購買発注が登録された日付。DD / MMM / YYYYの形式で表示されます。 |
| purchase_order.reference | 購買発注の登録時に入力された参照ノートまたは番号。 |
| purchase_order.supplier_name | 購買発注が送信されているサプライヤーの名前。 |
| purchase_order.vendor_invoice_number | 購買発注の一意の仕入先請求書番号。 |
| purchase_order.vendor_tracking_number | 購買発注の一意のサプライヤー追跡番号。 |
| purchase_order.supplier_address | 購買発注が送信されているサプライヤーの住所。 |
| purchase_order.attention_to | 購買発注が意図している仕入先の組織内の受取人の名前。 |
| purchase_order.cart_invoice_numbers | 購買発注が関連付けられている発注の請求書番号。 |
| item.code | 注文された商品の商品コード。 |
| item.name | 注文された商品の名前。 |
| item.size | 注文されたアイテムのサイズ。 |
| item.color | 注文したアイテムの色。 |
| item.qty | 注文された品目の数量。 |
| item.qty_received | 受け取った購買発注明細の数量。 |
| wfi_poli.workflow_item.cart.invoice_number | アイテムが注文されているオーダーの請求書番号。 |
| wfi_poli.workflow_item.cart.user.full_name | アイテムが注文されている顧客のフルネーム。 |
| wfi_poli.qty | 特定の受注を満たすために必要な品目の数量。 |
| wfi_poli.qty_received | 特定の受注に対して受け取った明細の数量。 |
| item.stock_item_purchase_order_line_item.qty | 注文された在庫品目の数量。 |
| item.stock_item_purchase_order_line_item.qty_received | 注文された在庫品目の受領数量。 |
| purchase_order.notes | 購買発注の登録/編集中にオペレータが(明細の下で)入力したノート。 |
使い方
注文テンプレートにブランク商品とデコレーション価格を別々に表示する
デフォルトのオーダーテンプレートには、各ラインアイテムの商品の空白アイテムとデコレーション価格の組み合わせのみが表示されます。
結合された価格の内訳を別の空白の商品と装飾価格に表示する場合は、item.decoration_unit_priceおよびitem.decoration_price変数を使用できます。
item.decoration_unit_priceは、広告申込情報内の1つの商品のデコレーション価格を表示します。
item.decoration_priceには、広告申込情報の合計デコレーション価格が表示されます。
広告申込情報内の1つの商品のブランク商品価格を表示するには、次のコードを使用します。
item.currency_unit_price | minus:item.decoration_unit_price
広告申込情報のブランク商品の総額を表示するには、次のコードを使用します。
item.currency_full_price | minus:item.decoration_price
(備考: 総ブランク生産価格には、税金が適用される場合は税が含まれています)。
カスタムコード例
ブランク商品単価、デコレーション単価、ブランク商品の合計金額、デコレーション合計金額を表示するためにデフォルトのオーダーテンプレートを変更する方法の例を次に示します。
デフォルトコード
修正されるコードは赤で強調表示されます:
<table class="hundred">
<thead>
<tr>
<th>Product</th>
<th>Color</th>
<th>Size / Qty</th>
<th class="text_right">Unit Price</th>
{% if order.use_extra_line_item_columns %}
{% if order.has_a_discount %}
<th class="text_right">Discount</th>
<th class="text_right">Disc Unit Price</th>
{% endif%}
{% if order.has_taxes_against_items %}
<th class="text_right">Tax</th>
{% endif %}
{% endif %}
<th class="text_right">Qty</th>
<th class="text_right">Total</th>
</tr>
</thead>
<tbody>
{% assign colspan = 5 %}
{% if order.use_extra_line_item_columns %}
{% if order.has_a_discount %}
{% assign colspan = colspan | plus:2%}
{% endif%}
{% if order.has_taxes_against_items %}
{% assign colspan = colspan | plus:1%}
{% endif %}
{% endif %}
{% assign row_count = 1%}
{% for item in order.main_items %}
<tr>
<td class="text_left" {% unless item.has_sizes_or_colors? %} colspan="3" {% endunless %}>
{{ row_count }}.
{% if (item.supplier_product) and (item.is_not_freeform?) %}
{{ item.supplier_product.product_code }} -
{% endif %}
{{ item.product_name }}
{% if item.product_based? %}
<br />
{% else %}
{% if item.has_extra_options? %} : {% endif %}
{% endif %}
{{ item.extra_options}}
</td>
{% if item.has_sizes_or_colors? %}
{% if (item.is_freeform?) %}
<td class="text_left">{{ item.free_form_color }}</td>
{% else %}
<td class="text_left">{{ item.color_names}}</td>
{% endif %}
{% if item.free_form_size %}
<td class="text_left">{{ item.free_form_size }}</td>
{% else %}
<td class="text_left">{{ item.sizes}}</td>
{% endif %}
{% endif %}
<td class="text_right">{{ item.currency_unit_price | simple_price_format }}</td>
{% if order.use_extra_line_item_columns %}
{% if order.has_a_discount %}
<td class="text_right">
{{ item.discount_percent }}%
</td>
<td class="text_right">
{{ item.currency_disc_unit_price | simple_price_format}}
</td>
{% endif %}
{% if order.has_taxes_against_items %}
<td class="text_right">{{ item.unit_tax | simple_price_format}}</td>
{% endif %}
{% endif %}
<td class="text_right">{{ item.qty }}</td>
<td class="text_right qty">{{ item.currency_full_price | simple_price_format}}</td>
</tr>
{% assign row_count = row_count | plus:1%}
{% endfor %}
</tbody>
<tfoot>
<tr class="total">
<td colspan="{{colspan}}" class="text_right">Subtotal</td>
<td colspan="2" class="text_right">{{ order.main_item_price | simple_price_format }}</td>
</tr>
</tfoot>
</table>
カスタムコード
赤で強調表示された変更されたコード:
<table class="hundred">
<thead>
<tr>
<th>Product</th>
<th>Color</th>
<th>Size / Qty</th>
<th class="text_right">Blank Product Unit Price</th>
<th class="text_right">Decoration Unit Price</th>
{% if order.use_extra_line_item_columns %}
{% if order.has_a_discount %}
<th class="text_right">Discount</th>
<th class="text_right">Disc Unit Price</th>
{% endif%}
{% if order.has_taxes_against_items %}
<th class="text_right">Unit Tax</th>
{% endif %}
{% endif %}
<th class="text_right">Qty</th>
<th class="text_right">Blank Product Total</th>
<th class="text_right">Decoration Total</th>
<th class="text_right">Total</th>
</tr>
</thead>
<tbody>
{% assign colspan = 8 %}
{% if order.use_extra_line_item_columns %}
{% if order.has_a_discount %}
{% assign colspan = colspan | plus:2%}
{% endif%}
{% if order.has_taxes_against_items %}
{% assign colspan = colspan | plus:1%}
{% endif %}
{% endif %}
{% assign row_count = 1%}
{% for item in order.main_items %}
<tr>
<td class="text_left" {% unless item.has_sizes_or_colors? %} colspan="3" {% endunless %}>
{{ row_count }}.
{% if (item.supplier_product) and (item.is_not_freeform?) %}
{{ item.supplier_product.product_code }} -
{% endif %}
{{ item.product_name }}
{% if item.product_based? %}
<br />
{% else %}
{% if item.has_extra_options? %} : {% endif %}
{% endif %}
{{ item.extra_options}}
</td>
{% if item.has_sizes_or_colors? %}
{% if (item.is_freeform?) %}
<td class="text_left">{{ item.free_form_color }}</td>
{% else %}
<td class="text_left">{{ item.color_names}}</td>
{% endif %}
{% if item.free_form_size %}
<td class="text_left">{{ item.free_form_size }}</td>
{% else %}
<td class="text_left">{{ item.sizes}}</td>
{% endif %}
{% endif %}
<td class="text_right">{{ item.currency_unit_price | minus:item.decoration_unit_price | simple_price_format }}</td>
<td class="text_right">{{ item.decoration_unit_price | simple_price_format }}</td>
{% if order.use_extra_line_item_columns %}
{% if order.has_a_discount %}
<td class="text_right">
{{ item.discount_percent }}%
</td>
<td class="text_right">
{{ item.currency_disc_unit_price | simple_price_format}}
</td>
{% endif %}
{% if order.has_taxes_against_items %}
<td class="text_right">{{ item.unit_tax | simple_price_format}}</td>
{% endif %}
{% endif %}
<td class="text_right">{{ item.qty }}</td>
<td class="text_right qty">{{ item.currency_full_price | minus:item.decoration_price | simple_price_format}}</td>
<td class="text_right qty">{{ item.decoration_price | simple_price_format}}</td>
<td class="text_right qty">{{ item.currency_full_price | simple_price_format}}</td>
</tr>
{% assign row_count = row_count | plus:1%}
{% endfor %}
</tbody>
<tfoot>
<tr class="total">
<td colspan="{{colspan}}" class="text_right">Subtotal</td>
<td colspan="2" class="text_right">{{ order.main_item_price | simple_price_format }}</td>
</tr>
</tfoot>
</table>
結果
注文テンプレート内の税金を除いた合計税を表示する
デフォルトのオーダーテンプレートには、各明細の合計に税が含まれています。
税金を含まない行合計を表示する場合は、item.currency_price変数を使用できます。
カスタムコード例
税金なしの行合計を表示するためにデフォルトのオーダーテンプレートを変更する方法の例を次に示します。
デフォルトコード
赤で強調表示される修正コード:
<table class="hundred">
<thead>
<tr>
<th>Product</th>
<th>Color</th>
<th>Size / Qty</th>
<th class="text_right">Unit Price</th>
{% if order.use_extra_line_item_columns %}
{% if order.has_a_discount %}
<th class="text_right">Discount</th>
<th class="text_right">Disc Unit Price</th>
{% endif%}
{% if order.has_taxes_against_items %}
<th class="text_right">Tax</th>
{% endif %}
{% endif %}
<th class="text_right">Qty</th>
<th class="text_right">Total</th>
</tr>
</thead>
<tbody>
{% assign colspan = 5 %}
{% if order.use_extra_line_item_columns %}
{% if order.has_a_discount %}
{% assign colspan = colspan | plus:2%}
{% endif%}
{% if order.has_taxes_against_items %}
{% assign colspan = colspan | plus:1%}
{% endif %}
{% endif %}
{% assign row_count = 1%}
{% for item in order.main_items %}
<tr>
<td class="text_left" {% unless item.has_sizes_or_colors? %} colspan="3" {% endunless %}>
{{ row_count }}.
{% if (item.supplier_product) and (item.is_not_freeform?) %}
{{ item.supplier_product.product_code }} -
{% endif %}
{{ item.product_name }}
{% if item.product_based? %}
<br />
{% else %}
{% if item.has_extra_options? %} : {% endif %}
{% endif %}
{{ item.extra_options}}
</td>
{% if item.has_sizes_or_colors? %}
{% if (item.is_freeform?) %}
<td class="text_left">{{ item.free_form_color }}</td>
{% else %}
<td class="text_left">{{ item.color_names}}</td>
{% endif %}
{% if item.free_form_size %}
<td class="text_left">{{ item.free_form_size }}</td>
{% else %}
<td class="text_left">{{ item.sizes}}</td>
{% endif %}
{% endif %}
<td class="text_right">{{ item.currency_unit_price | simple_price_format }}</td>
{% if order.use_extra_line_item_columns %}
{% if order.has_a_discount %}
<td class="text_right">
{{ item.discount_percent }}%
</td>
<td class="text_right">{{ item.currency_disc_unit_price | simple_price_format}}</td>
{% endif %}
{% if order.has_taxes_against_items %}
<td class="text_right">{{ item.unit_tax | simple_price_format}}</td>
{% endif %}
{% endif %}
<td class="text_right">{{ item.qty }}</td>
<td class="text_right qty">{{ item.currency_full_price | simple_price_format}}</td>
</tr>
{% assign row_count = row_count | plus:1%}
{% endfor %}
</tbody>
<tfoot>
<tr class="total">
<td colspan="{{colspan}}" class="text_right">Subtotal</td>
<td colspan="2" class="text_right">{{ order.main_item_price | simple_price_format }}</td>
</tr>
</tfoot>
</table>
カスタムコード
赤で強調表示された変更されたコード:
<table class="hundred">
<thead>
<tr>
<th>Product</th>
<th>Color</th>
<th>Size / Qty</th>
<th class="text_right">Unit Price</th>
{% if order.use_extra_line_item_columns %}
{% if order.has_a_discount %}
<th class="text_right">Discount</th>
<th class="text_right">Disc Unit Price</th>
{% endif%}
{% if order.has_taxes_against_items %}
<th class="text_right">Tax</th>
{% endif %}
{% endif %}
<th class="text_right">Qty</th>
<th class="text_right">Total</th>
</tr>
</thead>
<tbody>
{% assign colspan = 4 %}
{% if order.use_extra_line_item_columns %}
{% if order.has_a_discount %}
{% assign colspan = colspan | plus:2%}
{% endif%}
{% if order.has_taxes_against_items %}
{% assign colspan = colspan | plus:1%}
{% endif %}
{% endif %}
{% assign row_count = 1%}
{% for item in order.main_items %}
<tr>
<td class="text_left" {% unless item.has_sizes_or_colors? %} colspan="3" {% endunless %}>
{{ row_count }}.
{% if (item.supplier_product) and (item.is_not_freeform?) %}
{{ item.supplier_product.product_code }} -
{% endif %}
{{ item.product_name }}
{% if item.product_based? %}
<br />
{% else %}
{% if item.has_extra_options? %} : {% endif %}
{% endif %}
{{ item.extra_options}}
</td>
{% if item.has_sizes_or_colors? %}
{% if (item.is_freeform?) %}
<td class="text_left">{{ item.free_form_color }}</td>
{% else %}
<td class="text_left">{{ item.color_names}}</td>
{% endif %}
{% if item.free_form_size %}
<td class="text_left">{{ item.free_form_size }}</td>
{% else %}
<td class="text_left">{{ item.sizes}}</td>
{% endif %}
{% endif %}
<td class="text_right">{{ item.currency_unit_price | simple_price_format }}</td>
{% if order.use_extra_line_item_columns %}
{% if order.has_a_discount %}
<td class="text_right">
{{ item.discount_percent }}%
</td>
<td class="text_right">{{ item.currency_disc_unit_price | simple_price_format}}</td>
{% endif %}
{% if order.has_taxes_against_items %}
<td class="text_right">{{ item.unit_tax | simple_price_format}}</td>
{% endif %}
{% endif %}
<td class="text_right">{{ item.qty }}</td>
<td class="text_right qty">{{ c | simple_price_format}}</td>
</tr>
{% assign row_count = row_count | plus:1%}
{% endfor %}
</tbody>
<tfoot>
<tr class="total">
<td colspan="{{colspan}}" class="text_right">Subtotal</td>
<td colspan="2" class="text_right">{{ order.currency_price | simple_price_format }}</td>
</tr>
</tfoot>
</table>
結果
注文テンプレートの税ごとに別々の行を表示する
デフォルトの注文テンプレートには、注文に含まれる税金の合計金額のみが表示されます。
含まれる税ごとに、組み合わせた税額の合計を別々の行に表示する場合は、tax.name、order.taxable_amountおよびtax.rate変数を使用できます。
カスタムコード例
デフォルトのオーダーテンプレートを変更して、税ごとに別々の行を表示する方法の例を次に示します。
デフォルトコード
赤で強調表示される修正コード:
{% if order.has_taxes_against_items %}
<tr>
<td class="heading">Tax Included</td>
<td class="qty">{{ order.currency_final_tax | simple_price_format }}</td>
</tr>
{% endif %}
カスタムコード
赤で強調表示された変更されたコード:
{% if order.has_taxes_against_items %}
{% for tax in order.taxes %}
<tr>
<td class="heading">Tax: {{ tax.name }}</td>
<td class="qty">{{ order.taxable_amount | divided_by: 100.0 | times: tax.rate | simple_price_format }}</td>
</tr>
{% endfor %}
{% endif %}
結果
注文およびワークシートテンプレートに注文タイトルを含める
Order.job_name変数を使用して、DecoLinkedアウトソーシングテンプレートのオーダーテンプレート、ワークシートテンプレートおよびワークシートに注文のタイトルを含めることができます。
オーダー/オーダーを作成または編集するときに、オーダー/見積フォームの上部にある「タイトル」フィールドを使用して、オーダー/見積タイトルを指定します。
カスタムコード例
注文タイトルを含むようにデフォルト注文テンプレートを変更する方法の例を次に示します。
デフォルトコード
{% if is_quote %}
<li><h2><label>Quote #</label><span>{{order.quote_number}}</span></h2></li>
{% elsif order.is_invoiced? %}
<li><h2><label>INVOICE #</label><span>{{order.order_number}}</span></h2></li>
{% else %}
<li><h2><label>Order #</label><span>{{order.order_number}}</span></h2></li>
{% endif %}
カスタムコード
上記のデフォルトコードの後に次のようにコードを赤で追加します。
{% if is_quote %}
<li><h2><label>Quote #</label><span>{{order.quote_number}}</span></h2></li>
{% elsif order.is_invoiced? %}
<li><h2><label>INVOICE #</label><span>{{order.order_number}}</span></h2></li>
{% else %}
<li><h2><label>Order #</label><span>{{order.order_number}}</span></h2></li>
{% endif %}
<li><label>Order Title</label><span>{{order.job_name}}</span></li>
結果
アートワーク承認テンプレートに品目の添付ファイルを含める
attachment.image_url、attachment.get_file_name、attachment.nameおよびattachment.description変数を使用して、アートワーク承認テンプレートのアートワーク承認ラインアイテムの横に追加された添付ファイルを含めることができます。
カスタムコード例
{artwork.products_requiring_approval%}ループ内の{%for line_item}内の目的の位置にリスト項目として次のコードを追加します。
<li>
{% assign first_attachment = true %}
{% for attachment in line_item.attachments_viewable_customer %}
{% if first_attachment %}
<label>File Attachments:</label>
{% assign first_attachment = false %}
{% endif %}
{% if attachment.image_url %}
<div class="image" >
<img src="{{ attachment.image_url_100 }}" alt="[]" class ="attachment_image" />
</div>
{% else %}
<div>
<p>{{ attachment.get_file_name }}</p>
</div>
{% endif %}
<ul>
<li><label><em>Name </em></label><span>{{ attachment.name }}</span></li>
<li><label><em>Description </em></label><span>{{ attachment.description }}</span></li>
</ul>
{% endfor %}
</li>
結果
注文およびワークシートテンプレートに支払方法を含める
order.payment_method_name変数を使用して、オーダーテンプレートおよびワークシートテンプレートで行われた支払いの支払い方法を組み込むことができます。
カスタムコード例
支払の支払い方法を含むようにデフォルトの注文テンプレートを変更する方法の例を次に示します。
デフォルトコード
{% else %}
<li><label>Date</label><span>{{ order.date_ordered | date: "%d/%b/%Y"}}</span></li>
{% if order.date_due %}
<li><label>Date Ship By</label><span>{{ order.date_due | date: "%d/%b/%Y"}}</span></li>
{% endif %}
{% endif %}
カスタムコード
上記のデフォルトコードに赤でコードを次のように追加します:
{% else %}
<li><label>Date</label><span>{{ order.date_ordered | date: "%d/%b/%Y"}}</span></li>
<li><label>Payment Method</label><span>{{ order.payment_method_name}}</span></li>
{% if order.date_due %}
<li><label>Date Ship By</label><span>{{ order.date_due | date: "%d/%b/%Y"}}</span></li>
{% endif %}
{% endif %}
結果
オーダーテンプレートにオーダーのソースを含める
order.is_internal_orderを使用できますか? order.is_internet_order? オーダーテンプレート(インターネットまたはビジネスハブ)のソースを含めるための条件変数。
カスタムコード例
次は、注文ソースを含むようにデフォルト注文テンプレートを変更する方法の例です:
デフォルトコード
{% if is_quote %}
<li><h2><label>Quote #</label><span>{{order.quote_number}}</span></h2></li>
{% elsif order.is_invoiced? %}
<li><h2><label>INVOICE #</label><span>{{order.order_number}}</span></h2></li>
{% else %}
<li><h2><label>Order #</label><span>{{order.order_number}}</span></h2></li>
{% endif %}
{% if order.has_po_number? %}
<li><label>PO Number</label><span>{{ order.po_number }}</span></li>
{% endif %}
カスタムコード
上記のデフォルトコードに赤でコードを次のように追加します。
{% if is_quote %}
<li><h2><label>Quote #</label><span>{{order.quote_number}}</span></h2></li>
{% elsif order.is_invoiced? %}
<li><h2><label>INVOICE #</label><span>{{order.order_number}}</span></h2></li>
{% else %}
<li><h2><label>Order #</label><span>{{order.order_number}}</span></h2></li>
{% endif %}
{% if order.is_internal_order?? %}
<li><label>Order Source</label><span> Business Hub</span></li>
{% elsif order.is_internet_order? %}
<li><label>Order Source</label><span> Internet Order</span></li>
{% endif %}
{% if order.has_po_number? %}
<li><label>PO Number</label><span>{{ order.po_number }}</span></li>
{% endif %}
結果
注文テンプレートにプロダクションチームのメンバー名を含める
以下の変数を使用して、プロダクションチームのメンバー名をオーダーテンプレートに含めることができます。
- order.has_production_team_members?
- order.production_team_members
カスタムコード例
次は、注文に割り当てられたすべての本番チームメンバーの名前を含むように、デフォルトのワークシートテンプレートを変更する方法の例です。
デフォルトコード
<div class="details">
<h1>
{% if from.account.company %}{{ from.account.company }}{% endif %}
{% if from.fc_settings.company_identification_number %}<br />{{ from.fc_settings.company_identification_number }}{% endif %}
{% if from.fc_settings.has_address? %}
<span>
{{ from.fc_settings.address }} {{ from.fc_settings.city }}, {{ from.fc_settings.state }} {{ from.fc_settings.zip }}<br />
{{ from.fc_settings.country_name }}
</span>
{% endif %}
<a href="http://{{ site.primary_domain }}">http://{{ site.primary_domain }}</a>
</h1>
</div>
カスタムコード
上記のデフォルトコードに赤でコードを次のように追加します。
<div class="details">
<h1>
{% if from.account.company %}{{ from.account.company }}{% endif %}
{% if from.fc_settings.company_identification_number %}<br />{{ from.fc_settings.company_identification_number }}{% endif %}
{% if from.fc_settings.has_address? %}
<span>
{{ from.fc_settings.address }} {{ from.fc_settings.city }}, {{ from.fc_settings.state }} {{ from.fc_settings.zip }}<br />
{{ from.fc_settings.country_name }}
</span>
{% endif %}
<a href="http://{{ site.primary_domain }}">http://{{ site.primary_domain }}</a><br />
{% if order.has_production_team_members? %}
<label>Assigned To:</label><span>{{ order.production_team_members }}</span>
{% else %}
<span>No Production Team Members assigned to this Order</span>
{% endif %}
</h1>
</div>
結果
ワークシートテンプレートにプロダクションチームのメンバー名を含める
以下の変数を使用して、ワークシートテンプレート内の広告申込情報に割り当てられた本番チームメンバーの名前を含めることができます。
- item.has_production_team_member?
- item.production_team_member
カスタムコード例
次の例では、デフォルトのワークシートテンプレートを変更して、各ラインアイテムのプロダクションチームメンバー名をオーダーに含めることができます。
デフォルトコード
{% for item in order.main_items %}
<div class="lineitem">
<h2 class="heading_lineitem">
<span style="padding:0 10px;">ITEM: {{ item.number }}</span>
{% if (item.supplier_product) and (item.is_not_freeform?) %}({{ item.supplier_product.product_code }}) {% endif %}{{ item.product_name }} {% unless item.product_based? %}{% if item.has_extra_options? %}: {% endif %}{{ item.extra_options}}{%endunless%}
</h2>
カスタムコード
上記のデフォルトコードに赤でコードを次のように追加します。
{% for item in order.main_items %}
<div class="lineitem">
<h2 class="heading_lineitem">
<span style="padding:0 10px;">ITEM: {{ item.number }}</span>
{% if (item.supplier_product) and (item.is_not_freeform?) %}({{ item.supplier_product.product_code }}) {% endif %}{{ item.product_name }} {% unless item.product_based? %}{% if item.has_extra_options? %}: {% endif %}{{ item.extra_options}}{%endunless%}
{% if item.has_production_team_member? %}
<span style="padding:0 10px; float:right;"><label>Assigned To: </label>{{ item.production_team_member }}</span>
{% else %}
<span style="padding:0 10px; float:right;">Unassigned</span>
{% endif %}
</h2>
結果
注文テンプレートに出荷日付を含める
注文テンプレートに出荷日を含めるために、以下の変数を使用することができます。
- order.date_shipped: この変数を使用して、1回の出荷オーダーで出荷が記録された日のログ日を表示します。
- shipment.date_shipped: この変数を使用して、記録された出荷の構成日を複数の出荷オーダーで表示します。
- order.first_shipment_date: この変数を使用して、最初に記録された出荷の構成日を複数の出荷順序で表示します。
- order.last_shipment_date: この変数を使用して、最後に記録された出荷の構成日を複数の出荷オーダで表示します。
カスタムコード例
デフォルトのオーダーテンプレートを変更して、1つの出荷オーダーが出荷された日付を表示する方法の例を次に示します。
デフォルトコード
{% if order.shipping_days %}
<li><label>Maximum Delivery Days</label><span>{{ order.shipping_days }}</span></li>
{% endif %}
{% if order.shipping_tracking_code %}
<li><label>Tracking Code</label><span>{{ order.shipping_tracking_code }}</span></li>
{% endif %}
カスタムコード
上記のデフォルトコードに赤でコードを次のように追加します。
{% if order.shipping_days %}
<li><label>Maximum Delivery Days</label><span>{{ order.shipping_days }}</span></li>
{% endif %}
{% if order.date_shipped %}
<li><label>Date Shipped</label><span>{{ order.date_shipped | date: "%d/%b/%Y"}}</span></li>
{% endif %}
{% if order.shipping_tracking_code %}
<li><label>Tracking Code</label><span>{{ order.shipping_tracking_code }}</span></li>
{% endif %}
結果
複数の出荷オーダーの出荷日を示すために、デフォルトのオーダーテンプレートを変更する方法の例を次に示します。
デフォルトコード
{% if order.shipping_days %}
<li><label>Maximum Delivery Days</label><span>{{ order.shipping_days }}</span></li>
{% endif %}
{% if order.shipping_tracking_code %}
<li><label>Tracking Code</label><span>{{ order.shipping_tracking_code }}</span></li>
{% endif %}
カスタムコード
上記のデフォルトコードに赤でコードを次のように追加します。
{% if order.shipping_days %}
<li><label>Maximum Delivery Days</label><span>{{ order.shipping_days }}</span></li>
{% endif %}
{% if order.first_shipment_date %}
<li><label>Date Shipped</label><span>{{ shipment.ship_date | date: "%d/%b/%Y"}}</span></li>
{% endif %}
{% if order.shipping_tracking_code %}
<li><label>Tracking Code</label><span>{{ order.shipping_tracking_code }}</span></li>
{% endif %}
Still have questions? In your DecoNetwork Admin, use the Universal Search box in the top bar to find more related help guides. Need more help? Click the icon next to the search box to open the help menu and submit a support ticket. Our Client Services team is ready to assist!
コメント
0件のコメント
サインインしてコメントを残してください。