I have products with one quantity for each product. So, I want to disable the Add to Cart button if that same product is in the cart and change the text of the button to Already in Cart, Go to Cart and to Change URL to Cart. How can I achieve this?? I am using Magento 1.9.3.8
Any help/suggestion is appreciated. Thank you!
Best Answer
This worked for me in magento 1.9
add this code in list.phtml in product foreach section to check if product is already in cart or not