What I do after replacing all the missing prices is to get all the item prices, total them, fix price formatting and replace the original subtotal with the new total using DOM manipulation.
Even I try to use GraphQL (product variant create) to create the new variant. It still takes a long time to show the correct data on the cart page.
Hope Shopify can improve it. It's the backend issue that app developers cannot control. And it's seriously affecting the conversion rate on the cart page
@SanaMinatozaki if you mean my post about a dummy product it's just that, create an unpublish product with placeholder data.
When the custom stuff comes in push that the existing dummy product basically skipping waiting on a roundtrip if you were to create everything at once.
Never seen if it's done in the wild though since its kinda the reverse of what a lot of apps and customizations do: a dummy cart , or loader preventing checkout until the product is ready.
@sagarkohli I actually based my app around the functionality of this app and actually yes you do need to wait 10-20 seconds when you use it.
The app will actually console log how long it takes and the three times I tested it, they all took about 15 seconds