pittica/gatsby-source-prestashop

License Version Release GitHub package.json dependency version (dev dep on branch) GitHub package.json dependency version (dev dep on branch) npm

Description

PrestaShop source plugin for GatsbyJS.

Install

npm

npm install @pittica/gatsby-source-prestashop

Usage

The plugin provides source from a PrestaShop site.

Configuration

Edit your gatsby-config.js.

module.exports = {
  plugins: [
    {
      resolve: `@pittica/gatsby-source-prestashop`,
      options: {
        url: SHOP_URL,
        key: SHOP_KEY,
        locale: LOCALE,
        images: {
          download: false,
          format: {
            product: 'medium_default',
            category: 'category_default',
            manufacturer: 'manufacturer_default'
          },
          extension: 'jpg'
        }
      }
    },
  ],
}

Options

  • url

    Description: The URL of the PrestaShop installation.

    Required: YES.

    Type: String.

  • key

    Description: The PrestaShop webservice key.

    Required: YES.

    Type: String.

  • locale

    Description: The locale iso_code of the language.

    Required: NO.

    Type: String.

  • images

    Description: Image settings.

    Required: NO.

    Type: Object.

    Default value: true

(c) 2021, Pittaca S.r.l.s.