This is a discussion on Bugfix 85-checkout_shipping_address checkout_payment_address within the osCMax v2 Features Discussion forums, part of the osCMax v2.0 Forums category; As Michael says: "The attached file fixes this problem for both checkout_shipping_address and checkout_payment_address. There was a misplaced brace in ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| As Michael says: "The attached file fixes this problem for both checkout_shipping_address and checkout_payment_address. There was a misplaced brace in the code. The file to edit is /catalog/includes/modules/checkout_new_address.php" I couldn't get the fix file from the BugTracker, so here is the fixed code regarding the state field: <?php if (ACCOUNT_STATE == 'true') { ?> <tr> <td class="main"><?php echo ENTRY_STATE; ?></td> <td class="main"> <?php // BOF: MOD - Country-State Selector $zones_array = array(); $zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = " . $country . " order by zone_name"); while ($zones_values = tep_db_fetch_array($zones_query)) { $zones_array[] = array('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']); } if (count($zones_array) > 0) { echo tep_draw_pull_down_menu('state', $zones_array); } else { echo tep_draw_input_field('state'); } // EOF: MOD - Country-State Selector if (tep_not_null(ENTRY_STATE_TEXT)) echo '&nbsp;<span class="inputRequirement">' . ENTRY_STATE_TEXT; ?> </td> </tr> <?php } ?> |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| Thank you. This is great. |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error on Checkout_shipping_address page | Christy | osCMax v2 Installation issues | 0 | 12-18-2005 08:46 AM |
| Categories.php bugfix for larger stores | gamefreak7 | osCMax v2 Installation issues | 0 | 08-05-2005 09:32 PM |
| catalog/checkout_shipping_address.php isn't loading | gheffron | osCMax v1.7 Discussion | 0 | 05-13-2004 11:35 AM |
| [BugFix] v1.5 Category Descriptions Bug | michael_s | osCMax v1.7 Discussion | 0 | 09-25-2003 10:50 PM |
| [BugFix]Change Currenices From product_info.php failing | michael_s | osCMax v1.7 Discussion | 0 | 09-06-2003 11:55 AM |