Liquid、JavaScriptなどに関する質問
ベルトやシャツなどに分けたコレクションを作っており、さらにサイズと素材別に分けたいということでしょうか?
その場合はタグなども利用して、それぞれの条件を満たす複数のコレクションを作成することで対応できると思います。
参考:
https://help.shopify.com/ja/manual/products/collections/automated-collections/auto-select
https://help.shopify.com/ja/manual/shopify-admin/productivity-tools/using-tags
コレクションではなく、商品詳細ページの中の何かをベルトやシャツごとに変更したいということであれば、メタフィールドやテンプレートの利用が検討できると思います。
参考:
https://help.shopify.com/ja/manual/custom-data/metafields/displaying-metafields-on-your-online-store
https://help.shopify.com/ja/manual/online-store/themes/theme-structure/templates
以上ですが、質問の対象に対する認識が間違っているようでしたら申し訳ありません。
対象がShopify製テーマであるなら以下のサポートの利用もお勧めします。
https://help.shopify.com/ja/manual/online-store/themes/theme-support