fix country and region in delivery address on update order

This commit is contained in:
iyzoer 2017-06-05 12:49:29 +03:00
parent b1f0835b9c
commit dca2b67a5b

View File

@ -227,8 +227,8 @@ class ModelExtensionRetailcrmOrder extends Model {
'address' => array(
'index' => $order_data['shipping_postcode'],
'city' => $order_data['shipping_city'],
'country' => $order_data['shipping_country_id'],
'region' => $order_data['shipping_zone_id'],
'countryIso' => $order_data['shipping_iso_code_2'],
'region' => $order_data['shipping_zone'],
'text' => implode(', ', array(
$order_data['shipping_postcode'],
$country,