App reviews, troubleshooting, and recommendations
Hi,
I have a little problem and i didn't know how i can fix it or wich app maybe can handle this problem.
When a certain product is in the cart, I want to lock all other products from the shop, so that you can purchase this certain product only.
For example
Product A & B are normal products
Product C is this certain product
I want that all costumers can buy A&B and more but when there get product C in the basket there can only purchase product C without A or B, so its not possible to have C & A or C & B in the basket.
Hi, @FruitsAS!
Julie, here from Shopify Support.
Setting limits and rules based on specific products being added to the cart sounds like something that may be best handled with an app. We have a few different apps in our Shopify App Store that may be a good fit for you. I recommend checking out:
These apps will allow you to set rules based on conditional logic, preventing customers from adding certain products to the cart if they purchase specific products or exceed a specific dollar amount. I suggest installing them and taking a look to see which one works best for you. The app developers also offer full support so if you have any questions about them, you can always reach out directly. Their contact information can usually be found on their app page, under the “Support” section.
What kind of products are you selling? I’d love to learn more about your business and why you’re looking to limit customers to only purchasing a specific product when it’s been added to their cart.
Julie | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hi, @FruitsAS!
Ever found the perfect solution?
We are trying to achieve the same. When ordering a product (pre-order), no other products are allowed to be added to the basket.
Curious to know what solution you found.
Is there a non app way to do this yet? I want to sell something now that wont be available to ship until next year. I do not want customers to be able to add anything else to the cart if this product is in it.
Thanks
Hello @FruitsAS @GaryVoff @marcd @Julie
1] Add & replace the code based on file comments.
2] Replace the product-form.js code with the new code ( Change the product id based on your product )
https://github.com/Bhavin-Domadiya/If-a-certain-product-is-in-the-cart-no-other-products-can-Add./tr...
Hi there! Wondering if you ever found a non-coding, non-app solution to this?! I have a similar issue with one product and not wanting someone to be able to add more items to their cart with it!
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023