Site maintenance: Sun 15 Nov, from 20:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / Customizing Checkout Success Page Note based on Product Purchased

Customizing Checkout Success Page Note based on Product Purchased

Locked

Started by redknights11 on 8 Apr 2008, 9:30 PM · Views: 2,772

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
8 Apr 2008, 9:30 PM
#1
redknights11 avatar

redknights11

New Zenner

Join Date:
Apr 2008
Posts:
1
Plugin Contributions:
0

Customizing Checkout Success Page Note based on Product Purchased

Zen Cart noob here, but I have a question I didn't see elsewhere.

How can I customize the success page (/shop/index.php?main_page=checkout_success) to add a custom note based on a specific product being purchased?

Thanks,
RedKnights

8 Apr 2008, 11:40 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Customizing Checkout Success Page Note based on Product Purchased

redknights11:

Zen Cart noob here, but I have a question I didn't see elsewhere.

How can I customize the success page (/shop/index.php?main_page=checkout_success) to add a custom note based on a specific product being purchased?

Thanks,
RedKnights

R,
If you want to hard code wording:

includes/ templates/ custom/ templates/ tpl_checkout_confirmation_default.php

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

28 Apr 2008, 2:30 PM
#3
kbmets7 avatar

kbmets7

Zen Follower

Join Date:
Jan 2008
Posts:
89
Plugin Contributions:
0

Re: Customizing Checkout Success Page Note based on Product Purchased

I;ve searched and searched and can't find this answer. What if you don't want to hard code it? Is there an easy way to chnage text on this page?

28 Apr 2008, 2:54 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Customizing Checkout Success Page Note based on Product Purchased

kbmets7:

I;ve searched and searched and can't find this answer. What if you don't want to hard code it? Is there an easy way to chnage text on this page?

K,
What you want to do is navigate to the checkout_success page and high light some of the wording to clone,

  1. What you are doing is finding the wording on this page to locate the .php file to edit
  2. Read below to finish
    Developers Tool Kit

admin panel/ tools/ developers tool kit/

  1. In the bottom box (left hand corner) enter in the Search wording.
  2. Click the drop down menu under All Files Look-ups: Choose: All Files-Catalog/Admin
  3. Click search, and WALA, you will find the files associated with this search.
  4. Open that file in a good text editor and change the Wording

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

29 Mar 2009, 6:26 AM
#5
draccus avatar

draccus

New Zenner

Join Date:
Mar 2009
Posts:
1
Plugin Contributions:
0

Re: Customizing Checkout Success Page Note based on Product Purchased

These are bad answers...

I'm trying to find out the same thing but no one seems to know how to use product specific comments or html on the CHECKOUT SUCCESS page. I know where all the files are, I just do not know how or in what zen cart stores variables at the success pages.

i'm thinking the only way to get the current product purchased information is through a $db sql query.

These questions have been ignored since the begging of Zen Cart. Someone please prove me wrong.

Give me some code that will provide product specific text for certain products after successfully purchasing a product(s)...

Simple Code Example:

if product_id == 1 then echo BLA_BLA_BLA
else if product_id == 3 then echo BLOBLOBLU