Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/butopea/vue-storefront-api-opencart2-platform
OpenCart 2 Platform for Vue Storefront API
https://github.com/butopea/vue-storefront-api-opencart2-platform
Last synced: 2 months ago
JSON representation
OpenCart 2 Platform for Vue Storefront API
- Host: GitHub
- URL: https://github.com/butopea/vue-storefront-api-opencart2-platform
- Owner: butopea
- License: mit
- Created: 2019-11-21T13:15:52.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-26T18:02:20.000Z (about 3 years ago)
- Last Synced: 2024-05-22T18:31:35.756Z (8 months ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 6
- Watchers: 2
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-vuestorefront - OpenCart2 Vue Storefront API Platform
README
# OpenCart2 Vue Storefront API Platform
This package is a Vue Storefront API platform that enables Vue Storefront to communicate with the OpenCart by acting as a proxy to the PHP OpenCart VS Bridge on your server.
Based on https://github.com/DivanteLtd/magento1-vsbridge-client and modified to work with OpenCart.
This module is built for the [Vue Storefront - first Progressive Web App for eCommerce](https://github.com/DivanteLtd/vue-storefront).
## Installation
* Add the repository contents into the `Vue Storefront API` / `src` / `platform` / `opencart2` by importing it as a git submodule:
```shell script
git submodule add [email protected]:butopea/vue-storefront-api-opencart2-platform.git src/platform/opencart2
```* Add the following to your Vue Storefront API config file (`config` / `local.json`)
```json
...
"opencart2": {
"imgUrl": "http://YOUR_OPENCART_SERVER/image",
"assetPath": "",
"httpUserName": "",
"httpUserPassword": "",
"baseUrl": "http://YOUR_OPENCART_SERVER",
"api": {
"url": "http://YOUR_OPENCART_SERVER/vsbridge",
"username": "OPENCART_API_NAME",
"password": "OPENCART_API_KEY",
"secret": "OPENCART_VSBRIDGE_EXTENSION_SECRET"
}
}
...
```
* Set the `platform` option in your config to `opencart2````json
...
"platform": "opencart2",
...
```
# Requirements
Requires the [Vue Storefront Connector Extension for OpenCart](https://github.com/butopea/vue-storefront-opencart-vsbridge) to function.