Skip to main content

Group options of custom field in filter

More
8 years 10 months ago #283751 by karendunne
-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8.2
-- PHP version -- : 7.0.21
-- Browser(s) name and version -- : Firefox

Hi,
we have a custom field (Period) with lots of values representing different period of time and we would like to create a filter which groups them in a few options. For instance:

Early 17th, mid 17th, late 17th => 17th Century

So we end up with just 4 values in the filter which looks up in the for Custom Field Values.

Is this possible?

Thank you!!

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

More
8 years 10 months ago - 8 years 10 months ago #283763 by Philip
Hello,

Yes, the HikaShop Filter system is able to do it, see my screenshot to have clues :



You can too have a look on our Filter tutorial to see in details how to proceed.
Hope this will help you.

Regards
Last edit: 8 years 10 months ago by Philip.

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

More
8 years 9 months ago #284193 by karendunne
Hi Philip,
thank you very much for your reply, but I'm afraid every time I try to save the values, they got cleared and not saved into the filter.

You may see the issue in the attached video.

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

More
8 years 9 months ago #284196 by nicolas
Hi,

You should not fill the values there.
The values will be taken automatically from your custom product field values that you can configure when you edit your custom field.

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

More
8 years 9 months ago #284471 by karendunne
Hi Nicolas,
thank you very much for your reply. I understand that. My question is if I can have these values grouped in a way so that in the filter in only shows 3 of them (one per century) but when performing the search, and you choose for instance 17th Century, it looks for items who has the value: Early 17th Century, Mid 17th Century ...

Is that possible out of the box?

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

More
8 years 9 months ago #284476 by nicolas
Hi,

No, it's not possible to group values together like that, at least not out of the box.

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

Time to create page: 0.185 seconds
Powered by Kunena Forum