Hi. Let’s say I want to get all the product that have the word “apple” specifically in their title. Why is there no option to do that? There is an option to filter products by exact title apple
or by title that starts with some word apple*
. Then why is there no option to use *apple*
to get products that have “apple” in the middle of their title or use *apple
to get products with title that ends with apple? Doesn’t make any sense to me.
I hope there is actually a search syntax for that, but I don’t know it. If yes, please let me know. Thanks!
I’m pretty sure you can just do a regular search and it does a case sensitive check against multiple properties of the product(s):
I appreciate that’s not exactly what you’re looking for, as it could match descriptions etc.
One alternative approach might be to create a smart collection, and use that as a way to filter the products in a more powerful way:
Hope that helps with some alternative ideas!
Hi @bkspace. Interesting approach but is unfortunately pretty limited with only some properties and you cannot group AND / OR comparisons. Also, it would take a lot more time for the app to create a smart collection, wait for it to update and then get and return the products in it.
I appreciate the idea though. Would help in simpler use cases. Thanks!
Hey, @shopify it would be great if you introduced more flexibility to the search syntax. Would help app developers a lot to get the filtered list of products just with a specific query, instead of having to keep all the up-to date products information in their database and using that.