Jump to content

hms

Members
  • Content count

    11
  • Joined

  • Last visited

About hms

  • Birthday 08/13/1976

Profile Information

  1. hms

    [Contribution] STS v4

    Hi everyone, I am new to STS and I am looking for instruction or documentation on how to implement an existing HTML page into STS so I could use in OsCommerce. The picture of the template looks like this. Is it possible to implement?
  2. hms

    Active Countries

    Sorry earlier I meantion both, actually only the second part, which is below; this is the guidelines in your manual: if ($process == true) { if ($entry_state_has_zones == true) { $zones_array = array(); $zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . (int)$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); } else { echo tep_draw_input_field('state'); } } else { echo tep_draw_input_field('state'); } This is supposed to be locate but the new file doesn't have this full section, what should I do? Original file is like this: so it doesn't cover the whole section need to be replace , see the near end part <?php if ($process == true) { if ($entry_state_has_zones == true) { $zones_array = array(); $zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . (int)$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); } else { echo tep_draw_input_field('state'); } } else { echo tep_draw_input_field('state', tep_get_zone_name($entry['entry_country_id'], $entry['entry_zone_id'], $entry['entry_state'])); } if (tep_not_null(ENTRY_STATE_TEXT)) echo ' <span class="inputRequirement">' . ENTRY_STATE_TEXT; ?></td>
  3. hms

    Active Countries

    Hi Enigma: Actually now I am trying to do everything from scratch but I got this problem. On the section on your manual 4. catalog\includes\modules\address_book_details.php both the code needs to be replace is not present from the osCommerce 2.2 Milestone 2 Update 051113 maybe you could double check it. As for the previous solution it didn't work out for me :'( that is why I am thinking doing it fresh again from the 2.2M2-051113
  4. hms

    Active Countries

    enigma1: thanks a lot for the help, removing that code solve the issue. Most of the things already functioning extemely well for me, thanks a million. Actually I had followed the manual (the html file) and there are even more weird problems, I think its due to some other previous contributions I had added, something to do with default country display and also state drop down menu. Would like some advice here, On the existing customer which already registered before this contribution, the customer cannot change their prefered delivery address. Its like Customer A has registered 4 delivery addresses, and the default one will appear during the first phase of checking out. When select change delivery address, says selecting another address, by normal it should proceed back to the shipping charges section, but it can't. But it can proceed to shipping charges if we dun select to change to another address. So once you have click change another shipping address, that's it, it won't be able to proceed. You will need to click the cart again and have to live with the default address the system displayed. But for newly registered customer, it just function normally. Can change to different addresses registered in the address book. Then is there anyway the country register by the customer could be change when the customer log in to edit their addresses? Is this suppose to function as locked, so the customer cannot change their country, or something I did wrongly. Somehow, I will need a way to delete those additional addresses I added. I used different locations to test if I had set up the shipping zones correctly. Cos I created a login for my self to check if everything functions as intended. Any clue how to do it?
  5. hms

    Active Countries

    I had tried another method since the problem i encounter which i wrote in the earlier post. This time, I copoid all the files in the contribution to use. The error i got here now is in the admin panel. This come whenever I enable active countries. Although it display this error, somehow the selected country got active. Weird to me. 3 other problems i got is: 1. i am unable to edit the country in the customer address section, i tried selecting other countries but it doesn't want to change 2. need an option to delete the additional address of customers 3. it doesn't want to proceed to payment info page....just stuck there
  6. hms

    Active Countries

    Anyone pls help, I got this error. In the admin when I select countries. The similar error also appear when I select zones, only the ...countries.php:3 changes to 1 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /catalog/admin/countries.php:3) in /catalog/admin/includes/functions/sessions.php on line 67 this is the the content in sessions.php, line 64 to 75. Anyone here who can highlight what is wrong? I don't know much about php and ended up in trouble.
  7. I get what you mean now, I think this will need some coding, which I am not familiar with. But I do feel it is better that it display zero, so the buyer will know this is free shipping.
×