Dibatalkan

adding multiple vendor email address to order confirmation email Virtuemart [url removed, login to view]

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, 'xxx@[url removed, login to view]', 'xxx@[url removed, login to view]', 'xxxx@[url removed, login to view]');

if($country === "US" || $country === "CA" || $country === "AS" || $country === "AQ" || $country === "GU" || $country === "PR" || $country === "PM" || $country === "UM" || $country === "VI") {

$vendor_email = array($from_email,'xxx@[url removed, login to view]', 'xxx@[url removed, login to view]', 'xxx@[url removed, login to view]', 'xxx@[url removed, login to view]', 'xxx@[url removed, login to view]', 'xxx@[url removed, login to view]');

}

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,'xxx@[url removed, login to view]', 'xx@[url removed, login to view]', 'xxx@[url removed, login to view]', 'xxx@[url removed, login to view]', 'xxx@[url removed, login to view]');

}

we need the same function in VM 2.0.14. payment is true PayPal.

Kemahiran: Joomla, PHP

Lihat lebih lanjut: vm where, vm email, q email, paypal om, paypal email confirmation, paypal confirmation email, paypal confirmation code, ma code, paypal email address, ye, vendor, email ma, bh, query email, function order, quot email address, email virtuemart, confirmation code paypal, confirmation email, multiple email address, virtuemart multiple email, virtuemart order confirmation email, virtuemart paypal payment, virtuemart country, paypal payment virtuemart

Tentang Majikan:
( 0 ulasan ) Israel

ID Projek: #4058241

0 pekerja bebas membida secara purata $ untuk pekerjaan ini

vietcodepro

Hired by the Employer

$40 USD dalam 2 hari
(542 Ulasan)
8.2