# OrderPrinter　日時指定が反映されなくなったことについて

**URL:** <https://community.shopify.com/t/orderprinter/350984>\
**Category:** Shopify アプリ\
**Created:** [August 22, 2024, 9:02am UTC](https://community.shopify.com/t/orderprinter/350984 "2024-08-22T09:02:48Z")\
**Posts on this page:** 3\
**Page:** 1

## AI-generated summary

OrderPrinterアプリで配送日時指定が表示されない問題が報告されました。

**問題の詳細:**
- 従来の「Order Printer (legacy)」から新バージョン「Print with Order Printer」へ移行
- カスタマイズ時に配送日時指定(配送日時指定.amp)の記述が反映されなくなった
- 以下のコードを試したが表示されず:
  - `{{ attributes["配送希望日"] }}`
  - `{{ attributes["配送時間帯"] }}`
  - `{{ attributes["置き配の利用"] }}`

**解決方法:**
VXUT-shopさんから、`order.attributes`を使用するコード例が提供されました:
```
{% for attribute in order.attributes %}
<strong>{{ attribute | first }}:</strong>{{ attribute | last }}<br/>
{% endfor %}
```

**結果:**
質問者は解決したことを報告し、スレッドは解決済みとなりました。

<div class="post-metadata">

**Author:** ![rioshinca](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/rioshinca/32/205140_2.png) [@rioshinca](https://community.shopify.com/u/rioshinca)\
**Post date:** [August 22, 2024, 9:02am UTC](https://community.shopify.com/t/orderprinter/350984/1 "2024-08-22T09:02:48Z")

</div>

いつもお世話になっています！

自分で調べまくったのですが結局分からず・・・  
こちらで質問投稿させてくださいませ。

今まで納品書作成は「[Order Printer (legacy)](https://admin.shopify.com/store/iwasajapan/apps/order-printer)」というアプリを使用していましたが

Shopify公式より新しいバージョンが出たということで「Print with Order Printer」をインストールしました。

カスタマイズ時に、今まで反映されていた「日時指定（ 配送日時指定 .amp）」記述が反映されなくなりました。

コードは以下です。

{% for attribute in attributes %}  
**{{ attribute | first }}:** {{ attribute | last }}  
  
{% endfor %}

ちなみに調べて以下のコードも試してみましたが何も反映されませんでした。

```auto
{{ attributes["配送希望日"] }}

```

```auto
{{ attributes["配送時間帯"] }}

```

```auto
{{ attributes["置き配の利用"] }}

```

開発元がShopifyだったため、こちらのフォーラムに投稿させていただきます。

どなたかご存知の方がいらっしゃったらご教授いただきたいです。

よろしくお願いいたします。

---

<div class="post-metadata">

**Author:** ![VXUT-shop](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@VXUT-shop](https://community.shopify.com/u/VXUT-shop)\
**Post date:** [August 25, 2024, 2:56pm UTC](https://community.shopify.com/t/orderprinter/350984/2 "2024-08-25T14:56:39Z")

</div>

{% for attribute in order.attributes %}

**{{ attribute | first }}:** {{ attribute | last }}  
  
{% endfor %}

order.attributes だと思います。

---

<div class="post-metadata">

**Author:** ![rioshinca](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/rioshinca/32/205140_2.png) [@rioshinca](https://community.shopify.com/u/rioshinca)\
**Post date:** [August 26, 2024, 1:24am UTC](https://community.shopify.com/t/orderprinter/350984/3 "2024-08-26T01:24:49Z")

</div>

VXUT-shopさま

ありがとうございます！

解決いたしました。
