Categories - What am I missing?
I'm using 1.3.8a
I havent done any upgrading recently.
I know there is a setting somewhere in Admin, but I am totally missing it.
How do you set the categories so that if you click on a main category and you have sub-categories, the subs show up on the main category's page.
IE I have yarn as a main category, under that I have by Brand, and By Yarn Weight.
Under By Brand I have 2 different brands so far.
So, for example, when I select By Brand, I should see both brands on the page as well as in the navigation on the left side. If you want to see what I mean
http://www.greatyarns.com/shop
If you click on Yarn and then by brand, you will notice that nothing shows up on the page. But the navigation shows the 2 brands.
What am I missing?
Re: Categories - What am I missing?
Might you have produvts under yarn and then additional subcats also?
Yarn->
By Brand->
Prism
Trendsetter Yarns
Re: Categories - What am I missing?
Yes I would have those sub categories too!
Re: Categories - What am I missing?
Quote:
Yes I would have those sub categories too!
So if you got what I asked correctly that might be the issue
Quote:
Originally Posted by Tutorial
Note: Subcategories can hold sub-subcategories or products, but not both at the same level.
Check again that whare you have products, that you have NO subcats under it
Re: Categories - What am I missing?
???Doubled up same post somehow???
Re: Categories - What am I missing?
Quote:
Originally Posted by
kobra
So if you got what I asked correctly that might be the issue
Check again that whare you have products, that you have NO subcats under it
There are not categories with products and Sub cats. All Categories either have a sub category or products.. never mixed. I know that much. I have been using Zen Cart on my own site for more than 5 years. This is a clients cart.
Is there some one out there that can give me a straight answer? PLEASE?
Re: Categories - What am I missing?
In the view source I am seeing:
Quote:
<!-- BOF: Display grid of available sub-categories, if any -->
<!-- hsyong remove categories thumbnails -->
<!-- EOF: Display grid of available sub-categories -->
This makes me think that the display of the categories has been removed or commented out in your template ...
If you were to switch to Classic Template ... do they reappear?
If so, do a search in the Tools ... Developers Tool Kit ... in the bottom input box for:
category_row
select Catalog ... and click SEARCH ...
Do you see a reference to calls to the category_row that have been commented out ... the lines would be commented with two forward slashes // at the beginning of the line ...
These should be in your template and override files and you should be able to remove the commented out lines to get them back ...
Also check the setting Configuration ... Product Listing ...
Quote:
Show SubCategories on Main Page while navigating
Show Sub-Categories on Main Page while navigating through Categories
0= off
1= on
Re: Categories - What am I missing?
Hi Linda!
The categories did come back when I went back to the classic template.
I did the search like you mentioned and this is what I got. Do you see anything? The only thing I see are "*" in the code. Could that be it?
http://i625.photobucket.com/albums/t...ar/catrows.jpg
Also, in the Configuration>Product Listing, Those settings are missing.
Re: Categories - What am I missing?
Look at the two tpl_index_categories.php files ... the one for template_default has the code for the rows and the one for your template does not ...
Re: Categories - What am I missing?
Search on
hsyong remove categories thumbnails
for many threads about this problem, and the exact solution (code to copy).
Re: Categories - What am I missing?
Hi,
I have problems with showing subcategories on category page in some cases.
1)I have seen other forums and check all the settings for the admin.
2)I use multisite module and I checked sites' relations
3)I don't see this kind of this code in the source of the category page <!-- hsyong remove categories thumbnails -->
-You can see following this link that I can't see the subcategories
http://okidoqui.com/index.php?main_page=index&cPath=81
-Or here as well http://okidoqui.com/index.php?main_page=index&cPath=73
-BUT here the subsubcategories are displayed http://okidoqui.com/index.php?main_p...x&cPath=73_102
DOes anyone have any suggestions?
Thanks in advance.
Riky
http://okidoqui.com/
Re: Categories - What am I missing?
Make sure that you do not have Categories and Products mixed in with the same Category ... Categories hold Categories -- or -- Products but not both ...
When you hit reply, please answer the questions that are listed ...
Try a switch to the Classic Template just to rule out a template issue ...
Do you import your Products? If so, do all of your Products have a master_categories_id in the products table if you look at them via phpMyAdmin ...
NOTE: all other duplicate posts were deleted please just use one post on this thanks ...
Re: Categories - What am I missing?
That was it! The Categories were totally edited out. I did the code switch that Glen mentioned, and now I am fixed!
Thanks!
Re: Categories - What am I missing?
Quote:
Originally Posted by
Ajeh
Make sure that you do not have Categories and Products mixed in with the same Category ... Categories hold Categories -- or -- Products but not both ...
When you hit reply, please answer the questions that are listed ...
Try a switch to the Classic Template just to rule out a template issue ...
Do you import your Products? If so, do all of your Products have a master_categories_id in the products table if you look at them via phpMyAdmin ...
NOTE: all other duplicate posts were deleted please just use one post on this thanks ...
In this case :
http://okidoqui.com/index.php?main_page=index&cPath=73
1)There are not products mixed ith categories.
2)I tried to switch template but anyway nothing change because I'm using multisite module so If change template it keeps the one assigned for okidoqui.com
3) I do import and All products have master_categories_id assigned .
It is very weird that in some cases I see the subcategories and in other cases not.
Any other suggestions?
Thanks in advance
Re: Categories - What am I missing?
Quote:
Originally Posted by riky
I tried to switch template but anyway nothing change because I'm using multisite module
You have asked this in Setting Up Categories, Products, Attributes that is for default issues in ZenCart
Probably better to ask in the support thread for the 3rd party multisite module and might have already been answered there