I am trying to add some Plus and Minus buttons to increase and decrease the item quantity in the cart directly.
This is what I got, and it all works fine and dandy, the cart gets updated and all, but when I check localStorage, my item quantities are not changed.
Funny thing is, when I try to use the provided add-to-cart directive, it all works.
If I try to edit the quantities from the cart directive, I still have the same problem... I just dont get my localstorage updated after 1 element quantity is added.
I am trying to add some Plus and Minus buttons to increase and decrease the item quantity in the cart directly. This is what I got, and it all works fine and dandy, the cart gets updated and all, but when I check localStorage, my item quantities are not changed.
Funny thing is, when I try to use the provided add-to-cart directive, it all works. If I try to edit the quantities from the cart directive, I still have the same problem... I just dont get my localstorage updated after 1 element quantity is added.