[Skip to main content](#vessel-content)

#   Filter module

##

- **[48media](/forum/user/32301-48media "View 48media's Profile")**
- [![48media's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32301-48media "View 48media's Profile") Topic Author
- [ Offline](/forum/user/32301-48media)

Less More

- Posts: 15
- Thank you received: 1
-
-

5 years 7 months ago [\#330830](#330830) by [48media](/forum/user/32301-48media "View 48media's Profile")  *[Filter module](/forum/45-filters-search/902179-filter-module#330830 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2 -- Browser(s) name and version -- : ff  Hello, I need to make a filter module. Filtering is created. In category view it works. The module on the right only works when I enter exactly the same ID of the menu in which it is to be displayed. It is possible to make this module work but enter the ID of the main category menu (not subcategory)? I would not like to make 100 modules for each menu item because we have a lot of them.  You can test it at the attached link. Currently in the module there is a menu ID one level higher (also a list of categories)")* was created by *[48media](/forum/user/32301-48media "View 48media's Profile")*

-- HikaShop version -- : 4.4.1
-- Joomla version -- : 3.9.21
-- PHP version -- : 7.2
-- Browser(s) name and version -- : ff

Hello,
I need to make a filter module. Filtering is created. In category view it works.
The module on the right only works when I enter exactly the same ID of the menu in which it is to be displayed. It is possible to make this module work but enter the ID of the main category menu (not subcategory)?
I would not like to make 100 modules for each menu item because we have a lot of them.

You can test it at the attached link. Currently in the module there is a menu ID one level higher (also a list of categories)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwMjE3OS1maWx0ZXItbW9kdWxlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14269
-
-

5 years 7 months ago [\#330835](#330835) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter module](/forum/45-filters-search/902179-filter-module#330835 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2 -- Browser(s) name and version -- : ff  Hello, I need to make a filter module. Filtering is created. In category view it works. The module on the right only works when I enter exactly the same ID of the menu in which it is to be displayed. It is possible to make this module work but enter the ID of the main category menu (not subcategory)? I would not like to make 100 modules for each menu item because we have a lot of them.  You can test it at the attached link. Currently in the module there is a menu ID one level higher (also a list of categories)")*

Hi,

The answer is yes and no ![:)](/media/kunena/emoticons/8.png ":)")
You can't use the id of the menu item with the name "kolekcje" because when you access that page, it doesn't display any products and you don't want the categories to appear on the search results page.
However, what you can do is to create a new menu item of the type "products listing" configured to display all your products (set the "main category" to your main category, and set the "sub elements filter" to "all sub elements"). And then you can use the id of that menu item in the "menu" setting of the module and it will display your search based on all the products on the shop.

Also, if you turn off the "force redirect" setting of the module, it will use the products listing of the current page for the searching and only redirect to the menu item of the "menu" setting if you use the filter module on a page which is not a products / categories listing.

The following user(s) said Thank You: [48media](/forum/user/32301-48media "View 48media's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwMjE3OS1maWx0ZXItbW9kdWxlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[48media](/forum/user/32301-48media "View 48media's Profile")**
- [![48media's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32301-48media "View 48media's Profile") Topic Author
- [ Offline](/forum/user/32301-48media)

Less More

- Posts: 15
- Thank you received: 1
-
-

5 years 7 months ago [\#330849](#330849) by [48media](/forum/user/32301-48media "View 48media's Profile")  Replied by *[48media](/forum/user/32301-48media "View 48media's Profile")* on topic *[Filter module](/forum/45-filters-search/902179-filter-module#330849 "-- HikaShop version -- : 4.4.1 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2 -- Browser(s) name and version -- : ff  Hello, I need to make a filter module. Filtering is created. In category view it works. The module on the right only works when I enter exactly the same ID of the menu in which it is to be displayed. It is possible to make this module work but enter the ID of the main category menu (not subcategory)? I would not like to make 100 modules for each menu item because we have a lot of them.  You can test it at the attached link. Currently in the module there is a menu ID one level higher (also a list of categories)")*

The product listing option works, thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwMjE3OS1maWx0ZXItbW9kdWxlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.137 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
