コレクションページの作成方法
①商品管理 > コレクション > 複製したいコレクションを選択
②画面右上の「複製」ボタンをクリック

コレクションページのプレビュー方法
コレクションページを公開せずにプレビューする方法は現状存在しない。
極力少ない露出で公開する方法は下記。
①コレクション編集画面の「説明」フィールドに以下を記述する
<meta name=”robots” content=”noindex”>
②コレクション編集画面の「販売チャネル」で「オンラインストア」のみ
チェックが入っている状態にする(外部チャネルのチェックは外す)

コレクションページを1カラムにする方法
コレクションページはデフォルトで2カラム表示になる。
1カラムにする手順は下記。
①オンラインストア > 本番テーマ > コードを編集 > sections > collection-template.liquid
※コレクションページは本番・テストの概念がないため、本番テーマを直接編集する。
変更時は影響範囲に十分注意すること。
(未公開テーマで確認したい場合は、未公開テーマのファイルを編集する。)

②以下の3箇所にコレクションのURLハンドルを追加する。
行番号はファイル編集により変動するため、前後コードで検索して特定すること。
15行目付近
{% if collection.handle == 'shiroi-fusen' or collection.handle == 'onishi-foods' or collection.handle == 'happy-turn-box' or collection.handle == 'new' or collection.handle == 'new-cynotest' or collection.handle == 'onisi-bousai' or collection.handle == 'onisi-bousai_cnsrtest' %}
↓
{% if collection.handle == 'shiroi-fusen' or collection.handle == 'onishi-foods' or collection.handle == 'happy-turn-box' or collection.handle == 'new' or collection.handle == 'new-cynotest' or collection.handle == 'onisi-bousai' or collection.handle == 'onisi-bousai_cnsrtest' or collection.handle == 'new-addCollection' %}
61行目付近
{%- if collection.handle != 'shiroi-fusen' and collection.handle != 'onishi-foods' and collection.handle != 'happy-turn-box' and collection.handle != 'new' and collection.handle != 'new-cynotest' and collection.handle != 'onisi-bousai' and collection.handle != 'onisi-bousai_cnsrtest' -%}
↓
{%- if collection.handle != 'shiroi-fusen' and collection.handle != 'onishi-foods' and collection.handle != 'happy-turn-box' and collection.handle != 'new' and collection.handle != 'new-cynotest' and collection.handle != 'onisi-bousai' and collection.handle != 'onisi-bousai_cnsrtest' and collection.handle != 'new-addCollection' -%}
168行目付近
{% if collection.handle != 'shiroi-fusen' and collection.handle != 'onishi-foods' and collection.handle != 'happy-turn-box' and collection.handle != 'new' and collection.handle != 'new-cynotest' and collection.handle != 'onisi-bousai' and collection.handle != 'onisi-bousai_cnsrtest' %}
↓
{% if collection.handle != 'shiroi-fusen' and collection.handle != 'onishi-foods' and collection.handle != 'happy-turn-box' and collection.handle != 'new' and collection.handle != 'new-cynotest' and collection.handle != 'onisi-bousai' and collection.handle != 'onisi-bousai_cnsrtest' and collection.handle != 'new-addCollection' %}
後々対応
上記について、現状は3箇所、調整する必要があるが、
コレクションのハンドルを変数として定義してしまえば、
1箇所の調整のみで済むかも。
{% assign single_col_handles = ‘shiroi-fusen,onishi-foods,happy-turn-box,new,new-cynotest,onisi-bousai,onisi-bousai_cnsrtest’ | split: ‘,’ %}
{# 使う側 #}
{% if single_col_handles contains collection.handle %}
…(1カラム処理)
{% else %}
…(2カラム処理)
{% endif %}
