Negatory. Postpone Mission.

    gatsby-source-shopware-channel

    0.0.2 • Public • Published

    gatsby-source-shopware-channel

    Use gatsby as a Shopware 6 Sales Channel frontend.

    Pre-requirements

    You need a running Shopware 6 Instance. https://docs.shopware.com/en/shopware-platform-dev-en/getting-started

    Please grab a sales channel API-ID. You will find preconfigured sales-channels in the left menu after you successfully logged in into the backend.

    We recommend to use https://www.npmjs.com/package/dotenv to hide your access id.

    Install

    NPM

    npm install --save gatsby-source-shopware-channel

    Yarn

    yarn add gatsby-source-shopware-channel

    How to use

    // In your gatsby-config.js
    require('dotenv').config()
     
    plugins: [
      {
        resolve: `gatsby-source-shopware-channel`,
        options: {
          host: 'http://localhost:8000',
          accessKey: process.env.SHOPWARE_ACCESS_KEY,
        },
      },
    ];

    Plugin Options

    host (required)

    Your API Endpoint where your Shopware 6 installation lives.

    accessKey (required)

    Your Sales-Channel access key.

    Install

    npm i gatsby-source-shopware-channel

    DownloadsWeekly Downloads

    2

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    4.3 kB

    Total Files

    6

    Last publish

    Collaborators

    • fraed001