Skip to content

goldenkat213/vue-storefront-api-opencart3-platform

 
 

Repository files navigation

OpenCart3 Vue Storefront API Platform

This package is a Vue Storefront API platform that enables Vue Storefront to communicate with the OpenCart3 by acting as a proxy to the PHP OpenCart VS Bridge on the server.

Based on https://github.com/DivanteLtd/magento1-vsbridge-client and i am now modifying to fit Oc3.

This module is built for the Vue Storefront - first Progressive Web App for eCommerce.

Installation

  • Add the repository contents into the Vue Storefront API / src / platform / opencart2 by importing it as a git submodule:
git add [email protected]:glodenkat213/vue-storefront-api-opencart3-platform.git src/platform/opencart3
  • Add the following to your Vue Storefront API config file (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"
    }
  }
...
  • Set the platform option in your config to opencart3
...
"platform": "opencart3",
...

Requirements

Requires the Vue Storefront Connector Extension for OpenCart to function.

About

OpenCart 3 Platform for Vue Storefront API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%