Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.42 KB

README.md

File metadata and controls

55 lines (37 loc) · 1.42 KB

StoreCredit module for Magento PWA Studio

This module acts as an add-on for Mageplaza's Store Credit extension to make it work with Magento PWA Studio.

End result: https://storecredit.pwa-commerce.com/storecredit-product-2.html

Requirements

Installation

1. Init project

git clone https://github.com/Simicart/simi-studio --branch release/2.0.0
cd simi-studio
yarn add @material-ui/core

2. Start the project

From the root directory of the project you created above, clone the repository:

  git clone https://github.com/Simicart/storecredit-module-pwa-studio ./@simicart/storecredit

3. Modify .env

Change the .env MAGENTO_BACKEND_URL with your Magento site URL, or use our demo URL:

  MAGENTO_BACKEND_URL=https://mpmed.pwa-commerce.com/

4. Modify package.json

Modify the dependencies of your project to add storecredit extension.

  "dependencies": {
    ...
    "@simicart/storecredit": "link:./@simicart/storecredit"
  },

5. Install and Start Project

  yarn install && yarn watch

Contribution

SimiCart Team & Mageplaza Team