News:

Support the VirtueMart project and become a member

Main Menu

Recommens email

Started by webmiep, August 13, 2013, 05:24:54 AM

Previous topic - Next topic

webmiep

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

Maxim Pishnyak

Did you try to use html code to add image?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

webmiep

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

Maxim Pishnyak

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?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

webmiep

Hello,

No I am not able to do that Sorry

Kind regards Webmiep

Maxim Pishnyak

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.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

webmiep

Hello,

Thank you I will. do this.

Webmiep