minor fix
This commit is contained in:
parent
8c23ac0692
commit
1fd3a71d33
|
@ -90,7 +90,7 @@ class Shopify(SaleWebChannel):
|
|||
if customer.get('default_address'):
|
||||
default_address = customer['default_address']
|
||||
shipment_address = default_address['address1']
|
||||
phone = customer['phone'] or '000'
|
||||
phone = default_address['phone'] or '000'
|
||||
city_name = default_address['city']
|
||||
if city_name:
|
||||
cities = City.search([
|
||||
|
@ -109,7 +109,7 @@ class Shopify(SaleWebChannel):
|
|||
}])],
|
||||
'contact_mechanisms': [
|
||||
('create', [
|
||||
{'type': 'phone', 'value': phone},
|
||||
{'type': 'phone', 'value': phone.replace(" ","")},
|
||||
{'type': 'email', 'value': email},
|
||||
])
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue