Hi folks im using Joomla 3 along with virtuemart 3… I have a plugin that im using for sample order (customer can order a sample ofg theproduct)
The plugin im using is alled vmwishlist and with this youcan send your list to an admin. Im using this feature for customers to send there sample request to our admin team.
At the moment the send to admin sends an email to the admin with a list of the products in the customers wishlist.
I need to add to this email the customers real name and address from the customers profile.
As for as i can see this is the code for the email.
echo "<p><div align=\"left\">\n<form action=\"".$url_favlist."\" method=\"POST\" name=\"sendmail\" id=\"sendmail\">\n
".JText::_('VM_SHARE_DESC')."<br /><textarea id=\"afaq_desc\" class=\"inputbox\" cols=\"50\" rows=\"3\" name=\"afaq_desc\" onkeypress=\"return imposeMaxLength(this, 100);\"></textarea><br /><br />\n
<input type=\"hidden\" name=\"mode\" value=\"sendmail\" />\n
<input type=\"hidden\" id=\"email_to\" name=\"email_to\" value=\"".$conf->get('mailfrom')."\" />\n
<input type=\"hidden\" id=\"email_subj\" name=\"email_subj\" value=\"".JText::_('VM_AFAQ_SUBJECT')."\" />\n
<input type=\"hidden\" id=\"email_body\" name=\"email_body\" value=\"".$afaq_message."\" />\n
<input type=\"submit\" class=\"modns button art-button art-button\" value=\"".JText::_('VM_AFAQ_BUTTON')."\" title=\"".JText::_('VM_AFAQ_BUTTON')."\" />
</form>\n</div>\n</p>\n";
}