Forums / All Other Contributions/Addons / how to get the current order no?

how to get the current order no?

Locked

Views: 1,410

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
13 Jul 2006, 11:36 PM
#1
wdrwc avatar

wdrwc

New Zenner

Join Date:
Sep 2004
Posts:
13
Plugin Contributions:
0

how to get the current order no?

I am currrently waorking on a small class attached to the notifier point NOTIFY_HEADER_START_CHECKOUT_SUCCESS.
But I can not figure out how to get the current order No or order_id.
At this stage it is already known, but how can I get it.
Is there any global variable which holds it?
Any advice would be great

Thanks,

wdrwc

14 Jul 2006, 1:46 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: how to get the current order no?

When you hit checkout_success ... a variable is set:
$zv_orders_id

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!