Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

footer.php


hesus

Recommended Posts

I have this webpage where members get a certain percent discount when they buy product from different member webshops. When they enter a webshop their memberId is passed as a variable in the url. I've defined som variables in footer.php that contains the total order price, order id and memberId. When a purchase is complete the variables should be passed to a script at my server. The problem is that when a purchase is completed in a OsCommerce the footer.php is not called. I tried using cookies and sessions and then just "pull" them out in checkout_success.php and call the script. But I'm not able to get the values no matter how I do it. How come footer.php is not called when a purchase is completed and can you somehow force it to load footer.php?

 

Any other suggestions to how I can do this??

 

Thanks

Link to comment
Share on other sites

Perhaps you could try including your code in includes/application_top.php which gets called in checkout_process.php whereas footer.php does not?

Graeme

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...