We have a product that we require that no other items be placed or ordered with it. Can we do that?

Kevdog
Tourist
6 0 1

We have a shopping cart item that we would like to not have combined with any other cart items.  It needs to be ordered alone.  Can we do this?

 

Reply 1 (1)

Guleria
Shopify Partner
2942 582 831

Hello @Kevdog ,

Yes it can be done.
1) You need to define a static array or option in theme settings where the admin can define which products need this feature.  
2) Developers have to check the cart value on click of each atc button also at the same time check the admin selection and then make comparisons.

If the comparison is true, the customer cannot add the product to cart. Here you can show a custom message to customers so they can understand the reason.

 

  Thanks

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me.
- Email: guleriathakur43@gmail.com - Skype: navrocks1 ,
- Try GEMPAGES a great page builder
-Advance Search Filter