I have site with products and cart. Product has “Add to cart” button. After on click event this button should convert to “Remove from cart”. And this button should be able to remove from cart as you can understand.
I should to transform existing button, or hide “Add to cart” button and show custom button “Remove from cart”? In this case, all the same, I can’t make button, which can remove product from cart.
What are you thinking about it? How to do this?