Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Appelkvist

Archived
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Real Name
    Emil Appelkvist

Appelkvist's Achievements

  1. Hi everyone! So i have a small problem with my invoice. I have the x_member contribution installed. When i process an order my invoice says everyone get discount even those who are marked not to get a discount. I have tried in differnet ways to get this to work, but can?t figure it out. Any ideas anyone? Cheers m8s
  2. I did what you said, and now i works for me too! Its incredible i?ve been trying with that code for days! You?re great! ;) Cheers Appelkvist
  3. Well this code maybe not work wit osc2.2 ms2, perhaps its not compitable. What version are you using? Has anyone got this code to work with osc2.2 ms2? Its a shame i can?t get this too work, its a fine cont.! Im a newbie that could explain a lot ;)
  4. i have a problem using the freeshippingpayment 5.0, i get a error in admin>modules>payment it says: Fatal error: Cannot redeclare class sample in /home/virtual/site20/fst/var/www/html/butik/catalog/includes/modules/payment/sample.php on line 13 and it has removed the possibility to install the different modules. Im using osCommerce 2.2-MS2. Any ideas? Cheers.
  5. It sounds like it's keeping the sessions.. did you do this: OPEN AND MAKE CHANGES IN THIS FILE: /catalog/checkout_success.php find tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL')); and replace with // Added a check for a Guest checkout and cleared the session - 030411 if (tep_session_is_registered('noaccount')) { tep_session_destroy(); tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL')); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL')); } That will delete the session if its a guest -Dennis[/code] Having some problems with the code. In account_succes the"tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL'));" dont exist, however there is a simular string "tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string)); " so i replace that with "// Added a check for a Guest checkout and cleared the session - 030411 if (tep_session_is_registered('noaccount')) { tep_session_destroy(); tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL')); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL'));" When i do this a get a error message = unexpected $ in line 163 Any ideas? I get the script to work but i doesnt work when the time comes to kill the session. Cheers m8!
  6. Ihave exactly the same problem as you have, if you find a solution please let me know! Cheers
  7. I have exactly the same problem as you, have no idea how to fix it. If you find the solution please contact me. I?ll do the same. Cheers
×
×
  • Create New...