Disable add to cart button if item is already in the cart
-
Hello and thank you for the great plugin!
Is there a way to disable the add to cart button if the item is already in the cart?
I’m working with a client who sells one-of-a-kind items, so the quantity will always be one maximum/one minimum, which I have set. However, users are able to click the add to cart button even if the item is in the cart and technically there should be no items left.
Currently, the only add to cart buttons are on my single page.
I’d love to use the disabled pseudo element for this, if possible.
Thank you for any and all help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Disable add to cart button if item is already in the cart’ is closed to new replies.