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

#   Fill filter values for custom fields automatically

##

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

Less More

- Posts: 62
- Thank you received: 3
-
-

10 years 10 months ago [\#225973](#225973) by [storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")  *[Fill filter values for custom fields automatically](/forum/45-filters-search/881453-fill-filter-values-for-custom-fields-automatically#225973 "-- HikaShop version -- : 2.6.0  I have a question on building filters in combination with custom fields. I have created 3 custom fields, and now I want to create filters. My first custom field can contain 6 values which I can overcome putting as selectable values Second custom field can contain around 44 values Third custom field 209 values........  Based on the filters on the first two fields, the third field options will become less of course.  Is there a way that the values that are available to the search, are selected from the actual values filled in the products custom field ? Or should I really create the possiblities manually ? (Or write a quick sql script to update the database directly...)")* was created by *[storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")*

-- HikaShop version -- : 2.6.0

I have a question on building filters in combination with custom fields.
I have created 3 custom fields, and now I want to create filters.
My first custom field can contain 6 values which I can overcome putting as selectable values
Second custom field can contain around 44 values
Third custom field 209 values........

Based on the filters on the first two fields, the third field options will become less of course.

Is there a way that the values that are available to the search, are selected from the actual values filled in the products custom field ?
Or should I really create the possiblities manually ? (Or write a quick sql script to update the database directly...)

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

10 years 10 months ago [\#226076](#226076) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Fill filter values for custom fields automatically](/forum/45-filters-search/881453-fill-filter-values-for-custom-fields-automatically#226076 "-- HikaShop version -- : 2.6.0  I have a question on building filters in combination with custom fields. I have created 3 custom fields, and now I want to create filters. My first custom field can contain 6 values which I can overcome putting as selectable values Second custom field can contain around 44 values Third custom field 209 values........  Based on the filters on the first two fields, the third field options will become less of course.  Is there a way that the values that are available to the search, are selected from the actual values filled in the products custom field ? Or should I really create the possiblities manually ? (Or write a quick sql script to update the database directly...)")*

Hi,

The filter will use automatically the values of the custom field selected in the filter. There is no need to enter all the values in the filters.

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

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

Less More

- Posts: 62
- Thank you received: 3
-
-

10 years 10 months ago [\#226081](#226081) by [storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")  Replied by *[storeitonline](/forum/user/39940-storeitonline "View storeitonline's Profile")* on topic *[Fill filter values for custom fields automatically](/forum/45-filters-search/881453-fill-filter-values-for-custom-fields-automatically#226081 "-- HikaShop version -- : 2.6.0  I have a question on building filters in combination with custom fields. I have created 3 custom fields, and now I want to create filters. My first custom field can contain 6 values which I can overcome putting as selectable values Second custom field can contain around 44 values Third custom field 209 values........  Based on the filters on the first two fields, the third field options will become less of course.  Is there a way that the values that are available to the search, are selected from the actual values filled in the products custom field ? Or should I really create the possiblities manually ? (Or write a quick sql script to update the database directly...)")*

I noticed that, but that does not work if you have the custom field set to 'text'.
So I still needed to add the values to the custom field when setting it to something other then "text".

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

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