fixed location on subscrition to checkout brige (added billing_zone)
This commit is contained in:
parent
fb11eac920
commit
598f09bba5
@ -445,6 +445,7 @@ function materio_user_record_member_profile($values) {
|
||||
'premise' => $values['premise'],
|
||||
'postal_code' => $values['postal_code'],
|
||||
'locality' => $values['locality'],
|
||||
'administrative_area' => $values['administrative_area'],
|
||||
);
|
||||
|
||||
|
||||
@ -575,7 +576,7 @@ function materio_user_uc_cart_checkout_form_alter(&$form, &$form_state, $form_id
|
||||
"billing_street1" => $location->thoroughfare,
|
||||
"billing_street2" => $location->premise,
|
||||
"billing_city" => $location->locality,
|
||||
// "billing_zone" => ,
|
||||
"billing_zone" => $location->adminstrative_area,
|
||||
"billing_postal_code" => $location->postal_code,
|
||||
"billing_country" => $location->uc_country_id,
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user