Conversations about creating, managing, and using metafields to store and retrieve custom data for apps and themes.
Hey,
I want to query Product products that contain some word in the description, refer to this documentation we can't query based on the description. Is there any way(s) to do this?
I expect something like this:
products(description:*hello*) { edges { node { id title } } }
it will give all the product that contains "hello" in their product description
Thank you in advance!
Solved! Go to the solution
This is an accepted solution.
Hey @aldoalprak
As the docs mention, there is no way to query based on description. The description box is quite a large string to analyze and searching by keyword is best suited to title, sku, metafields, or tags if needed.
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hey @aldoalprak
As the docs mention, there is no way to query based on description. The description box is quite a large string to analyze and searching by keyword is best suited to title, sku, metafields, or tags if needed.
To learn more visit the Shopify Help Center or the Community Blog.