Quantcast
Channel: Opinion: Shopify Community - Shopify Design
Viewing all articles
Browse latest Browse all 57838

jameswj11 commented on Customize Different Order Confirmation Emails By Product

$
0
0

Hi Caroline,

Thanks for your reply. I'm aware that there's only 1, but we have a special product that requires a little different text if someone buys it. I'd like the code to identify when this is what's purchased and adjust the code accordingly.

Specifically I've tried nesting an {% if line.title == 'xxxxx' %} with text, followed by {% else %} and the standard text. All of this I've nested within a {% for line in line_item %} loop that I wrote, which should refer to the line items that the costumer bought, yes? For some reason it's not recognizing that a user has purchased the special product. 


Viewing all articles
Browse latest Browse all 57838

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>