Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

dcmwai

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Real Name
    Chan Min Wai

dcmwai's Achievements

  1. Anyone can help to change these code? This is under the Order_Info_Check.php On the State and Country section. <tr> <td class="main"> <?php echo ENTRY_STATE; ?></td> <td class="main"> <?php $state = tep_get_zone_name($country, $zone_id, $state); if ($is_read_only) { echo tep_get_zone_name($account['entry_country_id'], $account['entry_zone_id'], $account['entry_state']); } elseif ($error) { if ($entry_state_error) { if ($entry_state_has_zones) { $zones_array = array(); $zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . tep_db_input($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']); } echo tep_draw_pull_down_menu('state', $zones_array) . ' ' . ENTRY_STATE_ERROR; } else { echo tep_draw_input_field('state') . ' ' . ENTRY_STATE_ERROR; } } else { echo $state . tep_draw_hidden_field('zone_id') . tep_draw_hidden_field('state'); } } else { echo tep_draw_input_field('state', tep_get_zone_name($account['entry_country_id'], $account['entry_zone_id'], $account['entry_state'])) . ' ' . ENTRY_STATE_TEXT; } ?></td> </tr> My php languages is limited... Please help. Thank You
  2. This is great feature. However, I'm working to work it with PWA. http://www.oscommerce.com/community/contri...,all/search,pwa Seem to be the files to precess the order are having some issue with that. Mind to give some help? Thank You
  3. Does anyone have an idea on how to get this pwa working with the joomla Osc. http://mamboforge.net/projects/moscommerce/ And Also http://developer.joomla.org/sf/projects/joscommerce In Joomla/mambo + osc the users will have account in both joomla/mambo And Osc but when PWA happen there is no Osc account and thus it does have some problem... Any suggestion? This is the problem code that have problem with PWA 1) In application_top.php there is a section like this // -- webMS Modification -- // If Customer is Logged into osCommerce but not Mambo, then LOGOFF if (tep_session_is_registered('customer_id') && !$mosUser['validated']) { tep_session_unregister('customer_id'); tep_session_unregister('customer_default_address_id'); tep_session_unregister('customer_first_name'); tep_session_unregister('customer_country_id'); tep_session_unregister('customer_zone_id'); tep_session_unregister('comments'); } Anyone have any idea? Regards?
×
×
  • Create New...