mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-12 06:41:14 +01:00
bugfix mirakl auftragsimport country code
This commit is contained in:
parent
4fe1440dd0
commit
fbe266c97c
@ -501,7 +501,9 @@ class Shopimporter_Mirakl extends ShopimporterBase {
|
||||
$cart['ort'] = strval($order->customer->billing_address->city);
|
||||
|
||||
// $cart['ustid'] = '?';
|
||||
$sql = "SELECT iso FROM laender WHERE iso3 = '".$order->customer->billing_address->country_iso_code."'";
|
||||
if ($order->customer->billing_address->country_iso_code) {
|
||||
$sql = "SELECT iso FROM laender WHERE iso3 = '".$order->customer->billing_address->country_iso_code."' LIMIT 1";
|
||||
}
|
||||
$cart['land'] = $this->app->DB->Select($sql);
|
||||
|
||||
$cart['abweichendelieferadresse'] = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user