Configuring Shopify
Configuring Shopify
In order to list products from your Shopify store in the Blueprint once it has been deployed, you need to add your Shopify Headless Public Access Token and Shopify GraphQL URL as Environment Variables.
The Environment Variables that need to be set in addition to the default ones should be named as follows:
NEXT_PUBLIC_SHOPIFY_HEADLESS_PUBLIC_ACCESS_TOKEN
: See Getting started with public accessNEXT_PUBLIC_SHOPIFY_GRAPHQL_URL
: See Storefront API Endpoints
The following guide walks through the process of creating Environment Variables for Headless Platform and local development.
Once the above Environment Variables have been added to the Blueprint, you should manually rebuild the site.
Once completed, this should show your products listed on various pages on the frontend.