Affected Environments
Those using country / state drop down menus. Currently the state field will not be added to the addresses in the database.
Patch Details
Edit "new_customer.php" starting on line 84 change:
Code:
$cInfo->entry_lastname = $cInfo->customers_lastname;
}
to:
Code:
$cInfo->entry_lastname = $cInfo->customers_lastname;
// Handle state dropdowns if needed
if(zen_not_null($_POST['entry_zone_id']) && $_POST['entry_zone_id'] != 0) {
$cInfo->entry_state = zen_get_zone_name($_POST['entry_country_id'], $_POST['entry_zone_id'], 0);
}
if(zen_not_null($_POST['billing_zone_id']) && $_POST['billing_zone_id'] != 0) {
$cInfo->billing_state = zen_get_zone_name($_POST['billing_country_id'], $_POST['billing_zone_id'], 0);
}
}
Notes
This patch will be added to the next release.
Bookmarks