Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi.
After I added a product to the cart I have set up a ajax call in a liquid file:
$.ajax({
url: '/?section_id=cart-drawer',
type: 'GET',
dataType: 'html'
....
}}
But for some reason it takes sometimes half a minute to retrieve the right information. All calls return the cart with a product in it with the right custom properties I added, but the product's title is empty and the price shows €0,00.
I've been working on something custom which creates a new product variant server side upon clicking add to cart, returns once that's successful. So the product variant exists at the time of adding it to the cart. But for some reason there's still a delay.
Would there be a fitting solution?
"/products/{handle}/?section_id=product-quickview", How to output product data in product-quickview.liquid
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025