Forums / Templates, Stylesheets, Page Layout / Category With Single Product uses template I cannot find.

Category With Single Product uses template I cannot find.

Locked

Views: 1,608

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
22 Apr 2010, 4:10 AM
#1
moo_cow avatar

moo_cow

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Category With Single Product uses template I cannot find.

Zen Cart v1.3.8a/v1.3.8
Using this Template
http://www.templatemonster.com/zencart-templates/26742.html
Read the FAQs, didn't find it

I've been going through all the pages that show product images and replacing the 'IMAGE_PRODUCT' code so that it displays a popup on mouseover

GOOD PAGE - Success
http://lombardoscustomcutmeats.com/index.php?main_page=index&cPath=1

BAD PAGE - Failure, can't find the page.
http://lombardoscustomcutmeats.com/index.php?main_page=product_info&cPath=5&products_id=179

Whenever a Category only holds one product. Zen Cart chooses a different template to display it in. I have no idea where that page is. I looked in all the Template Pages too. I think it's something native to Zen Cart.

Anyone know where that page is?

moo?

22 Apr 2010, 9:21 AM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Category With Single Product uses template I cannot find.

By default, Zencart shows the product info page rather than an (unnecessary) product listing when a single-product category is selected. You can change that in Admin - Configuration - Layout Settings - Skip 1-prod Categories.

22 Apr 2010, 12:38 PM
#3
moo_cow avatar

moo_cow

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Re: Category With Single Product uses template I cannot find.

stevesh:

By default, Zencart shows the product info page rather than an (unnecessary) product listing when a single-product category is selected. You can change that in Admin - Configuration - Layout Settings - Skip 1-prod Categories.

I like the "Skipping of unnecessary list"

If that's the Product Info Page, where can I edit the Product Info Page? The Includes folder?

Thank you very much Stevesh, I was lost without that.

moo?

22 Apr 2010, 1:37 PM
#5
moo_cow avatar

moo_cow

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Re: Category With Single Product uses template I cannot find.

Hey stevesh, thanks for replying to me. I didn't even know that was the Product Info page.
I found it by searching zencart files

For anyone else whose looking/running a search for the product info page it's in...

INCLUDES/TEMPLATES/TEMPLATE_DEFAULT/TEMPLATES/tpl_product_info_display.php

And to edit how the product image comes in it was
INCLUDES/TEMPLATES/TEMPLATE_DEFAULT/TEMPLATES//tpl_modules_main_product_image.php

product info, single image category, product template

moo?

23 Apr 2010, 6:18 AM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Category With Single Product uses template I cannot find.

Note: You should never edit the files directly in /template_default/; make a copy of the file in the same location under /your_template/ (whatever you have named it) and edit that.
This will leave an undisturbed version of the file in case you mess up and need to start over, and protect your changes from being erased by an upgrade to a new version of Zen Cart.