2021-02-04 13:27:58 +02:00
..
2021-02-04 13:23:44 +02:00
2021-02-04 13:23:44 +02:00
2021-02-04 13:23:44 +02:00
2021-02-04 13:23:44 +02:00
2021-02-04 13:23:44 +02:00
2021-02-04 13:23:44 +02:00
2021-02-04 13:23:44 +02:00
2021-02-04 13:23:44 +02:00
2021-02-04 13:23:44 +02:00
2021-02-04 13:27:58 +02:00
2021-02-04 13:23:44 +02:00
2021-02-04 13:23:44 +02:00

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

  1. Environment variables need to be set:
NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN=
NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN=
  1. Point the framework to shopify by updating tsconfig.json:
"@framework/*": ["framework/shopify/*"],
"@framework": ["framework/shopify"]