How can I filter a product that use custom fields defined in a flow

filtering
custom-fields
javascript
products

#1

I am attaching a flow to a product. I have added a custom field called “shop-source” to diferrentiate between shops. Now I want to be able to filter products using this field, how should i do it ? the filter api does not work and returns nothing.


#2

Hi @abdel

Right now this is not possible. It’s a great idea and I’ll pass it onto the engineering and product team :slight_smile:

If you wanted to do this yourself, you’d have to perform some custom logic once you have all the data - not ideal but you could filter your results in the JS function or create a middleware/proxy layer that does the transformation instead of the client.


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.