Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / What file to amend subcategories page?

What file to amend subcategories page?

Locked

Views: 644

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

wurdup

New Zenner

Join Date:
Oct 2009
Posts:
28
Plugin Contributions:
0

What file to amend subcategories page?

I've put a table on my tpl_modules_products_all page so I can change the layouts and sizes of products but I can't find the right files for when you click categories (and it displays all in that cat) and also the subcategories page where it displays the subcats.

Anyone know what files they are?

14 Oct 2009, 9:39 PM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: What file to amend subcategories page?

The product listing page is largely controlled by /includes/modules/your_template/product_listing.php. What do you want to do with the layout there? There are mods that allow certain customizations without the need for you to hack files, like Column Layout Grid in Free Addons, or Flexible Product Listing posted in the forum.

For the subcat page you might try /includes/templates/your_template/templates/tpl_index_category.php, /includes/templates/your_template/templates/tpl_modules_category_row.php and /includes/modules/your_template/category_row.php, depending on how you are trying to change the layout.

Also, you don't need an old-fashioned HTML table to lay out a page. If you don't know modern div/css layout principles, look at https://www.w3schools.com for lots of good introductory info.

14 Oct 2009, 9:56 PM
#3
wurdup avatar

wurdup

New Zenner

Join Date:
Oct 2009
Posts:
28
Plugin Contributions:
0

Re: What file to amend subcategories page?

All I want to do is put the code into some tables like I've done on all the other pages but I can't seem to find the right file for those pages. I'm experienced with html/css/php and find it far easier than installing add-ons. I will check these files out though thankyou.