Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

lordtakuban

Archived
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Real Name
    Justin

lordtakuban's Achievements

  1. For some reason, this code is never being executed in catalog/checkout_process.php: // denuz text attr $attr_q = tep_db_query("select * from customers_basket_text_attributes where session_id = '".tep_session_id($osCsid)."' and products_id = " . tep_get_prid($order->products[$i]['id'])); while ($attr = tep_db_fetch_array($attr_q)) { tep_db_query("insert into orders_text_attributes values ($insert_id, " . tep_get_prid($order->products[$i]['id']) . ", " . $attr['products_text_attributes_id'] . ", '" . $attr['products_text_attributes_text'] . "')"); } tep_db_query("delete from customers_basket_text_attributes where products_id = " . tep_get_prid($order->products[$i]['id']) . " and session_id = '" . tep_session_id($osCsid) . "'"); // eof denuz text attr And looking through the code, I'm not really sure where/when that would be called either. This is really frustrating because I'm so close to being able to actually use this contribution.
  2. Just adding that I tested the change and that works for me. I'm having a problem with it getting the session id though and storing the session record with a null value. There may have been a fix for that posted somewhere. So I'll try to hunt that down.
  3. I should have read this forum before modifying a ton of this module to try to get it to work. I'll go back and revert all my changes and put that check in for the 0 results set as posted by jack_mcs. I'm actually using this contribution in a different way though. I'm making the field a hidden field so that I can commuincate a more complex attribute to the store. I'm also adding an id parameter to the input field. I've also added an additional column to specify if the text attribute is to be "hidden" or not and then change the drawing of the text field and other behavior based on that setting. So far, these have been done with manual database manipulation, but I don't think there is much call for that sort of thing by the masses. And I don't want to clutter up the contribution with my specific needs. That's just something else to test for people. ;)
  4. I've read about using the shipping zones to get this to work. The only problem I'm having is that I can't figure out where to create new zones. It only has Zone 1 and the countries for that zone. I'd like to have 2 different zones (One for the US and 1 for everywhere else). Then I can have flat rates per item shipping that is both domestic and international. I've been searching for a while and haven't found this information. If anyone knows, please tell me. Thanks.
×
×
  • Create New...