Hi,
I have selected the option "State - Always display as pulldown?" to false. I have noticed that when editing the address book from account, it has the nice feature that if you enter a wrong state name in the text box (drop down is off) for a country that has zones defined, zencart displays an error that says "You must select a country from the Countries pull down menu". Then the drop down for states is shown and you can select the correct one with no typing-error possibility. That's great!
Well, when doing the same thing in the cheching process, the same error message is shown (I think it is ENTRY_STATE_ERROR_SELECT), but in this case no drop down is shown, and the state's name has to be typed again.
Is it my problem, or it happens to anybody?
Thank you very much,
Xavier.
PD: I have tried to solve that, changing the module: /includes/modules/checkout_new_address.php (lines 112-118):
if ($found_exact_iso_match) {
$zone_id = $zone->fields['zone_id'];
$zone_name = $zone->fields['zone_name'];
} else {
$error = true;
$error_state_input = true;
$messageStack->add('checkout_address', ENTRY_STATE_ERROR_SELECT);
$flag_show_pulldown_states = true;
but it does not work...![]()



Reply With Quote
.



Bookmarks