Forums / Setting Up Categories, Products, Attributes / product type page template not being displayed

product type page template not being displayed

Locked

Views: 1,708

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
19 Oct 2006, 1:52 AM
#1
whitefael avatar

whitefael

New Zenner

Join Date:
Oct 2006
Posts:
10
Plugin Contributions:
0

product type page template not being displayed

I created a template, adding the css, common, images, and templates folders. I then created a new product type, and I made the product files with my new type (i.e. product_comic_info.php, etc.) I was making changes to tpl_product_comics_info_display.php, but none of my changes were showing up. I later learned that it was still looking at tpl_product_info_display.php in the default template folder. The status bar in my web browser shows that it should be using the pages for my product type, so I don't understand why this is happening.

If more information is needed, please let me know. This is my first experience with Zen Cart, so I'm not sure what I'm doing even after reading the FAQs and Wiki.

Thanks!
Brian

19 Oct 2006, 2:16 AM
#2
whitefael avatar

whitefael

New Zenner

Join Date:
Oct 2006
Posts:
10
Plugin Contributions:
0

Re: product type page template not being displayed

Gotta love it when you can reply to your own post! :blush:

I made a change to includes/modules/pages/product_comics_info/main_template_vars.php

I changed

$tpl_page_body = '/tpl_product_info_display.php';

to:

$tpl_page_body = '/tpl_product_comics_info_display.php';

Hope this helps someone else!

Brian