forked from crowetic/commerce
Table of Contents
Shopify Storefront Data Hooks
Collection of hooks and data fetching functions to integrate Shopify in a React application. Designed to work with Next.js Commerce.
Getting Started
- Environment variables need to be set:
NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN=
NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN=
- Point the framework to
shopify
by updatingtsconfig.json
:
"@framework/*": ["framework/shopify/*"],
"@framework": ["framework/shopify"]