php - Shopify email notification: How do you display a product URL in an email notification? -


i trying include link product customers bought in shipping confirmation email. if customer bought several items , 1 fulfilled, want display url of product.

i tried this, doesn't correctly link product url:

{% line in fulfillment.fulfillment_line_items %}<a href="{{ shop.url | append: line.product.url }}">{{ line.line_item.title }}</a>{% endfor %}</p> 

i tried , does, shows line items if 1 fulfilled, not want:

{% line in line_items %}<a href="{{ shop.url | append: line.product.url }}">{{ line.title }}</a>{% endfor %} 

any appreciated! thanks


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -