Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
I'm using the react-hydrogen package, I'm managing to update my cart with the <AddToCartButton> perfectly fine, and I can see lineItems being added to my cart correctly. However it seems the checkoutUrl is wrong, redirecting is not working as expected when using the <CartCheckoutButton>
The checkoutUrl is: http://storedomain.com/cart/c/(token) Looking at other examples of using hydrogen-react I'd expect my checkout url to be something similar to: https://storedomain.myshopify.com/checkouts/cn/(token) Has anyone experienced this before?
For reference, I am moving away from using the js-buy-sdk package as it does not support subscriptions (checkout api versus storefront api) - however in my live app using this package, the checkout url is https://store-domain.myshopify.com/checkouts/cn/(token)
For reference I am giving the storeDomain as 'storedomain.myshopify.com'
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024