Developer forum

Forum » Ecommerce - Standard features » Product Fields Filter Provider not working as expected?

Product Fields Filter Provider not working as expected?

Jonas Mersholm
Reply

Hi,

I have a product, which has a ProductCategory field called Type.
The Type field is of type "List" and contains checkboxes.

I select a single checkbox with the following data:

Lable: Diplom
Value: 1

 

Now, i would like my search filters to be able to filter on this option, so that i can filter products by selected "type". I've set up a search filter of type: Product fields value, selected the "Type" category and set the name and tag of the search filter to "type_id".  But when opening the url in the browser, prefixing:  &type_id=1, it returns no products. I've tried with a few other fields just to make sure, but none of em works as expected.

 

 

search_1.JPG search_2.JPG search_3.JPG search_4.JPG

Replies

 
Nicolai Høeg Pedersen
Reply

Old index....!

Type maybe a bad word. Try changing it to something else to see if that is the issue.

What version are you using?

 
Jonas Mersholm
Reply

Hi Nicolai,

The index was not the problem this time. I realised that the value had to contain a string, before filtering correct in the search. 

So instead of values "1, 2, 3", i set "retning1,retning2,retning3" and it all began working.

Thanks for the answer.

Jonas

 
Nicolai Høeg Pedersen
Reply

Ah, ok, thanks for sharing!

 

You must be logged in to post in the forum