No title of category after use of filter

  • Posts: 2
  • Thank you received: 0
  • Hikashop Business
8 years 7 months ago #237710

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.5.1.
-- PHP version -- : 5.6
-- Browser(s) name and version -- : Crome Versie 49.0.2623.112
-- Error-message(debug-mod must be tuned on) -- : no error

I use a filtermodule. When I choose in this filter a certain category the products in this category are displayed (which is fine). But the TITLE of the category is NOT displayed above the products. The question is how to display the title of the categoy of the searchresults that are shown AFTER using the filter. Of course if I simple made a menu showing the same category it no problem at all showing the title of the categorie above the products of this categoy. Only after using the filter the title disappears.

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
8 years 7 months ago #237715

Hi,

Well, that's normal that it works like that.
The current menu item is actually a menu item displaying all the products. So the current category is the main category of the shop.
Even if you display the current category in the title with the option of the menu item, it will only display the main category of the shop.
The filter module just add a condition to the query loading the products in the main area, but it doesn't change the "current category".
So it's not impossible to do what you want, but the only option will be to modify the code in the file "listing" of the view "product" to add the name of the category selected in the filter when there is one. You can do that via the menu Display>views if you're a developer.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum