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 571de12 commit 466783fCopy full SHA for 466783f
utils/functions/functions.js
@@ -185,10 +185,6 @@ export const removeItemFromCart = (productId) => {
185
* @param {String} data Cart data
186
*/
187
export const getFormattedCart = (data) => {
188
- console.log('Data from formatted cart before any processing: ');
189
- console.log(data);
190
-
191
192
let formattedCart = null;
193
194
if (undefined === data || !data.cart.contents.nodes.length) {
@@ -228,9 +224,6 @@ export const getFormattedCart = (data) => {
228
224
formattedCart.totalProductsCount = totalProductsCount;
229
225
formattedCart.totalProductsPrice = data.cart.total;
230
226
231
- console.log('Before end formattedCart: ');
232
- console.log(formattedCart);
233
234
227
return formattedCart;
235
};
236
0 commit comments