You’ve maybe noticed that Magento’s quantity inputs are just plain input fields, and if you wish to change it’s value, you have to erase value manually and enter new one on your numpad. Today I’ll show you how to add plus and minus signs by each input for quantity by implementing my colleague’s unobtrusive approach. If interested, read on!
I’ve dynamically created div element and populated it with paragraph tags that contain “+” and “-” signs. It looks like this: