We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9eb264 commit 69f0dbbCopy full SHA for 69f0dbb
utils/functions/functions.js
@@ -60,7 +60,7 @@ export const getFormattedCart = (data) => {
60
61
let i = 0;
62
givenProducts.forEach(() => {
63
- const givenProduct = givenProducts[parseInt(i)].product;
+ const givenProduct = givenProducts[parseInt(i,10)].product;
64
const product = {};
65
// Convert price to a float value
66
const convertedCurrency = givenProducts[i].total.replace(/[^0-9.-]+/g, '');
0 commit comments