Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Add order number to orcer confirmation page

Add order number to orcer confirmation page

Locked

Views: 2,181

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
15 Feb 2008, 6:32 AM
#1
microbe avatar

microbe

New Zenner

Join Date:
Aug 2007
Posts:
26
Plugin Contributions:
0

Add order number to orcer confirmation page

Hey there,

Question about direct bank deposit page.

Customer places order, steps through cart and comes to step 3 of 3 - order confirmation.

It has all my bank details OK but there is no reference...matching payment to customer might become tricky.

In dirbank.php I have put in a line "Reference: " and the customer ID but what I would really like is the order number.

Has it been generated by this point in execution? If so, where can I pick it up, even if setting a session variable earlier.

Thanks for any ideas.

8 Apr 2008, 9:49 AM
#2
agamic avatar

agamic

New Zenner

Join Date:
Apr 2007
Posts:
24
Plugin Contributions:
0

Re: Add order number to orcer confirmation page

microbe:

Hey there,

Question about direct bank deposit page.

Customer places order, steps through cart and comes to step 3 of 3 - order confirmation.

It has all my bank details OK but there is no reference...matching payment to customer might become tricky.

In dirbank.php I have put in a line "Reference: " and the customer ID but what I would really like is the order number.

Has it been generated by this point in execution? If so, where can I pick it up, even if setting a session variable earlier.

Thanks for any ideas.

Hi I would like to do this as well but I can not find which Variable / Constant is being passed and at which point in the email confirmation. Does anyone know which one to use so it shows up. I have spent days going through the forums and testing all the variables which seem obvious but it still comes up blank rather than showing the order number. It would also be usefull to have a surname as well if this is possible?:

For the reference use:
Bank name: bank
Account Name: co. name
Account no: xxxx xxxx
Sort Code: xx-xx-xx

Many thanks

23 Apr 2008, 3:55 PM
#3
agamic avatar

agamic

New Zenner

Join Date:
Apr 2007
Posts:
24
Plugin Contributions:
0

Re: Add order number to orcer confirmation page

agamic:

Hi I would like to do this as well but I can not find which Variable / Constant is being passed and at which point in the email confirmation. Does anyone know which one to use so it shows up. I have spent days going through the forums and testing all the variables which seem obvious but it still comes up blank rather than showing the order number. It would also be usefull to have a surname as well if this is possible?:

For the reference use:
Bank name: bank
Account Name: co. name
Account no: xxxx xxxx
Sort Code: xx-xx-xx

Many thanks

Anyone have an idea for this? Otherwise I will just have to use a hard coded message saying "please use the order number as your reference"

Thanks

20 Sep 2008, 1:37 PM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,691
Plugin Contributions:
56

Re: Add order number to orcer confirmation page

If you are modifying tpl_checkout_success_default.php, you can use the variable $zv_orders_id .

20 Sep 2008, 4:40 PM
#6
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

Re: Add order number to orcer confirmation page

I got an emailing notifying me of this reply, so because I know that adding $zv_orders_id alone does not work, I went into the link I posted above to find the solution, but I find I posted the wrong link, which is strange because I remember copying it from the page below;

http://www.zen-cart.com/forum/showthread.php?t=93994&highlight=order+confirmation+bank+details