If this is your first visit, check our documentation. To post, register or login.

Category page other than main page

Locked

Started by mhartpottery on 4 Jul 2008, 5:15 AM · Views: 902

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
4 Jul 2008, 5:15 AM
#1
mhartpottery avatar

mhartpottery

New Zenner

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

Post #1 by mhartpottery

Hi, after searching through the forums, I have been unable to find an answer to my question.

How would I go about creating a page that shows all the product categories I have on my site?

I realize that can be done on the main site through admin, but the main page on my site has a lot of other information on it. The entire site is generated by Zen Cart, and the 'store' portion is only a small part, which is why I have it set up this way.

All I want is to have a link to the 'store' in the header that takes the user to a landing page featuring all the product categories. There are only 5 main categories, so there won't be a problem in terms of the page being too large.

I'm pretty much a php n00b, so added to the mindbending architecture of the Zen Cart file structure, I have been unable to get my head around what exactly I need to do to generate such a page.

I did install the About Us module to create my own custom page, and I figure tpl_index_categories has something to do with generating such a page, but my trial and error so far has been fruitless.

So to reiterate, how do I make a custom page (one other than the main page) that displays all my product categories? Many thanks in advance!

4 Jul 2008, 7:26 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

A link to what you have and are doing will assist

Zen-Venom Get Bitten

4 Jul 2008, 12:34 PM
#3
mhartpottery avatar

mhartpottery

New Zenner

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

Post #3 by mhartpottery

Here is a link to the store so far:
http://www.mhartpottery.com/store/catalog/

The 'categories' link in the information sidebar is what I eventually would like to bring users to a page displaying all the categories.

4 Jul 2008, 1:11 PM
#4
mhartpottery avatar

mhartpottery

New Zenner

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

Post #4 by mhartpottery

To clarify, if I understand correctly you can have the main page display the categories in the body through the Admin settings, so the coding to do that must be in one of the php documents. I want to take that and put it on a custom page, but I have no idea where to find that code.

4 Jul 2008, 3:10 PM
#5
mhartpottery avatar

mhartpottery

New Zenner

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

Post #5 by mhartpottery

Never mind, I believe I figured out what I wanted!

I can link to index.php?main_page=index&cPath=0 and it will bring up a top-level categories page.