Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi
From shopify graphql Document, I found this: "the minus sign must precede the field, value, or subquery e.g. -field:value -value -(subquery)."
But this not working:
I am trying to get products which does not include 'Apparel' in product tags, but it doesn't working well with the query variable above
Could someone help with the query syntax?
Thanks a lot
Barrick
Solved! Go to the solution
This is an accepted solution.
The syntax that you'll want to use is "-tag:Apparel" rather than "-tags:Apperal" 🙂
There's a good walkthrough with a video tutorial that has a few examples here: https://www.shopify.ca/partners/blog/query-argument-graphql
CS | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
The syntax that you'll want to use is "-tag:Apparel" rather than "-tags:Apperal" 🙂
There's a good walkthrough with a video tutorial that has a few examples here: https://www.shopify.ca/partners/blog/query-argument-graphql
CS | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By