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..
Views: 2,057
Zen Follower
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..
Oba-san
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 ...
Zen Follower
thx ajeh for the respond..
im still not sure wht happened here. let me explain how i add my products.
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?
Oba-san
Do you have any Products in the Car category?
Zen Follower
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..
Oba-san
Do you have an URL that we can look at?
Oba-san
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 ...
Deceased
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.
Zen Follower
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..
Deceased
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]
Zen Follower
thanx .. Clyde. will give it a try. hope it works..
Zen Follower
It works..!! thanx a lot Clyde.. all the products now shows up on the site map. Great job!
Tell staff why this post should be reviewed.