This is a discussion on Country-State Selector within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; My Mistake I was adding the require command within an if when it should have been outside of the if ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| My Mistake I was adding the require command within an if when it should have been outside of the if statement.. in the 4 catalog root files // +Country-State Selector if (isset($HTTP_POST_VARS['action']) && $HTTP_POST_VARS['action'] == 'getStates' && isset($HTTP_POST_VARS['country'])) { require(DIR_WS_FUNCTIONS . 'ajax.php'); ajax_get_zones_html(tep_db_prepare_input($HTTP_POS T_VARS['country']), true); } else { // -Country-State Selector should be // +Country-State Selector require(DIR_WS_FUNCTIONS . 'ajax.php'); if (isset($HTTP_POST_VARS['action']) && $HTTP_POST_VARS['action'] == 'getStates' && isset($HTTP_POST_VARS['country'])) { ajax_get_zones_html(tep_db_prepare_input($HTTP_POS T_VARS['country']), true); } else { // -Country-State Selector Files have been updated This is a full package insaini More...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Country-State Selector | michael_s | New osCommerce Contributions | 0 | 04-11-2008 05:10 AM |
| Country-State Selector | michael_s | New osCommerce Contributions | 0 | 03-23-2008 04:27 AM |
| Country-State Selector | michael_s | New osCommerce Contributions | 0 | 03-22-2008 11:26 AM |
| Country-State Selector | michael_s | New osCommerce Contributions | 0 | 02-28-2008 05:10 PM |
| Country-State Selector | michael_s | New osCommerce Contributions | 0 | 02-17-2008 04:00 PM |