Is it possible to change the logo/image that is sent to a customer based on what category the product they purchased belongs to, eg CAT1 / PRODUCTS A B C. CAT2 PRODUCTS A B C
I want it that if eg a customer buys a hosting plan which is product B from CAT2 they would receive a different logo associated with CAT2 in the emails (welcome/invoice etc )they receive compared to a customer that purchased a product from CAT 1. and if a customer purchased products from bith CAT1 and CAT2 they would receive both logos. this is because I want them to receive the logo of the package theyre on.
I tried this function but although the images showed in the admin area email templates in the actual emails the clients receive no image/logo is shown.
{if $groupname == "CAT1"}
<img style="float: left;" src="http://domain.com/imags/imagecat1.png" alt="" />
{/if}
{if if $groupname == "CAT2"}
<img style="float: left;" src="http://domain.com/imags/imagecat2.png" alt="" />
{/if}
Appreciate if someone can tell me if this would be possible and any help.
Thanks

Reply With Quote