Problem/Motivation
Before the vanilla js patch to remove jQuery dependencies, the "Add to cart" button behavior upon successful call would be showing a message after the button.
The new patch replaced the button entirely, which the first impression is that the product only can be add to cart once.
But upon refresh of the page, the button re-appear.
Steps to reproduce
Install the module > enable a content type > go to content > click "Add to cart"
Proposed resolution
Keep the "Add to cart" and show the message separately (not replacing) upon ajax call.
Issue fork basic_cart-3557070
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
harjyottkaurr commentedI am working on this
Comment #3
norman.lolHave you been using quantity or without quantity?
Comment #4
norman.lolComment #5
harjyottkaurr commentedwithout the quantity field
Comment #7
norman.lolComment #8
harjyottkaurr commented