Skip to content

Commit 2703f0e

Browse files
authored
Mimurawil/1338 update readme shopify next tailwind (#1339)
* chore: update readme file for shopify-next-tailwind * fix: remove unused env vars in the example file
1 parent 24d0f73 commit 2703f0e

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
SESSION_SECRET="foobar"
2-
STOREFRONT_API_KEY=xxxxxxxxxxxxxxxxxxxxxx
3-
STOREFRONT_API_SECRET=xxxxxxxxxxxxxxxxxxxxxx
41
PUBLIC_STOREFRONT_API_TOKEN=xxxxxxxxxxxxxxxxxxxxxx
5-
PUBLIC_STOREFRONT_API_VERSION=2023-04
62
PUBLIC_STORE_DOMAIN=xxxxxxxxxxxxx.myshopify.com

starters/shopify-next-tailwind/README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,17 @@ This template requires a [paid Shopify plan](https://www.shopify.com/pricing).
2525
2626
### Add Shopify domain to an environment variable
2727

28-
Create a `SHOPIFY_STORE_DOMAIN` environment variable and use your Shopify domain as the the value (ie. `[your-shopify-store-subdomain].myshopify.com`).
28+
Create a `PUBLIC_STORE_DOMAIN` environment variable and use your Shopify domain as the the value (ie. `[your-shopify-store-subdomain].myshopify.com`).
2929

3030
> Note: Do not include the `https://`.
3131
3232
### Accessing the Shopify Storefront API
3333

3434
This template utilizes [Shopify's Storefront API](https://shopify.dev/docs/api/storefront) to create unique customer experiences. The API offers a full range of commerce options making it possible for customers to control products, collections, menus, pages, cart, checkout, and more.
3535

36-
In order to use the Shopify's Storefront API, you need to install the [Headless app](https://apps.shopify.com/headless) in your Shopify store.
36+
Shopify recommends the use of their [Headless app](https://apps.shopify.com/headless) in your Shopify store, see https://shopify.dev/docs/custom-storefronts/headless for more info.
3737

38-
Once installed, you'll need to create a `SHOPIFY_STOREFRONT_ACCESS_TOKEN` environment variable and use the public access token as the value.
39-
40-
> Note: Shopify does offer a Node.js Storefront API SDK. We use the Storefront API via GraphQL directly instead of the Node.js SDK so we have more control over fetching and caching.
38+
Once installed, you'll need to create a `PUBLIC_STOREFRONT_API_TOKEN` environment variable and use the public access token as the value.
4139

4240
## Installation
4341

0 commit comments

Comments
 (0)