VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: bigevents on July 13, 2013, 02:39:49 AM

Title: Main image in Email
Post by: bigevents on July 13, 2013, 02:39:49 AM
Hi @ all, (in front sry 4 my broken english. im from germany)
i hope that im right in this thread.

I am speechless and desperate.

I try to get the main image of my product into the confirm email because i want to sell event-tickets and that the buyer can see the ticket in his confirmation-email.

can you help me where and which code i put in.

thanks.
Title: Re: Main image in Email
Post by: Maxim Pishnyak on July 13, 2013, 11:52:47 AM
Hello!

Did you check sticked threads in Template forum section about template overrides?
Title: Re: Main image in Email
Post by: bigevents on July 13, 2013, 13:29:35 PM
Unfortunately, no, because i dont know how to explain/search for this.

tanks
Title: Re: Main image in Email
Post by: Maxim Pishnyak on July 13, 2013, 15:18:44 PM
In current forum section see such threads (http://forum.virtuemart.net/Themes/nadel-1/images/topic/veryhot_post_sticky.gif)
Title: Re: Main image in Email
Post by: bigevents on July 13, 2013, 17:07:54 PM
please tell me how i search. Witch sentence?

tanks
Title: Re: Main image in Email
Post by: bigevents on July 13, 2013, 17:36:31 PM
Im try to put

<tr valign="top">
<td>
<?php if (!empty($product->images[0])) echo '<a href="'.$product_link.'">'.$product->images[0]->displayMediaThumb (''false,"class='modal' rel='vm-additional-images'",true,false,true).'</a>';?>
</td>
</tr>


in /components/com_virtuemart/views/invoice/tmpl/mail_html_shopper.php

but its not working.
What I doing wrong?

thanks
Title: Re: Main image in Email
Post by: Maxim Pishnyak on July 13, 2013, 21:33:06 PM
I'm not sure that you're using commands that could be useful for email customizing.

Did you try this sticked (http://forum.virtuemart.net/Themes/nadel-1/images/topic/veryhot_post_sticky.gif) thread http://forum.virtuemart.net/index.php?topic=90935.0 ?