A way to not allow a product to be purchased without also purchasing another specific product?

One of my clients owns a yarn store, and one of her suppliers sells both yarn and pattern booklets. She has just been made aware of a rule which states that pattern booklets are not allowed to be sold without also purchasing some of the brands yarn.

Is there a way for this to be actioned within Shopify, before the customer places an order and then has to be refunded? Open to apps etc. So for example someone goes to purchase just a pattern booklet, they wouldn’t be allowed to go ahead with the sale until they had also added in some yarn from the brand.

I will be updating every listing with this information, but customers definitely don’t always pay attention to that, and we’d quite like to cut down on the admin required from her small shop team.

Hello @getbacktoyou ,

With custom code we can do this.
Idea is:
Create a metaield for product from where admin can select a specific product.
This option will help us to create a rule.
e.g.
For product brands yarn we select product pattern booklets

Now in the frontend first we check if there is any rule available for this product or not.
If available then on click of that atc we check the cart values. Is the required prudent available in cart or not.
If available then atc will perform its default action else we can show a custom message.

Thanks