Hello There,
I saw on the forum the topic for the link in the recommend email (mail_html.php) and the product picture.
The topic was http://forum.virtuemart.net/index.php?topic=110325.0
There was no answer on hw to send a picture in this link.
Can someone help me with some code to do so??
Thanks a lot.
Warm regards Webmiep
Did you try to use html code to add image?
Hello,
Yes I did. But it is more complicate because you want only the picture of the product which is recommended to a friend.
So there should be some dynamic code with it.
I am not that good in php
Thanks for your attention.
warm regards
webmiep
Quote from: webmiep on August 13, 2013, 05:24:54 AM
I saw on the forum the topic for the link in the recommend email (mail_html.php) and the product picture.
Did you dig a bit mentioned by you file? Are you able to find what command prints product name for example?
Hello,
No I am not able to do that Sorry
Kind regards Webmiep
In that file there is a row
<?php echo JText::sprintf('COM_VIRTUEMART_RECOMMEND_MAIL_MSG', $this->product->product_name, $this->comment); ?>
To understand how to get access to other then name product properties you could study sticked threads about template overrides in Template forum section.
Report here if you would get some difficulties.
Hello,
Thank you I will. do this.
Webmiep