Cart quantity update

17 views Asked by At

So I have been trying to update my product quantity on my cart page but on reload of the page it sets back to the default value of 1

I tried ajax function and I'm expecting it to update in the db without reloading the page

1

There are 1 answers

0
Parth M. Dave On

As per my understanding you want to keep cart item on browser storage instead of store into db. you can use below approach:

  • local storage
  • cookie
  • session storage.

you can find more detail as here