Answer the question
In order to leave comments, you need to log in
How to change the quantity of a given product in the view using ajax?
Good day to all? I want to make in the product window the ability to change the quantity of this product in the form using ajax, but I don’t know how to do it. More precisely, I can do this by redirecting to the controller and already performing an action (increment or decrement) in it, followed by sending it to the view, but I would still like to use ajax or how it is generally done correctly. Maybe someone can give me a link, but I couldn't find it myself.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question