Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Subcategories & Site Map

Subcategories & Site Map

Locked

Views: 2,057

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
1 Nov 2006, 7:14 AM
#1
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

Subcategories & Site Map

how to make subcategories to appear in the site map..? only categories tht displays in my site map. why is tht?? does anyone know?

thx..

1 Nov 2006, 2:19 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Subcategories & Site Map

Perhaps you have an issue on your database with the parent_id in the categories table ...

I have gone 5+ levels deep on Categories with subcats and they all show on the Site Map ...

Note: be sure you do not have Categories with both Categories and Products in the same Category ... Categories hold Products or Categories hold Categories ... never both ...

1 Nov 2006, 4:36 PM
#3
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

Re: Subcategories & Site Map

thx ajeh for the respond..

im still not sure wht happened here. let me explain how i add my products.

  1. admin>catalog>categories/products>new category

i create ex. 3 new category car, cake & ball.
then in the car category i create new product ex. ford, honda & volvo. and the rest categories...

it should appear like this right?

Car
-ford
-honda
-volvo

Cake

Ball

but it doesnt. have i done the right way? wht am i missing?

1 Nov 2006, 7:08 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Subcategories & Site Map

Do you have any Products in the Car category?

1 Nov 2006, 8:07 PM
#5
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

Re: Subcategories & Site Map

i create ex. 3 new category car

then in the car category i create new product ex. ford, honda & volvo.

ford, honda & volvo are examples of products in the car category.. it could be something else..

2 Nov 2006, 2:32 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Subcategories & Site Map

Do you have an URL that we can look at?

3 Nov 2006, 1:41 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Subcategories & Site Map

The site map shows Categories and any subcategories ... I see your Categories and you do not appear to have subcategories ... just Products ...

Products do not appear on the Site Map ...

3 Nov 2006, 1:59 AM
#8
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Subcategories & Site Map

I do recall that there was a MOD around that allowed products to be shown in the sitemap. I have it installed with my sitemap but don't remember where it was originally found in the forum.

3 Nov 2006, 6:04 PM
#9
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

Re: Subcategories & Site Map

oic.. may be ive misunderstood the definition of the site map.. i thought the products acts like subcategories. but if theres any chance it can be shows on the site map plz let know while im looking around for other threads.

thnx..

3 Nov 2006, 7:07 PM
#10
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Subcategories & Site Map

Here's a zip with the modified file:

Just unip and place the file in includes -> classes and then up it to your server.

Hope this helps

[Attachment no longer available]

3 Nov 2006, 10:05 PM
#11
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

Re: Subcategories & Site Map

thanx .. Clyde. will give it a try. hope it works..

6 Nov 2006, 3:06 AM
#12
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

Re: Subcategories & Site Map

It works..!! thanx a lot Clyde.. all the products now shows up on the site map. Great job!