- Posts: 966
- Thank you received: 11
Please Add More Sub-categories to Module
Thanks!!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
From your professional experience which module(s) would you recommend to use to do this?
Thanks!!
Please Log in or Create an account to join the conversation.
extensions.joomla.org/extensions/extensi...hop-extensions/21225
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I have the main category "Women" then in that category I have a sub-category "Shoes" and in that sub-category I have some sub-categories.
When I click on the sub-category "Shoes" all the sub-categories are showing above the products and I don't want that. How can I prevent that please?
Thank you!!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The menu I created is a Joomla menu type "HikaShop » Categories listing".
When I click on the main category, for example, "Women", it shows the sub-categories of that category which is what I want. But if I click on any of the sub-categories it shows the subcategories above the listing.
If you take a quick peak you will get a better understanding of what I am trying to explain. It is the horizontal menu at the top.
I sent the URL privately. Thank you!!
Please Log in or Create an account to join the conversation.
If you want a products listing, then use a products listing menu item and when you click on your top links you'll only get a listing of the products in these top categories.
Please Log in or Create an account to join the conversation.
I was hoping that the main categories (Clothing, Shoes, Handbags & Wallets ) would be "categories listing" and the sub-categories would just show the products...
As you can see it doesn't look good with all the subcategories at the top as they are so many
Please Log in or Create an account to join the conversation.
That's how everyone else expect the categories listings to work in fact. It would be strange to not be able to display additional levels of categories at all.
Please Log in or Create an account to join the conversation.
I was hoping that the subcategories would have a different CLASS as you drill down but they use the same class.
.hikashop_subcategories_listing
.hikashop_subcategories
Is there a way that I can give them a different class and which file would I make the change in if it's possible? My goal is to try and hide the sub-categories on the 2nd level as per my previous post.
Thank you in advance!!
Please Log in or Create an account to join the conversation.
It you would like to remove their display based on the level you're in, it would require to customize the file "listing_div" of the view "category" via the menu Display->Views.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
... if the current category has the id 18, we skip the display of the category listing.
<?php if($_GET==18) return; ?>
I went to Display > Views > Category > listing_div
I add the code below and the ID for the category "Clothing" which is (17) but all the sub-categories are still showing.
I may have totally misunderstood you.
Thanks!!
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Did you add it at the beginning of the "listing_div" file of the "category" view of your front-template ? Also, note that your shoes ID is 18, so as Nicolas said, you should add this code at the beginning of your "listing_div" file :
Please Log in or Create an account to join the conversation.
I didn't realize that I needed to put it at the very top of the file. I moved it to the top and it worked.
I have several categories that I want to hide though how can I add the other categories to the code? For example, I want to hide the sub-categories in Clothing (ID 17), Shoes (ID 18), and Handbags (ID 19).
Thank you very much!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
<?php if($_GET==18 OR 19 OR 20) return; ?>
Thank you very much for your help!!
Please Log in or Create an account to join the conversation.