We have a customization app where we create new variants based on the inputs from the customer. However, we see a delay of 10 to 20 seconds between creating a new variant using Shopify's Rest or GraphQL API and when it shows the variant information such as a price on the Storefront. Due to this, the cart page shows the price for the newly created variant as 0 for about 15 to 20 seconds. We create the new variant as a result of the "Add to cart" operation.
This seems to us as a limitation on Shopify's end where the price information on the API is eventually consistent and not real-time. Can anyone please provide the best way to create a variant and have the price information available without a delay of 15 - 20 seconds?
Dive into the world of Print-on-Demand and discover how it can transform your online busin...By Imogen Feb 19, 2024
Discover how to transform your online store into a delightful shopping destination. Learn ...By Ollie Feb 13, 2024