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

#   custom filter items

##

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

Less More

- Posts: 240
- Thank you received: 13
-
-

4 years 3 months ago [\#344104](#344104) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  *[custom filter items](/forum/45-filters-search/904893-custom-filter-items#344104 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.2 -- PHP version -- : 7.4  Hi I have a custom field with 10 values. I want to have a filter of this custom field which only 5 items of that 10 be displayed in the filter. Values are are not number, they are characters")* was created by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")*

-- HikaShop version -- : 4.6.1
-- Joomla version -- : 4.2
-- PHP version -- : 7.4

Hi
I have a custom field with 10 values.
I want to have a filter of this custom field which only 5 items of that 10 be displayed in the filter.
Values are are not number, they are characters

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwNDg5My1jdXN0b20tZmlsdGVyLWl0ZW1zP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

4 years 2 months ago [\#344112](#344112) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[custom filter items](/forum/45-filters-search/904893-custom-filter-items#344112 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.2 -- PHP version -- : 7.4  Hi I have a custom field with 10 values. I want to have a filter of this custom field which only 5 items of that 10 be displayed in the filter. Values are are not number, they are characters")*

Hi,

Why do you want to have that ?
Because the products using that custom field don't use the other 5 values ?
In that case, you can activate the "dynamic display" setting of the filter.
Otherwise, that would require a view override of product / filter.php via Display&gt;Views with some custom coding to dynamically change the values.

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

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

Less More

- Posts: 240
- Thank you received: 13
-
-

4 years 2 months ago [\#344116](#344116) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  Replied by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")* on topic *[custom filter items](/forum/45-filters-search/904893-custom-filter-items#344116 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.2 -- PHP version -- : 7.4  Hi I have a custom field with 10 values. I want to have a filter of this custom field which only 5 items of that 10 be displayed in the filter. Values are are not number, they are characters")*

Thank you
I already know about that option.

But the problem is when I active the dynamic display option, whenever I choose one option, the other 4 options are gone until I remove the selected filter.

What I need is that I want 5 out of that 10 filters always remain there whether if they are checked or not

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwNDg5My1jdXN0b20tZmlsdGVyLWl0ZW1zP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

4 years 2 months ago [\#344117](#344117) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[custom filter items](/forum/45-filters-search/904893-custom-filter-items#344117 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.2 -- PHP version -- : 7.4  Hi I have a custom field with 10 values. I want to have a filter of this custom field which only 5 items of that 10 be displayed in the filter. Values are are not number, they are characters")*

Hi,

In that case, the only other option left is to create a view override of product / filter.php via Display&gt;Views with some custom coding to dynamically change the values.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzkwNDg5My1jdXN0b20tZmlsdGVyLWl0ZW1zP3RtcGw9bWFya2Rvd24=) 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.050 seconds

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