Group by Category for sub-categories

  • Posts: 274
  • Thank you received: 5
  • Hikashop Business
9 years 5 months ago #237500

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.48

I have 4 products assigned to subcat1 only. I have another product assigned to subcat1 and subcatx. The parent category of subcat1 under "products option" is set to group by category. If I view the parent category of subcat1 in the front end the subcat1 is listed twice, once with 4 products then again further down the page with 1 product (which is assigned to two categories). I was expecting them to be all grouped together. In the product listing I see all five products together as expected.

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

  • Posts: 84328
  • Thank you received: 13718
  • MODERATOR
9 years 5 months ago #237506

Hi,

This indicates a problem with the settings of your menu item/modules on the page.
Could you provide a link to the page with the issue and screenshots of the settings of the "categories options" and "products options" tabs of the menu item ?

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

  • Posts: 274
  • Thank you received: 5
  • Hikashop Business
9 years 5 months ago #237797

Hi Nicolas, I have played around a bit with the settings but it did not changed anything. However I have found it is a problem caused by pagination. Initially I had set the pagination for product options to 36 and there 41 products grouped by categories. The first subcategory contains 5 products, 1 of which Tintosmac is assigned to this category plus another. However when there is pagination it shows 4 on the first page under Pre-Treatments for dry-cleaning and then on the second page 1 product (Tintosmac) again under Pre-treatments for dry cleaning. I would expect all the products under Pre-treatments for dry cleaning be shown on the same page not split across two. If you set the pagination to all or a number greater than the total number of products everything show correctly which is a potential work around.

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

  • Posts: 84328
  • Thank you received: 13718
  • MODERATOR
9 years 5 months ago #237876

Hi,

No, it's normal that they are split across the pages.
The system bases itself on what you configured in the "ordering column" and "ordering direction" regarding the order of the products in the listing when it loads the products to be displayed on one page. And once it has the products to be displayed, it arranges them by category.
You would have to configure the ordering column and ordering direction settings in a way that the products would be listed in the necessary order to not have the split.

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

  • Posts: 274
  • Thank you received: 5
  • Hikashop Business
9 years 5 months ago #238190

Okay as long as it is normal. We have a work around so everything is good.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum