New Zenner
- Join Date:
- May 2008
- Location:
- Venezuela
- Posts:
- 2
- Plugin Contributions:
- 0
Problem in country and zone selection
I am testing the 1.3.8 zen-cart version's and notices an bug at the time of selecting the country, does not allow to select the zone you but until after to send the form and to generate an error message, I could solve it when initializing the variable $flag_show_pulldown_states in true, in the file tpl_modules_create_account.php
file's head
i change this code
<?php
echo zen_get_country_list('zone_country_id', $selected_country, 'id="country" ' . ($flag_show_pulldown_states == true ? 'onchange="update_zone(this.form);"' : '')) . (zen_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="alert">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?>
by this in line 47
<?php
$flag_show_pulldown_states = true;
echo zen_get_country_list('zone_country_id', $selected_country, 'id="country" ' . ($flag_show_pulldown_states == true ? 'onchange="update_zone(this.form);"' : '')) . (zen_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="alert">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?>