@pittica/gatsby-source-prestashop

0.2.2 • Public • Published

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

Copyright

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

Package Sidebar

Install

npm i @pittica/gatsby-source-prestashop

Weekly Downloads

1

Version

0.2.2

License

MIT

Unpacked Size

13.8 kB

Total Files

10

Last publish

Collaborators

  • pitticadigital
  • luciobenini