Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / How to customize my checkout_success page?

How to customize my checkout_success page?

Locked

Views: 826

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
3 Oct 2009, 1:00 PM
#1
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

How to customize my checkout_success page?

I'm using PayPal website payments standard and it's working fine.

But would like to customize Zen Cart's checkout_success page.

I know how to edit .html pages but the checkout_success page is a .php file and I have no idea how to tackle this. Or even if it's possible/permissible.

Have looked all over forums and wiki for an answer. Advice appreciated. Thanks in advance.

3 Oct 2009, 3:45 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to customize my checkout_success page?

Most pages in Zencart are created by (at least) 2 files - the PHP file that handles the working stuff and a template file that determines the display of the page. In the case of checkout success, the template file is includes/templates/template_default/templates/tpl_checkout_success_default.php. That's probably the one you want to edit. PHP files can contain PHP as well as HTML.

3 Oct 2009, 5:22 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How to customize my checkout_success page?

And remember to save your edited copy in
includes/templates/your_template/templates/tpl_checkout_success_default.php
so you don't lose your modifications when you upgrade.

9 Oct 2009, 7:06 AM
#4
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Re: How to customize my checkout_success page?

Thanks Stevesh and gjh. Working well now.