Open Deni-ux opened 2 years ago
Hi! when I try to decrement the qty of a cart item I receive NaN. I couldn't figure out the bug after hours of trying. This is my code. Please let me know how I can fix it. Thank you.
Hi, maybe because when you are trying to decrement, you are writing quantity: foundProduct - 1 instead of quantity: foundProduct.quantity - 1
Hi! when I try to decrement the qty of a cart item I receive NaN. I couldn't figure out the bug after hours of trying. This is my code. Please let me know how I can fix it. Thank you.