Added locale metadata for products and product page

This commit is contained in:
Luis Alvarez
2020-10-25 15:14:54 -05:00
parent 4b7f05de1b
commit 3654cb47d5
8 changed files with 116 additions and 14 deletions

View File

@@ -78,6 +78,15 @@ export const productInfoFragment = /* GraphQL */ `
}
}
}
localeMeta: metafields(namespace: $locale, keys: ["name", "description"])
@include(if: $hasLocale) {
edges {
node {
key
value
}
}
}
}
${responsiveImageFragment}