Dynamic Route Link in Emails

I having my shopping cart finally working the way I like. Except for one thing.

In my webhook I am sending out an email confirmation. In that email confirmation I want to have a link to the orders details.

This should be a link such as https://boxoffice.wlstudiotheatre.ca/order/dynamic_value

How do you link to a route with parameters in an email?

Hi Brad. All should be explained here:

I would suggest you add some kind of security. Maybe just use Security Provider Restrict on the page but don’t allow someone to just change the dynamic_value and see someone else’s order. Forgive me if you’ve already done that.

Yeah, I know how to do routing with parameter and all. I do it all the time. But there is no route picker or or dmx-bind:link attributes in email. Maybe I’m over thinking it again. That happens. :wink:

Aah, OK. Just write the URL in manually:

https://boxoffice.wlstudiotheatre.ca/order/{{OrderID}} (whatever the variable is for the dynamic_value).

1 Like

Yep, way over thinking it. Time to take a break. Works like a charm. Thanks again!

1 Like