Issue: Gift card emails redirect recipients to checkout.shopify.com instead of the store’s custom domain (yourdomain.com/gift_cards/...), causing broken links and incorrect branding on the gift card landing page.
Primary Solution (Email Notifications):
Edit the “Gift card created” notification template in Shopify admin
Multiple users confirmed this works for email notifications
SMS Notifications:
Requires modified code that includes both the original URL (for Shopify validation) and the replaced version
Users reported initial “page not found” errors when implementing, often due to incorrect domain formatting (www vs non-www, or using /giftcards/ instead of /gift_cards/)
Multi-language Sites:
One user shared advanced code that handles language-specific URLs (e.g., domain.com/DE/gift_cards/)
Uses Liquid logic to dynamically insert language codes into the gift card path
Cautions:
One participant warned this workaround may break if Shopify changes their system
Some third-party themes may affect gift card URL behavior
The discussion remains open with ongoing troubleshooting for edge cases
Summarized with AI on October 30.
AI used: claude-sonnet-4-5-20250929.
I have recently found a problem with my gift card. When I send a gift card to someone, they will be linked to a address start with “checkout.shopify.com”. However, it should be “mystoredomain.com/gift_cards/...something”. So I look up on shopify help center, there is an article says
gift_card.url> > Returns the unique URL that links to the gift card’s page on the shop (rendered throughgift_card.liquid).
But I couldn’t find any code that render the url for my gift card.
I am having the same issue as well, in Settings > Notifications > Gift card created, the code for the gift page link in the email template is this: View your gift card. The gift_card.url is: ‘checkout.shopify.com’ URL and not the shop domain. This means that when they click on the link, land on the ‘checkout.shopify.com/gift_cards’ page, all the links and search bar URL on the page are incorrect.
Hey [email removed]Kate1c2 thanks for your reply. No we heard absolutely nothing. In the end we just disabled the feature. Its very frustrating as we would love to use them. Let me know how you go, if you are able to make progress?
@SamAM Additionally, after chatting with a Shopify Guru person as well, they determined that when we changed our theme within the last couple of months that our new theme we chose has some impact over this link not working too. If you are using a third party theme, that could also be the issue. We are using the prestige theme. The theme developer has reached out so I will let you know if they are able to fix it. They might also be using the same thing that @MACRORY mentioned above!
I tried to follow this but I cannot find <a href=“{{ gift_card.url }}” in the code in the edit code gift card page. Is the code correct or am I doing something wrong?
Hey macrory, the url change works fine for the e-mail but not working for the SMS. Can you please help me out with this as it is redirecting to the checkout.shopify.com.
Hey techsolver, the url change works fine for the e-mail but not working for the SMS. Can you please help me out with this as it is redirecting to the checkout.shopify.com.
@TechSolver i just found out the reason why it says page not found that’s because when i received the url it had https://www.mywebsite.com/giftcards/ but it is supposed to have gift_card in the url path and i made the change and i see it worked!