How to remove 'add to basket' button when the product is already in the shopping cart?
And, also, how to show it again, when you remove it from the shop. cart?
I've been using style.display='none' and style.visibility='hidden' but it doesn't work every time, so I think that I didn't put the code in the right place... so I wonder where could I put for example:
my own function that changes visibility
showHide(product id);
?
thx