Fill filter values for custom fields automatically

  • Posts: 62
  • Thank you received: 3
8 years 10 months ago #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...)

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
8 years 10 months ago #226076

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 or Create an account to join the conversation.

  • Posts: 62
  • Thank you received: 3
8 years 10 months ago #226081

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 or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum