Originally Posted by Soptareanu @Alex
I'm not using the implementation from controller.js . I just put my custom .js directly in my quntity_box.twig. But that .js code affect the quick view page. If I click to change product attribute in quick view then my custom js. is executed more time, and the value of element increment with more than one unit.
If you can see in the capture, the value of the element become 5 instead of 2.