Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi all, I wanted to see if it's possible to get orders from my store containing a specific product?
The goal is to get the custom attributes from these products, however not every order has products with custom attributes. So I basically want to filter through the orders by product ID/Handle and only return the orders containing that product.
My GQL:
{ orders(first: 5, reverse: true) { edges { node { name customer { firstName lastName } lineItems(first: 50) { edges { node { product{ id title } customAttributes { key value } } } } } } } }
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025