Closed oyeyipo45 closed 4 years ago
The subtotal does not add up when the value of qty is changed in the cart screen instead it concatenates. This error can be noticed at 3:07:13 of the project. thank you.
hello there, you are right. you need to cast the selected qty to number like this: const num = Number(qty)
solved, thank you
The subtotal does not add up when the value of qty is changed in the cart screen instead it concatenates. This error can be noticed at 3:07:13 of the project. thank you.