Shopify Cart Permalinks Show Empty Cart on first load in New Session

Hey, I found a weird bug with Shopify Cart Permalinks that could make cart recovery harder. When someone opens the site for the first time using our link, it redirects to an empty cart instead of showing the items.

To reproduce: open an incognito browser and go to this URL: https://artemisathletix.myshopify.com/cart/31458729197670:5,12394327998576:3?storefront=true. It shows an empty cart. But if you open it again in the same session, it works. Even if you remove the items, the link restores them on second load.

Feels like a pretty major issue, it breaks the expected recovery flow for new sessions. Not sure how to fix it or if we should report it to Shopify.

Hey! I solved it by using my store’s primary domain. I think the redirect from the Shopify domain to the primary one was causing the session to be lost.