Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 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 (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-01T15:53:55.000Z (about 2 years ago)
- Last Synced: 2024-10-18T07:51:23.639Z (3 months ago)
- Topics: gatsby, gatsby-plugin, gatsbyjs, pittica, prestashop
- Language: JavaScript
- Size: 22.5 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pittica/gatsby-source-prestashop
![License](https://img.shields.io/github/license/pittica/gatsby-source-prestashop)
![Version](https://img.shields.io/github/package-json/v/pittica/gatsby-source-prestashop)
![Release](https://img.shields.io/github/v/release/pittica/gatsby-source-prestashop)
![Gatsby Version](https://img.shields.io/npm/dependency-version/@pittica/gatsby-source-prestashop/peer/gatsby)
![React Version](https://img.shields.io/github/package-json/dependency-version/pittica/gatsby-source-prestashop/react)## Description
[PrestaShop](https://www.prestashop.com/) source plugin for [GatsbyJS](https://www.gatsbyjs.org/).
## Install
[![npm](https://img.shields.io/npm/v/@pittica/gatsby-source-prestashop)](https://www.npmjs.com/package/@pittica/gatsby-source-prestashop)
[![npm](https://img.shields.io/npm/dm/@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).