0.1.6 • Published 4 years ago
sanity-shopify-toolkit v0.1.6
Sanity Shopify Toolkit
A utility toolkit for building Shopify sites with Sanity, Shopify, and Next.
Schemas
These predefined schemas will help build document types quickly.
Product Schemas
The product schema is available to add to sanity that corresponds with the sync script. to import it do the following:
import {
product,
ProductInfo,
ProductConfigurations,
ProductData,
} from '@sanity-shopify-toolkit';
export default {
...product,
fields: [
//
...ProductInfo,
...ProductConfigurations(),
...ProductData,
],
};