Zen Cart Logo
Forums / General Questions / Order 2 products at once and generate 2 seperate orders

Order 2 products at once and generate 2 seperate orders

Locked

Views: 1,195

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
8 Jan 2009, 7:49 PM
#1
patf avatar

patf

Zen Follower

Join Date:
May 2008
Posts:
200
Plugin Contributions:
0

Order 2 products at once and generate 2 seperate orders

Hi guys,

I am wondering is there any way of generating an individual order number for each product ordered. For various reasons we wish to ship all orders seperately. For example someone orders 3 products - we would like there to be 3 seperate orders created that we can print seperate packing slips, update seperately etc.

We currently use super orders and do split packing slips but this means we can't use the batch updates / batch form prints etc and also means manually changing orders to part dispatched and tracking back to update them etc.

Just wondering is this at all possible ??

8 Jan 2009, 7:52 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Order 2 products at once and generate 2 seperate orders

Be quite a bit of customization to manage shipping, charges, taxes, etc. etc. but it could be done ...

Have you got your coder's hat on? :smartalec:

Got a big wallet? :cool:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Jan 2009, 7:59 PM
#3
patf avatar

patf

Zen Follower

Join Date:
May 2008
Posts:
200
Plugin Contributions:
0

Re: Order 2 products at once and generate 2 seperate orders

My coders hat has NOOB in luminous green paint on it.

My wallet is big but sadly not full :P

8 Jan 2009, 8:47 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Order 2 products at once and generate 2 seperate orders

That does make things more difficult ... :unsure:

There is quite a bit of customization required for 1 order per product in an order with multiple products ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Feb 2010, 12:17 AM
#5
chrismarie avatar

chrismarie

New Zenner

Join Date:
Apr 2009
Location:
Chicago, IL
Posts:
45
Plugin Contributions:
0

Re: Order 2 products at once and generate 2 seperate orders

Hey Linda,
Exactly how big would one's wallet have to be to get this accomplished? My skill at coding is moderate when pointed in the right direction, but I wouldn't even know where to begin.

6 Feb 2010, 1:41 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Order 2 products at once and generate 2 seperate orders

If you look at the order class you will see where the Orders are created ...

You would have to break this down into processing each product one by one and make the separate order looping through the cart and managing the payments etc.

All is a lump total and that also would have to be broken down to not damage the integrity of the payments as well ...

I wouldn't want to be on either end of this one ... paying out the nose nor pulling out my hair ... :lamo:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Feb 2010, 2:48 PM
#7
chrismarie avatar

chrismarie

New Zenner

Join Date:
Apr 2009
Location:
Chicago, IL
Posts:
45
Plugin Contributions:
0

Re: Order 2 products at once and generate 2 seperate orders

lol! That makes two of us! Thanks for replying :)

This is the only solution I could think of to achieve my end goal, but maybe I could pick your brain for a second and see if I'm being silly and trying to put a cast on a papercut.

My real objective is to generate a separate pdf invoice for each product - I don't really care about them all being separate orders, but I'm trying to use the invoices as coupons. I've got rl_invoices3 working to generate the PDFs and all the invoices could be sent together under the umbrella of one order - there could even be multiple products on one page, I just need them separated.

Like if a customer placed an order for 2 of Item 1 and 1 of item 2, I'd need the invoice to read:

Item 1 - Order #-1, picture, info and junk

Item 1 - Order #-2, picture, info and junk

Item 2 - Order #-3, picture, info and junk

Should I continue on my current path to folly and endure much gnashing of teeth or should I use my noodle to find a simpler way. I'm thinking that I can take what you said about the order class and apply it to the invoice generator's php. I'm off to Frankenstein some code!

By the way, I haven't posted much on the forum because I rarely have the answers to peoples' complicated questions and someone generally beats me to the punch on the easy ones, but I've read a ton of threads and you're incredibly helpful. I'd buy y'all 1,000 cups of coffee if I could, but for now I can only afford a couple (well, depends on where you're getting the coffee, $20 will get you like 3 at Starbucks, but 10 at Dunkin' Donuts ^_^) Thanks for everything!

6 Feb 2010, 3:14 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Order 2 products at once and generate 2 seperate orders

Let us know if you come up with a solution for this ... meanwhile ... I think I need some coffee ... :cool:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Feb 2010, 3:39 PM
#9
chrismarie avatar

chrismarie

New Zenner

Join Date:
Apr 2009
Location:
Chicago, IL
Posts:
45
Plugin Contributions:
0

Re: Order 2 products at once and generate 2 seperate orders

Will do! I hope my contribution is just a drop in the bucket of the oodles of donations that y'all receive. As soon as life ceases to suck, I'm definitely getting a donation subscription. This is the most helpful community I've ever seen.

I'm a tea person myself, but enjoy your coffee!