Display categories under root

  • Posts: 43
  • Thank you received: 0
11 years 3 months ago #159060

-- url of the page with the problem -- :http://69.195.124.215/~mictmorg/j33/index.php?option=com_hikashop&view=category&layout=listing&Itemid=254
-- HikaShop version -- : latest Essential
-- Joomla version -- : 3.3
-- PHP version -- : 5.5
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : none

Hello, II have created 4 categories: Publications, Scholarship Donation, Membership, and Joint Membership. I would like my menu option of "Shop" to display these 4 categories but no products. Then the user could click on the category and see the product listing.
I tried following the "tutorial" and created a catgory module. Also created my menu option as "category listing" but it always chooses only one of the categories ( Publications ) and I can't find a way to show the others.
Thanks,

Please Log in or Create an account to join the conversation.

  • Posts: 2143
  • Thank you received: 747
11 years 3 months ago #159068

To start, you should create a listing of categories with a menu: www.hikashop.com/support/support/documen...html#categories_menu
If you follow this tutorial, you should indeed get to a menu configuration screen as shown in the tutorial, with Details and Parameters.

As for the Details (in the left pane), other than "Published", the most important settings are:

  • Type of content: Category
  • Type of layout: Div (you may try others later, but start with this)
  • Number of columns: 4 (if you want your categories all in one row), or maybe 2 (if you want 2 rows with 2 each)
  • Number of items: 4 (because that way all 4 of your categories will be displayed)
  • Associated category: Product category (assuming that your 4 categories are under that "main" category)
  • Associated modules: Leave empty (otherwise you will have products listed below your category listing) - if there is anything due to HikaShop meaning it well and suggesting something automatically, click on the button and follow your common sense to make it going away

Most important Parameters in the right pane should be set as follows:
  • Ordering field: Well, by what factor do you want them ordered?
  • Show subcategories: No child (you don't have any child categories, correct?)

And below for DIV:
  • Type of item layout: Image and title (again, you can play with other later, but take this first)

Now click "Save" in the upper toolbar (not "Save & close").
Then "Joomla menu options" further to the left, to finish your menu settings, if you haven't, yet. Save things there when done.

Now, on your website, reload a page that lets you access the new menu item, depending where you put it. Click and see. Ok?

I imagine that you're well able to take it further from here - otherwise come back here?


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
11 years 3 months ago #159072

I ended up creating a "main" category called All Products. Then moved my categories under there instead of under the root. This seems to have done the trick. My problem was not being able to list the category root or list more than one category. I don't think this is documented very well? Or maybe it's somewhere else? Anyway, I didn't realize that you can't create products categories under the root?

Please Log in or Create an account to join the conversation.

  • Posts: 2143
  • Thank you received: 747
11 years 3 months ago #159079

Ooooh, imagine you had a few hundred products in Root... and everything else in between... not a good idea. Don't do in HikaShop what you wouldn't do on your PC's harddisk... ;)

"Product category" is - so tp speak - the "category root" or "product root". If you have no categories and few products only, put them there - fine. Or put your categories there, and products into them.
If nothing else, you might have noticed that the backend menu item "Products" defaults to "Product category"?

However, even with your new "All Products" you should be able to access each and everything the same way. Only, in the menu or module configurations you want then to point to that one instead of "Product category" as source for listings. Not sure what other complications might come up down the road, though, at least your case would be "exotic". ;)
If I were you, I'd join the masses and move my categories under "Product category" and delete "All Products". You'd be way more compatible here and elsewhere, haha.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
11 years 3 months ago #159141

Sorry, I guess I wasn't very clear. I originally created 4 categories for my products under root. I don't recall seeing a category called "product Categories". When I couldn't select all 4 categories on my menu, then I went back and grouped my 4 categories under all products. Now it's working. I only mentioned it because I didn't think I found anything in the tutorial about all product categories. No big deal though and I appreciate your helpful and quick support!

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum