Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Does anyone know if Shopify.StorefrontExpressButtons was deprecated? I think you used to be able to run Shopify.StorefrontExpressButtons.initialize(); to show dynamic checkout buttons on ajax carts, but seems to just return undefined for me now.
If it has, is there a new way to manually trigger loading of dynamic checkout buttons?
Old post, but wanted to share solution I found. Looks like
document.body.dispatchEvent( new CustomEvent( 'shopify:section:select' ) );
may help here.
Shopify code actually listens to this event to re-initialize dynamic checkout buttons.
Just need to check that your theme sections JS would not do anything unwanted.
In Canada, payment processors, like those that provide payment processing services t...
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