Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How do I change my "product not found" page?

How do I change my "product not found" page?

Locked
This thread is locked. New replies are disabled.
22 Nov 2007, 3:36 PM
#1
thorcusmodee avatar

thorcusmodee

New Zenner

Join Date:
Nov 2007
Posts:
20
Plugin Contributions:
0

Post #1 by thorcusmodee

Hi folks, we list a lot of stuff in google base so often get people trying to get to our products from a direct link that includes the product ID number. Once the item is bought I want the page to say "sorry that item has already been sold" rather than the defualt "product not found" I have tried to find how to do this but have drawn a blank - anybody know what I need to do?
Thanks in advance,
Dave.

22 Nov 2007, 3:49 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Nov 2007, 11:13 AM
#3
thorcusmodee avatar

thorcusmodee

New Zenner

Join Date:
Nov 2007
Posts:
20
Plugin Contributions:
0

Post #3 by thorcusmodee

Hi DrByte, thanks for the response, being a non software sort of guy I don't understand what you have told me. When I do the search thing I get 5 results back so I assume all those files contain the same text string, I want to make sure I am not changing the wrong thing - how do I know which one I should be changing? Also the tutorial says to change it on my PC - do I have to use that FTP thingy to do that?
God I wish Zen Cart was hardware based:D

23 Nov 2007, 2:12 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

Assuming you're using the default product-type, this is the file:
/includes/languages/english/product_info.php

Yes, you'll need to "use that FTP thingy"

And you should probably save your changes into an override folder named after the custom template you're building. There are more FAQs on templating and overrides etc:
https://www.zen-cart.com/tutorials/index.php?article=230
https://www.zen-cart.com/tutorials/index.php?article=143
https://www.zen-cart.com/tutorials/index.php?article=36
and many others in the FAQ area.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.