Move to components, and updates

This commit is contained in:
cond0r
2022-12-02 15:01:05 +02:00
parent c46ac015ef
commit 0968c0268a
8 changed files with 74 additions and 26 deletions

View File

@@ -13,11 +13,10 @@ import { ProductView } from '@components/product'
// Used by the Shopify Example
const withMetafields = [
{ namespace: 'reviews', key: 'rating' },
{ namespace: 'descriptors', key: 'care_guide' },
{ namespace: 'my_fields', key: 'weight' },
{ namespace: 'reviews', key: 'count' },
{ namespace: 'my_fields', key: 'width' },
{ namespace: 'my_fields', key: 'weight' },
{ namespace: 'my_fields', key: 'length' },
{ namespace: 'my_fields', key: 'manufacturer_url' },
]
export async function getStaticProps({