Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

lovelypink

Archived
  • Posts

    19
  • Joined

  • Last visited

Profile Information

lovelypink's Achievements

  1. Rick, I was working on what you wanted to do. I think your solution only locks down the index page... try this: in application_top.php, add the following new code: . . . // navigation history if (tep_session_is_registered('navigation')) { if (PHP_VERSION < 4) { $broken_navigation = $navigation; $navigation = new navigationHistory; $navigation->unserialize($broken_navigation); } } else { tep_session_register('navigation'); $navigation = new navigationHistory; } $navigation->add_current_page(); // start of new code if (!tep_session_is_registered('customer_id')) { if ($HTTP_SERVER_VARS["SCRIPT_NAME"] != (DIR_WS_HTTP_CATALOG . FILENAME_LOGIN)) { if ($HTTP_SERVER_VARS["SCRIPT_NAME"] == (DIR_WS_HTTP_CATALOG . FILENAME_CREATE_ACCOUNT)) { // don't do anything and let process through } else { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } } } // end of new code . . .
  2. hi steve, thanks for letting me hit your site. yes, i see that... there's must be something wrong with the contribution code i have... i will have to look at it... so how does a customer use both a gift certificate and a coupon? hit back button after redeeming gift voucher?? kinda weird...
  3. 2 boxes named the same thing? heh I wouldn't recommend that. If they are compatible, would simply use 1 box for both. if they are not, would rename one. What kind of error do you get btw? Nothing happen, page crash, runs with error? i thought 2 boxes WAS the default behavior... how else can a customer enter both a gift code and a coupon? or did you mean that there should be 2 boxes with different names? do you have a working site i can check? thanks,
  4. ok. that's not it... creloaded has some what up to date files... Help! somebody! this gift voucher is driving me nuts... my guess is that 2 input/value pairs of the same name, but different values are passed to checkout_confirmation.php page but the code can only read from the second pair... i changed the "post" to "get" and confirmed that the code is, indeed, passing 2 pairs of the same name. No one else has this problem??
  5. never mind... it looks like the coupon module i have in my creloaded 6 version, has some updates which look even newer than version 5.10b but the ot_gv.php is really old at version 1.2... :o it looks like the code is really different... i will look through all 96 files of 5.10b now... :blink: to update differences....
  6. Hi, I was wondering if someone has seen this problem before... I have a problem after a gift voucher is created... the checkout_payment page now shows 2 input boxes in the "Credits Available" section, 1 for gift voucher, the other for coupon. but the 1st input box (for gift voucher) does not work.... in addition, if i input the gift voucher code in the coupon box... it works... I checked the html... both input boxes for gift and coupon are named the same thing... so why is the first box not working?? does anyone else have this problem? thanks in advance
  7. a lot of ppl sell them online... free searches avail... maybe write a short script to grab them? or use the webtools at usps.com and grab them that way
  8. Hi all, I don't know if anyone else wanted to do this, but i wanted to provide free shipping on jewelry orders over $100 BEFORE taxes.. but all the coding show calculations post taxes... I couldn't find any ways or anywhere in the admin to set this setting... so i recoded the following: - shipping_estimator.php - order_shipping.php - ot_shipping.php to use the Order object->subtotal, instead of ->total initial tests seem to work. If anyone else did this, could you let me know if i did it right? thanks so much! lovelypink dot com
×
×
  • Create New...