mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-02-16 14:33:17 +03:00
fix country and region in delivery address on update order
This commit is contained in:
parent
b1f0835b9c
commit
dca2b67a5b
@ -227,8 +227,8 @@ class ModelExtensionRetailcrmOrder extends Model {
|
|||||||
'address' => array(
|
'address' => array(
|
||||||
'index' => $order_data['shipping_postcode'],
|
'index' => $order_data['shipping_postcode'],
|
||||||
'city' => $order_data['shipping_city'],
|
'city' => $order_data['shipping_city'],
|
||||||
'country' => $order_data['shipping_country_id'],
|
'countryIso' => $order_data['shipping_iso_code_2'],
|
||||||
'region' => $order_data['shipping_zone_id'],
|
'region' => $order_data['shipping_zone'],
|
||||||
'text' => implode(', ', array(
|
'text' => implode(', ', array(
|
||||||
$order_data['shipping_postcode'],
|
$order_data['shipping_postcode'],
|
||||||
$country,
|
$country,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user