• Content
  • Comments (0)
  • Related articles

How to add multiple email addesses in Joomla – VirtueMart Saturday, 26 May 2012

By default Virtuemart don’t allows more than one email address in store settings [ Joomla menu > Components > VirtueMart > Store > Edit Store ]. After some research i managed to find something on tips4developer.com. Is an nice solution but is sloppy explained and misleads. So, here is the same solution with minor adjustements that makes it work:


  • find the following file: /public_html/administrator/components/com_virtuemart/classes/ps_vendor.php
  • locate and comment the code lines (there are in two places, line 50 for new vendor and line 87 for editing/updating the existing vendor):

if (!vmValidateEmail($d[“contact_email”])) {
$vmLogger->err( ‘Please provide a valide email address for the vendor contact.’ );
return False;


  • find the following file: /public_html/administrator/components/com_virtuemart/classes/ps_checkout.php
  • locate the code line (line 1807):

$from_email = $dbv->f(“contact_email”);

  • replace it with:

$email = explode(‘,’,trim($dbv->f(“contact_email”),’,’));


  • locate the code lines (line 2180):

if ( !$shopper_mail || !$vendor_mail ) {

  • replace it with:

$vendor_mail = vmMail( $from_email, $mosConfig_fromname, $email[$j], $vendor_subject, $vendor_mail_Body, $vendor_mail_AltBody, true, null, null, $EmbeddedImages, null, $shopper_email);


Post a Comment

Your email is never published nor shared. Required fields are marked *


Sorry but there are no similar articles at this time.