Guest Posted February 10, 2003 Posted February 10, 2003 Before I try an reinvent the wheel, has anyone done a mod to allow multple carts for one user? Example: Client runs an equipment rental house. Their customers might have two or three seperate projects going at a time. Each order needs to stay "open" and editable right up to the last moment. Before I tackle this, any suggestions? Anybody done anything similar? -Jay
Chris Moore Posted February 10, 2003 Posted February 10, 2003 There's a thread about using the different languages as a basis for dofferent shops for the one client, there's also script for changing the languages to english, I'm currently working on a a shop that had two divisions with some overlapping content! Life is a highway!
Guest Posted February 11, 2003 Posted February 11, 2003 Chris, I think I found that thread, but I don't think that's what I am looking for. Maybe you could explain how you thought it would, as I don't understand Thanks, J
Chris Moore Posted February 11, 2003 Posted February 11, 2003 By using the two languages feature you use one database, therefore orders,logins etc are transferred when the buyer goes from one shop to another! Life is a highway!
Chris Moore Posted February 11, 2003 Posted February 11, 2003 Oops, sorry, I just realised I'm talking shops, you're talking carts! :oops: Give each job a number to login under! then the client can have multiple carts open at once! Life is a highway!
Guest Posted February 11, 2003 Posted February 11, 2003 Chris, As much as I can figure out, this functionality isn't built in, right? A user starts a cart, and as long as as the user doesn't "check out", the information is retained in a cookie for future use. Then when the user "checks out" the order is essentially closed and uneditable, right? How does one start a second session, or set a secondary cookie? I don't think it's built in. Looks like what needs to be done 1) enter an order , the status is built in (pending, etc.) 2) and just let the user be able to open the cart back up and edit based on status. I've done a simplified one "raw", but I'd really like to use the OS Commerce framework. It would save me a whole bunch of time. .....UNLESS I MISSED SOMETHING?
Chris Moore Posted February 11, 2003 Posted February 11, 2003 I just applied to my shop using another email address, while I was logged on! It let me, and I put articles in each cart? So a buyer should have a email address for each job and tie this to that account! Life is a highway!
Guest Posted February 11, 2003 Posted February 11, 2003 Chris, Thanks much for your input, but I'm trying not to use a "workaround". I just took a closer look at the sessions/cookies/tables to see how everything is stored. It seems the session/cookie is not that important for storing cart info (whew, one problem gone, I hope). I'm gonna (try to) add another identifier to the user and after login have it show a list of all "open" orders, and set the cart to show whatever ID is selected. I HATE tearing into code (and struggle with it)!!! Oh well. One more project to put on the list....... .....and if anyone else has done this, please share! I'll update with my results -J
Chris Moore Posted February 11, 2003 Posted February 11, 2003 It seems untidy but if the jobs need to be differentiated it may as well be from login, it's just unfortunate that OSC uses email addresses rather than user names. Maybe you can change that, so that a user can have multiple logins with each user name relating to a job code!? Life is a highway!
Guest Posted February 11, 2003 Posted February 11, 2003 That's exactly what I am going to do.... Everytime a user logs in, I'll put an option to "create new order/estimate" or "choose existing order (from list)". If there are no "existing" it will force a user to "create a new" with a number/id/job name. I'll have to add another ID col to the customers_basket table (no big deal) What ever is chosen, either existing or new, the shopping cart will pull all based on cust_id and the "new" ID_col. I don't think this part is a big deal, but I'm still looking into how the info is passed/matures from a customers_basket to an actual order. I still have to dig in and understand a little better how EVERYTHING is related. OSC is pretty much way more than I need, and it's complexity comes from being everything to everyone, which is good! It's sure nice to have a starting point if you're in my shoes! -J
Chris Moore Posted February 11, 2003 Posted February 11, 2003 "I still have to dig in and understand a little better how EVERYTHING is related." There's a PDF in the OSC download (in the catalog) that gives a mapping of the database which should help! Life is a highway!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.