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.
Vue Storefront API
/ src
/ platform
/ opencart2
by importing it as a git submodule:git submodule add git@github.com:butopea/vue-storefront-api-opencart2-platform.git src/platform/opencart2
config
/ local.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"
}
}
...
platform
option in your config to opencart2
...
"platform": "opencart2",
...
Requires the Vue Storefront Connector Extension for OpenCart to function.