@pittica/gatsby-source-prestashop
v0.2.2
Published
PrestaShop source plugin for GatsbyJS.
Downloads
2
Readme
pittica/gatsby-source-prestashop
Description
PrestaShop source plugin for GatsbyJS.
Install
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.