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

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.

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

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

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

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

こちらのサイト(https://takatofree.com/shopify-group-no-buy/ )が近いかなと思ったのですが、理解が難しく。。。

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

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

https://apps.shopify.com/mincart-by-molsoft

https://apps.shopify.com/purchase-limit

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

https://apps.shopify.com/search?q=order+limit

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

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

本件、すでに解決済みでしたら失礼いたします。
まだお困りの場合、弊社のShopifyアプリ「RuffRuff 注文制限」を活用することで実現可能ですので、ご参考までにご案内いたします。

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

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

設定方法はこちら

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

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

設定方法はこちら

以上になります。

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


関連リンク