Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cart Login from Outside the Cart


blakepetersen

Recommended Posts

I was wondering how I can go about making a login/cart contents button that links to the OSC information from outside the confines of the shopping cart. In other words, i have pages outside of the /catalog/ folder that i would like to link with the cart so if someone were to click the login button, they would be taken to the OSC login and after they log in, they would return to the previous page (thats not in the catalog folder) and it would show the "My Account | Log Off | Cart Contents" links that appear when you log in in the shopping cart.

 

I have been able to do this using Joomla and in that, when i'd log in, it would have the pending messages listed (sort of how i would like to have the cart contents and log off links.) Let me know if this makes any sense as i know what i want but don't really know what the technique is called. I have had two monsters today so i a bit excitable so if you have no idea what i'm talking about, let me know. Thanks.

Link to comment
Share on other sites

I was wondering how I can go about making a login/cart contents button that links to the OSC information from outside the confines of the shopping cart. In other words, i have pages outside of the /catalog/ folder that i would like to link with the cart so if someone were to click the login button, they would be taken to the OSC login and after they log in, they would return to the previous page (thats not in the catalog folder) and it would show the "My Account | Log Off | Cart Contents" links that appear when you log in in the shopping cart.

 

I have been able to do this using Joomla and in that, when i'd log in, it would have the pending messages listed (sort of how i would like to have the cart contents and log off links.) Let me know if this makes any sense as i know what i want but don't really know what the technique is called. I have had two monsters today so i a bit excitable so if you have no idea what i'm talking about, let me know. Thanks.

You would have to study the structure of OSCommerce especially how it works. It would require including your header files and such.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...