I added vendor name to the notification emails and it works on most but not all of them

mysticmac
Tourist
7 2 0
{% assign line_vendor = line.product.vendor %} 
<span class="order-list__item-title">{{ line_vendor }}</span><br/>

I used the above to add the vendor name to Notification Emails, and it works for all of the Order Notification emails, but not the Shipping Confirmation Notification email. 

Code works on these and vendor displays:

mysticmac_0-1625447595751.png

Code doesn't work on these and vendor doesn't display:

mysticmac_1-1625447645599.png

 

It's the same code so I can't figure out why it works on some of the Notifications but not all of them. Any ideas? Thanks

0 Likes