# コレクションの組み合わせで購入可／不可にしたい

**URL:** <https://community.shopify.com/t/topic/51343>\
**Category:** 技術的なQ＆A\
**Created:** [June 29, 2021, 12:01pm UTC](https://community.shopify.com/t/topic/51343 "2021-06-29T12:01:58Z")\
**Posts on this page:** 3\
**Page:** 1

## AI-generated summary

A Shopify beginner wants to control checkout availability based on product collections in the cart: Collection A alone should be purchasable, Collection A + Collection B should be purchasable, but Collection B alone should be blocked, ideally by disabling the purchase button and showing an alert.

The first response suggests using existing Shopify apps rather than custom code, especially if implementation is difficult. Suggested app searches and examples include order-limit or cart-limit apps such as MinCart and Purchase Limit, though the responder notes they have not personally tested them.

A later response proposes the Shopify app “RuffRuff Order Limits” as a concrete solution. It says the requirement can be handled through bundle/co-purchase rules, either by making Collection B purchasable only together with products from Collection A, or by requiring Collection B to be purchased with any other product.

No final confirmation from the original poster is provided, so the issue remains open, but app-based solutions and setup documentation were offered.

<div class="post-metadata">

**Author:** ![Fk1028](https://avatars.discourse-cdn.com/v4/letter/f/b4bc9f/32.png) [@Fk1028](https://community.shopify.com/u/Fk1028)\
**Post date:** [June 29, 2021, 12:01pm UTC](https://community.shopify.com/t/topic/51343/1 "2021-06-29T12:01:58Z")

</div>

shopify初心者です。以下の条件を適用したいと思うのですが、どのような対処法があるか、どなたかご教示いただけないでしょうか。

「コレクションA」のみカートにある→購入可能

「コレクションA」＋「コレクションB」がカートにある→購入可能

「コレクションB」のみカート にある→購入不可、購入ボタンが押せないようにし、アラート文言を出せるようにしたい

こちらのサイト（[https://takatofree.com/shopify-group-no-buy/](https://takatofree.com/shopify-group-no-buy/%EF%BC%89%E3%81%8C%E8%BF%91%E3%81%84%E3%81%8B) ）が近いかなと思ったのですが、理解が難しく。。。

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

---

<div class="post-metadata">

**Author:** ![Jizo\_Inagaki](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/jizo_inagaki/32/149480_2.png) [@Jizo\_Inagaki](https://community.shopify.com/u/Jizo_Inagaki)\
**Post date:** [July 10, 2021, 10:56pm UTC](https://community.shopify.com/t/topic/51343/2 "2021-07-10T22:56:42Z")

</div>

コードの自作が難しい場合は以下のようなアプリの利用をお勧めします。  
利用経験はありませんが、説明文にcollectionの記述はあったのでご要望に合致している可能性が高いように見えます。

[https://apps.shopify.com/mincart-by-molsoft](https://apps.shopify.com/mincart-by-molsoft)

[https://apps.shopify.com/purchase-limit](https://apps.shopify.com/purchase-limit)

なお、一例ですが以下のようなワードで探しましたので、必要に応じて他のアプリも探していただればと思います。

[https://apps.shopify.com/search?q=order+limit](https://apps.shopify.com/search?q=order+limit)

以上ですが、挙げたアプリがご要望と違う場合は申し訳ありません。

---

<div class="post-metadata">

**Author:** ![kyoshi\_Tsun](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/kyoshi_tsun/32/1503_2.png) [@kyoshi\_Tsun](https://community.shopify.com/u/kyoshi_Tsun)\
**Post date:** [August 10, 2026, 7:20am UTC](https://community.shopify.com/t/topic/51343/3 "2026-08-10T07:20:12Z")

</div>

はじめまして、  
株式会社Tsunの吉谷と申します。

本件、すでに解決済みでしたら失礼いたします。  
まだお困りの場合、弊社のShopifyアプリ「[RuffRuff 注文制限](https://ruffruff.app/pages/ruffruff-order-limits)」を活用することで実現可能ですので、ご参考までにご案内いたします。

**「コレクションBはコレクションAと一緒の場合のみ購入可能」にしたい場合**

コレクションBの単品購入を制限し、コレクションAの商品との同時購入を必須にする設定です。RuffRuff Order Limitsの同梱ルールで「特定商品との同時購入を必須にする」設定を使うことで実現できます。

**設定方法はこちら**

> **[（活用例）指定した商品と一緒でないと購入不可](https://help.order-limits.ruffruff.app/ja/articles/bundle-require-specific-item-893b766a)**
>
> 対象商品を、指定した商品と一緒でなければ購入できないように制限する設定例です。

**「コレクションBはコレクションAに限らず、他の何らかの商品と一緒であれば購入可能」にしたい場合**

コレクションAを指定せず、「他の商品（任意）」との同時購入を条件にする設定です。

**設定方法はこちら**

> **[（活用例）単体では購入不可](https://help.order-limits.ruffruff.app/ja/articles/bundle-require-other-product-4725f6e7)**
>
> 他の商品と一緒でないと購入できないように制限する設定例です。

以上になります。

ご参考になりましたら幸いです。

* * *

**関連リンク**

- [RuffRuff 注文制限｜Shopifyアプリストア](https://apps.shopify.com/ruffruff-order-limits)
- [RuffRuff 注文制限 デモ商品一覧](https://tsun.ec/collections/ruffruff-order-limits)
