Pop up Return Policy via dynamic link in Order Confirmation Email

Pop up Return Policy via dynamic link in Order Confirmation Email

Maya9
Explorer
73 0 24

I've already reached out to shopify and received the usual 'this is beyond the scope of shopify, we suggest you hire an expert' so thought maybe someone here has code that worked for them. I'm trying to add dynamic links to the footer of my order confirmation email that will open my shipping and return policies. This did not work: 

<a href="{{ shop.refund_policy_url }}" style="text-decoration: underline; color: #0000EE;">Refund Policy</a>

 

For now I'm using regular links that redirect to the corresponding policy page on my site but this isn't ideal as it opens a new browser tab and forces user to leave email. 

Replies 3 (3)

PaulNewton
Shopify Partner
7746 679 1617

It's a platform they can't be everything and do everything for every single business for over a MILLION merchants.

If your usually getting "beyond the scope of shopify"  responses that's a landmine clue to re-evaluate your expectations of what one company can provide and fix how you go about solving problems.

 

If the domains not going to be changing constantly there's nothing wrong with a static url.


@Maya9 wrote:

opens a new browser tab and forces user to leave email. 


That's a good thing, that's how it's supposed to work, don't steal users focus by navigating the current window/tab unexpectedly.

Do you expect businesses be able to make peoples email client CLOSE just to go to a website.

Do you expect everyone's email client to behave the way yours does when testing an email.

 

 

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


Maya9
Explorer
73 0 24

I truly didn't think it was an unreasonable ask. 

The instructions for adding the dynamic links were provided to me by shopify's AI assistant as the first (thus I assume preferred) solution and one that their AI specifically referred to as providing a seamless experience for the user. 

The second solution (to navigate to my website's policy pages) was the "workaround" so I got the impression that the first

solution was the norm and working for most shopify merchants.

 

I assumed the dynamic link would work the same way it works in shopify's checkout where if you click on the return policy a pop up window appears which you can scroll to read but which doesn't navigate you away. I figured if it was suggested by their AI and working that way for other merchants, it would be very nice to have. You give me the impression that the result would be something else entirely in which case maybe my ask IS ridiculous. 

 

 

PaulNewton
Shopify Partner
7746 679 1617

Trying to force popups into peoples email it is an incredibly unreasonable ask, it's spam behavior.

You were given a bad inception by a bot.

Meanwhile the standard behavior you may experience everyday is links opening a new window/tab.

 

Chatgpt et al misinformation aka "hallucinations",

AI assistants" are random adlib chat generators, incredibly fancy high powered phone autocomplete.

Use them for summary of things you already know, or small parts to jump from into external sources(i.e learning terminology).

Not as a knowledge foundation.

 

Such tools output is to never to be trusted.

Then on top of that corps literal program them to be useless-helpful not helpful-factual.

It will tell you what you want to hear more than be based in actual fact.

 

Always backup such generated content by asking yourself hard questions and doing the work of finding actual verifiable sources of know how.

I.e. is there even a "shop.refund_policy_url" 

https://learn.mechanic.dev/platform/liquid/objects 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org