Why is my cart synchronization slow when adding new product variants?

Why is my cart synchronization slow when adding new product variants?

JasperB
Visitor
3 0 1

Hi.

I'm creating a new product variant on the spot with an existing image but custom properties and price, that all works fine except for the fact that when I try to open the cart drawer the product shows with an empty title and price (0,00).

0efce7578be147063dfb6ebeca67eb93.png

I've created a loop which calls the cart drawer over and over again until there's not a product with a price of €0,00. I'm calling it every second, so as you can see it takes at least 10 seconds (sometimes way longer, sometimes a bit faster) until it's synchronized.

 

9cc05b2824ae73df0744c65d78e4d58d.png

When adding the product to the cart you can see it already has a price, title and image. Yet it doesn't load in the cart drawer until 10-30 seconds later.

 

What causing this issue and how can I resolve it?

Replies 3 (3)

shawnclift
Shopify Partner
5 0 0

I'm having the same issue, did you ever resolve this ?

It's kinda driving me crazy how slow it's taking to populate the cart !

JasperB
Visitor
3 0 1

Well not really. I managed to make it a little bit smoother by creating the product earlier in the customization process.

shawnclift
Shopify Partner
5 0 0

Yeah, I'm just coming up with different ways to navigate the customer, so the cart has time to update, even just taking them straight to check out (which shows up instantly). Looking around at a few of the same posts, I don't think there's any solution here.