adding multiple vendor email address to order confirmation email Virtuemart 2.0.14 - repost

Cancelado Postado Dec 20, 2012 Pago na entrega
Cancelado 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.

Joomla PHP Virtuemart

ID do Projeto: #4058649

Sobre o projeto

9 propostas Projeto remoto Ativo em Dec 27, 2012

9 freelancers estão ofertando em média $85 nesse trabalho

rabbul

Please check PMB

$100 USD em 1 dia
(341 Comentários)
7.6
gopalvora

Hi Ready to start Thanks

$55 USD em 1 dia
(128 Comentários)
6.6
getwebsolutionsl

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.

$120 USD in 6 dias
(49 Comentários)
6.1
bdweb

Thanks for the project opportunity. I would very much happy to place my bid on your project and I think all your requirement meet with my skill and expertise level. First I would like to introduce my self as a profe Mais

$100 USD in 7 dias
(104 Comentários)
6.0
rahulfl

Hi Joomla expert here. Can start work right now. Thanks

$60 USD in 0 dias
(20 Comentários)
4.4
dpeter

Please check your inbox.

$80 USD in 0 dias
(8 Comentários)
3.7
thewebpixel

Ready for start..

$100 USD in 2 dias
(1 Comentário)
1.0
nickydev

Get best quality assurance by expert developer.

$30 USD in 2 dias
(0 Comentários)
0.0