Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

multiple logins


bingymon

Recommended Posts

I'd like to know if this is possible or whether there are users that could suggest alternative approach.

 

The product I have is a service. Users come to our site and login to their control panel and use the service from there. I'm now trying to bring OC into the mix so we can start accepting payments through the site. So, I'd like to provide a link that says "add funds" which will lead into the catalog and the checkout process.

 

I would like the user to be logged into the shopping cart at the same time that they login to their control panel so they don't have to create an account while adding funds to their account.

 

Can someone suggset a good approach? I was thinking of adjusting our login form so that a user would be logged in to the control panel and shopping cart simultaneously (sp?) but not sure if that'l work and how to create the form.

Link to comment
Share on other sites

The user registration in osC works through sessions (and/or session cookies) so you should have your initial login mimic that session data so osC thinks they are actually logged in. Look into the login.php script to see what gets written and with which functions. I think the easiest will be to include those functions in your other application and work with that.

 

HTH

<Mattice>

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

Why you think you need whole shop system for just adding funds? May be it's easier to add some functionallity to you existing software?

There is always more than one way to do it.

And always Keep It Simple, Stupid.

Link to comment
Share on other sites

Good point slilencer. When I look at osC it does seem like a bit of an overkill but I know its customizable to our needs and it seems like it will do a good job in terms of security etc. I'll poke around and see what other options are available...thanks.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...