Hey guys,
I have straight forward question about shopify cart.
We have a product page where the user can select a main product and also add additional products and customizations.
When the user places the selected products in the cart, they also appear in the cart.
The simple question is - is there an easy way how we can remove all the products from the cart with a remove-link?
So that the user does not have to delete 3 products from the cart each time.
You can take a look here the pw is mydartpfeil
Hello @myDartpfeil_PG
Yes, remove all the linked products with a single remove link or clearing the complete cart with a single button can be done. But it needs to be hard code depending on the theme default code.
So please seek a developer’s help to help you at a reasonable rate. Let me know if you are looking for.
Thanks
Hey and hello @Sweet_Savior_3 ,
thanks for your replay. Yes we know that it’s possible to clear to whole cart.
But is it possbile to handle the remove link with the product tags?
So for example: if three products with the same product tag e.g. “bundle” are in the cart and User removes the main product, then remove the other products, which have the same product tag.
Yes, it is possible. Similar to bundle functionality. Removing the main product removes the linked product too. But as I said this needs to be hard coded according to theme’s default code.
Thanks
Yes, it is a possible by adding a custom script that listens for cart item remove event. I tried to have a look at your store - but I couldn’t find a customizable product.