Skip to content

Instantly share code, notes, and snippets.

@klevu
Created June 23, 2020 15:45
Show Gist options
  • Save klevu/c46b39a181d5402d563ae4507ef29be3 to your computer and use it in GitHub Desktop.
Save klevu/c46b39a181d5402d563ae4507ef29be3 to your computer and use it in GitHub Desktop.
Shopify Blog - Faster Metafields 4
{
productVariants(first: 50) {
pageInfo {
hasNextPage
}
edges {
cursor
node {
legacyResourceId
product {
legacyResourceId
}
metafield1: metafield(
namespace: "klevu"
key: "metafield1"
) {
value
}
metafield2: metafield(
namespace: "klevu"
key: "metafield2"
) {
value
}
metafield3: metafield(
namespace: "klevu"
key: "metafield3"
) {
value
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment