adding multiple vendor email address to order confirmation email Virtuemart 2.0.14 - repost
$30-250 USD
Pago na entrega
We upgraded from VM 1.1 to VM [url removed, login to view] and many of the changes to ps_checkout are now irrelevant. we need to configure multiple vendor emails. this is our old code:
$vendor_email = $from_email;
$country = $dbbt->f("country");
$dbusercountry = new ps_DB();
$q = "SELECT country_2_code FROM #__vm_country WHERE country_3_code='".$country."' ORDER BY country_2_code ASC";
$dbusercountry->query($q);
$country = $dbusercountry->f('country_2_code');
$vendor_email = array($from_email, '', '', '');
if($country === "US" || $country === "CA" || $country === "AS" || $country === "AQ" || $country === "GU" || $country === "PR" || $country === "PM" || $country === "UM" || $country === "VI") {
$vendor_email = array($from_email,'', '', '', '', '', '');
}
if($country === "AT" || $country === "DE" || $country === "DK" || $country === "LI" || $country === "NL" || $country === "CH" || $country === "AF" || $country === "DZ" || $country === "BH" || $country === "JO" || $country === "KW" || $country === "LB" || $country === "MA" || $country === "OM" || $country === "PK" || $country === "QA" || $country === "SA" || $country === "SD" || $country === "SY" || $country === "NT" || $country === "AE" || $country === "YE") {
$vendor_email = array($from_email,'', '', '', '', '');
}
we need the same function in VM 2.0.14. payment is true PayPal.
ID do Projeto: #4058649
Sobre o projeto
9 freelancers estão ofertando em média $85 nesse trabalho
Hi, we have expertise in HTML5 / CSS3 (Mobile Browser Compatible), jQuery, PHP, MySQL, .Net, OsCommerce, Wordpress, Joomla, Drupal, Magento, ZenCart, Mobile Apps etc. You can see more details with PMB, Thanks.