Full source comes with all the dependencies. The package contains a folder for ionic app and one opencart module.

  1. This product is based on ionic platform. You have to setup ionic environment if you haven't done it yet.

    To setup ionic environment check Ionic Framework official website - https://ionicframework.com/docs/intro/installation/

  2. Extract the content of the downloaded zip file and open ionic folder with your favorite editor.

  3. Change id, name, description, author, email, href in config.xml in the ionic project folder.

  4. Change site baseUrl, clientId, clientSecret in app/src/app/services/config/config.service.ts

    Replace clientId, clientSecret variables with Shopping Cart Rest API Extension of OpenCart backend.

     
  5. Open a new terminal window (Mac) or a command window (Windows), and navigate (cd) to the ionic project folder:

    $cd ionic
  6. Install NPM Packages

    $npm install
  7. Run your app in browser

    $ionic serve

    To run app, visit Ionic Framework official website: https://ionicframework.com/docs/building/running

  8. Add android platform to your project

    $ionic cordova platform add android
  9. Build android app

    $ionic cordova build android
  10. Add iOS platform to your project

    $ionic cordova platform add ios
  11. Build iOS app

    $ionic cordova build ios

    To know more about ionic deployment, setup see ionic framework official document - https://ionicframework.com/docs/publishing/app-store