Hide specific product from cart / cart drawer

Hide specific product from cart / cart drawer

Anthony808
Visitor
3 0 0

How can I add a product to the cart but make that specific product invisible in the cart drawer, so it takes up no space while all other products are still displayed normally?

Replies 2 (2)

Guleria
Shopify Partner
3944 791 1120

Hello @Anthony808 ,

 

2 ways to do it and both need customization.

1) Edit cart template and  find the loop. Now here within the loop add a condition if the product handle is specific one hides the product.

 2) Add a conditional class in the loop wrapper element and use it to hide/show the specific product.

 

Regards
Guleria

- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder
Anthony808
Visitor
3 0 0

Thank you for your help!