Adding product name in URL query string from order confirmation notification

silversorensen
New Member
3 0 0

Hi,

I am trying to add the product name(s) in the URL in a link from the order confirmation email.

https://www.mydomain.com/pages/linktothis?order={{order.name}}&product={{line_item.product.title}}

The first part of this works good. It does include the order number, but it isn't showing the product title

https://www.mydomain.com/pages/linktothis?order=#32590&product=

I also tried:

{{line_title}} 

{{line.items}} 

{{line_items}}

Is there a way to do this? To make both the order number and the title(s) of the products in the order show up as a query in the URL?

 

Thank you,

-silver

0 Likes