This package has been deprecated

Author message:

WARNING: This project has been renamed to gatsby-source-shopify. Install using gatsby-source-shopify instead.

gatsby-source-shopfiy

0.1.1 • Public • Published

gatsby-source-shopify

Source plugin for pulling product data into Gatsby from a Shopify store.

Note: This is not a feature-complete source plugin. Please submit a pull request and/or open an issue for improvements you feel are necessary. Thanks!

Install

npm install --save gatsby-source-shopify

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-source-shopify`,
    options: {
      name: `your_shop_name`,
      token: `your_access_token`,
    },
  },
]

How to query

You can query nodes created from Shopify like the following:

{
  allProductNode {
    edges {
      node {
        id
        title
      }
    }
  }
}

Utilize Gatsby's built-in GraphiQL IDE to explore the node schemas available.

Package Sidebar

Install

npm i gatsby-source-shopfiy

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • angeloashmore