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.