All things Shopify and commerce
Hello,
I'm having trouble finding the right code/url to change the order_status_url to redirecting the customer once clicked on "View Your Order" to the Thank You page they receive upon checkout.
The highlighted code above is what I want to change, at the moment when clicked on the "See Your Oder" button:
---> it leads to the Order Status customer page:
The expected result I want to have is that when users click on the order button in their received email, it redirects them to the Thank You page that they got when they completed their checkout.
Main reason why I'd rather have this setup is because Shopify doesn't support local carriers from my country, and therefore this order_status tracking doesn't make much sense, especially because orders cannot be completed (other than fulfilled).
Expected landing page:
Can anyone help me with the right url?
Hi @JelenaZip
Replace you code within the email template :
<a href="{{ order.status_url }}" class="button__text">See Your Order</a>
with :
<a href="https://yourstore.com/pages/thank-you?order={{ order.id }}" class="button_text">See Your Order</a>
If you find my solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!
Hey @Priyanka_ ,
Thanks for the quick response and help. Unfortunately, the code you've provided generates two errors:
1) Upon clicking the "See Your Order" button on the received email confirmation/notification, it redirects me to a page that doesn't exist:
- "Page not found" in Serbian.
Should I create a Page and what with what content would I need to populate the page with?
2) The orange button disappears around the font, leaving it with just orange letters instead:
Could you help me out with next potential steps?
Thanks!
Hi @JelenaZip
Sorry for the misunderstanding. Shopify doesn't permit direct redirection to the thank you page. This page only loads immediately after an order is placed. When a customer clicks on "See your order," they are redirected to the order status page. To manage order tracking, you could use an order tracking app, and redirect customers to a tracking page when they click on "See your order."
If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024