Closed darkpsinight closed 2 years ago
I tested your code by adding one product with a price 30$. And then i added to cart two of the same previous product (30$ * 2 = 60 $). The total should give 90$ (30$+60$). But with your code, the result is 150$. Now with this fix, it gives 90$.
I tested your code by adding one product with a price 30$. And then i added to cart two of the same previous product (30$ * 2 = 60 $). The total should give 90$ (30$+60$). But with your code, the result is 150$. Now with this fix, it gives 90$.