Mobile is not adding all items to cart- works fine on desktop

Hi, I am trying to push a item to the cart through a repeater. when on desktop it works fine and adds all the items presented in the repeater, however on mobile it just goes straight to cart and doesn’t give it time to add all the tickets. the code is

if (wixWindow.formFactor === ‘Desktop’) {
const start = async () => {
await asyncForEach(tickets, async (t) => {
if (!added.includes(t._id)) {
await $w(‘#shoppingCartIcon1’).addToCart(GAME_ID, 1, {
“customTextFields”: [ {
“title”: “Cords”,
“value”: t.cords
}]
});
added.push(t._id);
deleteItem(t._id);
//console.log(t.cords)
}
});
wixLocation.to(“/cart-page”);
}
start();
} else {
const start = async () => {
asyncForEach(tickets, async (t) => {
if (!added.includes(t._id)) {
$w(‘#shoppingCartIcon1’).addToCart(GAME_ID, 1, {
“customTextFields”: [ {
“title”: “Cords”,
“value”: t.cords
}]
});
added.push(t._id);
deleteItem(t._id);
//console.log(t.cords)
}
});
wixLocation.to(“/cart-page”);
}
start();
}

Been trying to fix this for a few weeks, please help!

@customersupport
@freeingthegoodkidwit
@tom-phelps @helpidt
@wix

@sapirh @yisroel (wix) please someone help with this

Hi,

Can you please send a URL to your site and specify the name of the page ?

Sapir

Hi yes. it is gindiauto.com and the page would be 2019-aston-martin-db11-amr
title of page is spot the ball, the problem is it isn’t adding the full array on mobile. thank you
@sapirh

@sammyg118 This is an issue that we discovered a few weeks ago. The issue is that upon adding an item to the cart on a mobile device (via code or otherwise), you are being redirected to the cart page and that happens before you get a chance to add the other products
We are working on a fix which should be available soon

@odeda thank you for the reply. good to know it is on wixs end and is fixable. I was about to switch over my whole site due to this one issue. happy to hear you are fixing it. do you have any idea on the time frame? Thank you!