Annulleret

adding multiple vendor email address to order confirmation email Virtuemart 2.0.14

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.

Færdigheder: Joomla, PHP

Se mere: vm where, vm email, q email, paypal om, paypal email confirmation, paypal confirmation email, paypal confirmation code, ma code, kw.com, confirmation com, ae com, paypal email address, ye, vendor, no address to, email ma, bH, quot email address quot, query email, function order, multiple order confirmation emails virtuemart, quot email address, email virtuemart, virtuemart multiple order confirmation email, adding vendor email address virtuemart

Om arbejdsgiveren:
( 0 bedømmelser ) Israel

Projekt-ID: #4058241

0 freelancere byder i gennemsnit $ for dette job

vietcodepro

Hired by the Employer

$40 USD in 2 dage
(542 bedømmelser)
8.2