跳到內容
安裝應用程式
繁體中文

在包裝單上顯示選項

透過 Order Printer 或 Shopify 本身的包裝單範本,將選項詳細資料加入包裝單。

有兩種做法,請依您列印包裝單的方式選擇適合的一種。

使用 Shopify Order Printer

我們的 Product Options 應用程式可與 Shopify 的 Order Printer 應用程式搭配使用,讓您直接在包裝單上加入自訂選項詳細資料。

  1. 在 Shopify 管理介面中點選 應用程式

  2. 從應用程式清單中選取 Order Printer

    Shopify 管理介面的應用程式清單中醒目標示的 Order Printer

    從應用程式清單中開啟 Order Printer。

  3. 點選 Manage Templates(管理範本)> Packing slip(包裝單)

    Order Printer 範本畫面中醒目標示的管理範本與包裝單範本

    管理範本,然後開啟包裝單範本。

  4. 下載包裝單範本

    點選此按鈕下載

  5. 複製程式碼,並 貼到 Template Details(範本詳細資料)區段

    <div class="gpo-properties">
    {% assign property_size = line_item.properties | size %}
    {% if property_size > 0 %}
    {% for p in line_item.properties %}
    <div class="gpo-property">
    {% assign first_character_in_key = p.first | truncate: 1, '' %}
    {% unless p.last == blank or first_character_in_key == '_' %}
    <span>{{ p.first }}: </span>
    {%- if p.last contains '/uploads/' -%}
    <a href="{{ p.last }}">{{ p.last | split: '/' | last }}</a>
    {%- else -%}
    <span>{{ p.last }}</span>
    {%- endif -%}
    {% endunless %}
    </div>
    {% endfor %}
    {% endif %}
    </div>
    Order Printer 包裝單編輯器,程式碼已貼到 Template Details 欄位中

    將程式碼貼到 Template Details 區段中。

  6. 儲存變更

透過 Shopify 設定

這個方法可讓您直接從商店設定中更新 Shopify 內建的包裝單範本。

  1. 在 Shopify 管理介面中點選 設定

  2. 前往 運送和配送

  3. 向下捲動到 包裝單範本 區段

    點選包裝單範本旁的 編輯。

    Shopify 的運送和配送設定中醒目標示的包裝單範本列

    運送和配送,然後是包裝單範本。

  4. 下載包裝單範本

    點選此按鈕下載

  5. 複製程式碼,並貼到 編輯包裝單範本 欄位

    <div class="gpo-properties">
    {% assign property_size = line_item.properties | size %}
    {% if property_size > 0 %}
    {% for p in line_item.properties %}
    <div class="gpo-property">
    {% assign first_character_in_key = p.first | truncate: 1, '' %}
    {% unless p.last == blank or first_character_in_key == '_' %}
    <span>{{ p.first }}: </span>
    {%- if p.last contains '/uploads/' -%}
    <a href="{{ p.last }}">{{ p.last | split: '/' | last }}</a>
    {%- else -%}
    {{ p.last }}
    {%- endif -%}
    {% endunless %}
    </div>
    {% endfor %}
    {% endif %}
    </div>
    Shopify 設定中的編輯包裝單範本欄位,已貼上程式碼

    將程式碼貼到編輯包裝單範本欄位中。

  6. 儲存

這個頁面有幫助嗎?

回報問題