Is it possible to send a different link out for different items on the order confirmation?
We have around 30 items, all are just a URL to a form. So if somebody orders 1 they get link 1 in the confirmation, if somebody orders 22 they get link 22 in the confirmation etc.
There is also the possibility of buying 5 in 1 transaction so could this be done also? eg buy 1,2,4,6,8 & get link 1,2,4,6,8 in one email of even 5 separate emails.
Hi @UKHBA , yes it is possible. You can find order confirmation email in settings/notifications.
This is how I’ve done it:
{% for line in subtotal_line_items %}
{% if line.product.title contains 'PRODUCT 1'%}
{% assign myproduct = true %}
{% endif %}
{% endfor %}
{% if myproduct == true %}
//Here goes the code if product with 'PRODUCT 1' name is bought
{% else %}
//Here goes the code if something else is bought
{% endif %}