All things Shopify and commerce
Hello,
In Quebec (Canada), in order to sell wine to their customers, restaurants have to sell food with the wine. But it can be any type of food really (a cookie would do the trick). In the restaurant itself, the rule is easy to follow, but how can we manage that on a Shopify website? Is there a Shopify app that can restrict alcohol sales unless bought with products from another category? For example, if a customer added a bottle a wine to his cart, the website would suggest items from the food collection AND restrict the sale without food items.
Thank you for your help !
Hello,
With custom code you can achieve this.
Logic is you have to read the cart items in collection and single product page. If cart item is a food item then enable 'Add to cart' on wine product else show custom message like 'You have to purchase a food product before wine' or something related.
And same logic have to implement on cart page so in case if user remove food product and try to checkout directly with wine product then show them custom message.
Thanks
Hi @fdionne, learn the ropes of making your Shopify store exclusive by following the steps in this insightful tutorial:
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025