Forums / General Questions / After an order is complete

After an order is complete

Locked

Views: 791

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
7 Feb 2009, 11:39 AM
#1
accurax avatar

accurax

New Zenner

Join Date:
Mar 2008
Posts:
67
Plugin Contributions:
0

After an order is complete

Can anyone tell me how i would go about running a script when an order has been completed?

I want to do it on the "thankyou for your order" page

But this page looks like its just called via a function embedded in the index page... if someone could point me at this function or class id be very very happy :)

Thanks in advance guys

oh .. the script is for a custom "most purchased items" module, so it just adds a counter to a table when an item is bought :)

7 Feb 2009, 11:55 AM
#2
accurax avatar

accurax

New Zenner

Join Date:
Mar 2008
Posts:
67
Plugin Contributions:
0

Re: After an order is complete

its ok guys...

included->modules->pages->checkoutsuccess->header.php

is where my scripts getting plopped :)

Love y'all

7 Feb 2009, 4:39 PM
#3
ajeh avatar

ajeh

Oba-san

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

Re: After an order is complete

Thanks for the update on what worked for you on this ... :smile:

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!