# デフォルトのテーマです。コレクションリストの表示順番を任意のものにしたい

**URL:** <https://community.shopify.com/t/topic/118616>\
**Category:** Shopify テーマ\
**Created:** [May 4, 2022, 6:25am UTC](https://community.shopify.com/t/topic/118616 "2022-05-04T06:25:18Z")\
**Posts on this page:** 2\
**Page:** 1

## AI-generated summary

テーマの「コレクションの表示順」をアルファベットなどの自動並び替えではなく任意の順にしたいという相談。

最新更新: 公式ヘルプ（Vintageテーマのコレクションページ変更）を参考に、コレクション“セクション”に適用して解決。

対応内容:
- slide-category.liquidのループを「for collection in collections」から「for link in linklists.all-collections.links」へ変更
- 「assign collection = link.object」でリンク先のコレクションを取得

効果: ナビゲーション（リンクリスト）「all-collections」で並び順を管理でき、任意の順に表示可能。

補足: コード変更が中心（コード片が重要）。モバイル/PC別の追加デザイン調整の必要性は言及のみで、具体的対応はなし。

結果: 方法が確立され問題は解決。議論は収束。

<div class="post-metadata">

**Author:** ![mk777](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@mk777](https://community.shopify.com/u/mk777)\
**Post date:** [May 4, 2022, 6:25am UTC](https://community.shopify.com/t/topic/118616/1 "2022-05-04T06:25:18Z")

</div>

コレクションの一覧のリストですが、アルファベット順などで順番を入れ替えることができることは、確認しました。

でも、今回、任意の順番で表示したいです。

直接コードで書くと、モバイルとパソコンで、それぞれデザインを考慮しないと行けない予感がします。

ショップのオープンまで時間がないため、最善の方法をご教示頂けましたら幸いです。

よろしくお願いします。

---

<div class="post-metadata">

**Author:** ![mk777](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@mk777](https://community.shopify.com/u/mk777)\
**Post date:** [May 4, 2022, 7:07am UTC](https://community.shopify.com/t/topic/118616/2 "2022-05-04T07:07:16Z")

</div>

こちらでやり方を見つけました。

[https://help.shopify.com/ja/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-vintage-themes/change-collections-page](https://help.shopify.com/ja/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-vintage-themes/change-collections-page)

ただ、私のケースは、コレクションリストではなく、コレクションのセクションの表示なので、

slide-category.liquidを修正しました。

場所  
2,17:

```markup

                

                    

                        {%- for collection in collections -%}
                        

                            

                                

```

下記のように、入れ替えました。

```markup

                

                    

                        {% for link in linklists.all-collections.links %}
                        {% assign collection = link.object %}
                        

                            

                                

```
