Annulleret

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.

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, 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

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