Group options of custom field in filter

  • Posts: 99
  • Thank you received: 6
  • Hikashop Business
6 years 11 months ago #283751

-- 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.

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
6 years 11 months ago #283763

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: 6 years 11 months ago by Philip.

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

  • Posts: 99
  • Thank you received: 6
  • Hikashop Business
6 years 11 months ago #284193

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.

Attachments:

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
6 years 11 months ago #284196

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.

  • Posts: 99
  • Thank you received: 6
  • Hikashop Business
6 years 11 months ago #284471

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.

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
6 years 11 months ago #284476

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.058 seconds
Powered by Kunena Forum