See what's launched

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched

Sign Up for Free
Community Plugin
View plugin on GitHub

Gatsby Theme Shopify_Manager

Netlify Status

This is an adaption of the original package by thetrevorhamon

Quickstart guide

Install this with npm:

npm install gatsby-theme-shopify-manager

Or with yarn:

yarn add gatsby-theme-shopify-manager

Set up your gatsby-config.js:

{
  resolve: `gatsby-theme-shopify-manager`,
  options: {
    storeUrl: `your-shop-name`,
    password: `your-storefront-secret-key`,
    storefrontAccessToken: `your-storefrontAccessToken`
  },
},

Import a hook:

import {useCart} from 'gatsby-theme-shopify-manager';

Start coding. 🚀

Full documentation

The full docs are found at https://gatsbythemeshopifymanager.com/.

Contributing

To contribute to this repo, pull the repo and ask for the appropriate .env values for the /docs site. Then to start the project, simply run yarn start at the project root.

To add a new version, take the following steps:

  1. Increment the /docs version of gatsby-theme-shopify-manager to whatever it will be.
  2. Stage any changes you want to be part of the commit.
  3. Run yarn version within the gatsby-theme-shopify-manager directory.
  4. Change the version number to the appropriate release number (major, minor, patch).
  5. Run git push --tags and git push.
  6. Run npm publish.
© 2022 Gatsby, Inc.