Results 1 to 2 of 2

Thread: Changing logo sent in email templates based on product category?

  1. #1
    Join Date
    Aug 2012
    Posts
    3

    Default Changing logo sent in email templates based on product category?

    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

  2. #2
    Join Date
    May 2007
    Posts
    98

    Default

    Also looking for a solution to this...
    regards/mvh
    Terry Thorpe

Similar Threads

  1. Custom email template based on product group?
    By daveyboy in forum Customisation & Integration Questions
    Replies: 3
    Last Post: 09-10-12, 10:40 AM
  2. product group name as email templates merge variable
    By plusplushosting in forum Feature Requests
    Replies: 0
    Last Post: 03-29-12, 07:11 PM
  3. Email templates are showing my logo at the top, is there a way to get rid of it?
    By john.sheppard in forum Customisation & Integration Questions
    Replies: 5
    Last Post: 10-30-09, 08:49 PM
  4. Different templates for each category of products
    By andy60131 in forum Customisation & Integration Questions
    Replies: 7
    Last Post: 06-29-09, 10:52 AM