https://github.com/pittica/gatsby-source-prestashop
PrestaShop source plugin for GatsbyJS.
https://github.com/pittica/gatsby-source-prestashop
gatsby gatsby-plugin gatsbyjs pittica prestashop
Last synced: about 2 months ago
JSON representation
PrestaShop source plugin for GatsbyJS.
- Host: GitHub
- URL: https://github.com/pittica/gatsby-source-prestashop
- Owner: pittica
- License: mit
- Created: 2021-02-22T11:52:49.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-01T15:53:55.000Z (over 2 years ago)
- Last Synced: 2025-05-08T16:54:01.481Z (about 2 months ago)
- Topics: gatsby, gatsby-plugin, gatsbyjs, pittica, prestashop
- Language: JavaScript
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pittica/gatsby-source-prestashop




## Description
[PrestaShop](https://www.prestashop.com/) source plugin for [GatsbyJS](https://www.gatsbyjs.org/).
## Install
[](https://www.npmjs.com/package/@pittica/gatsby-source-prestashop)
[](https://www.npmjs.com/package/@pittica/gatsby-source-prestashop)```shell
npm install @pittica/gatsby-source-prestashop
```## Usage
The plugin provides source from a [PrestaShop](https://www.prestashop.com/) site.
## Configuration
Edit your **gatsby-config.js**.
```javascript
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, [Pittica S.r.l.s.](https://pittica.com).