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 | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| 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 *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| 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 04:10 PM |
| Country-State Selector | michael_s | New osCommerce Contributions | 0 | 02-17-2008 03:00 PM |