Hello, I’m building an e-commerce and instead of the default input field for product quantity for products in the cart, I’d like to have a ‘+’ and a ‘-’ buttons.
I’ve tried adding an event listener to buttons and changing the input value but that doesn’t automatically update prices and product availability.
Which way would you recommend to do that?