Product order of non-direct sub-elements

  • Posts: 94
  • Thank you received: 2
  • Hikashop Business
4 years 9 months ago #319721

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.18
-- PHP version -- : 7.2.30
-- Browser(s) name and version -- : FireFox 76.0.1
-- Error-message(debug-mod must be tuned on) -- : n.a.

We have products in 3 sub-categories (soon / new / sold) within the directory 'second hand machines'. The reason is that there will be a badge shown automatically when putting a product in one of three categories. Because there is no possibility to order all products when selecting category 'second hand machines', because they are no direct sub-elements (why is that???), but elements in the sub-categories. How can we make this happen?

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 9 months ago #319725

Hi,

The ordering is based on what you select in the "ordering column" of the "products options" tab of your menu item.
The default value "ordering" is based on the ordering of the product in the current category. If you display categories of sub categories in a menu item, then there is no direct link for the ordering of the products in that category.
So I would suggest selecting another column.
You could select "product_name" to have them sorted in alphabetic order.
Or you could create a custom field of the table "product" via the menu Display>custom fields and select that column for the ordering. Then, in each product, you could enter the order of the product in that category.

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

  • Posts: 94
  • Thank you received: 2
  • Hikashop Business
4 years 9 months ago #319783

Hi Nicolas,

Thanks for the quick reply! Based on your info I've assigned all products also to the main directory 'second hand machines' and put 'sub elements filter' at the menu item to 'direct sub elements'. Now we have to assign the machines who need a certain badge to 2 categories (main and sub), but can order the products based on the main category!

Thanks!

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

Time to create page: 0.058 seconds
Powered by Kunena Forum