Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.42 KB

README.md

File metadata and controls

56 lines (38 loc) · 1.42 KB

Gift Card module for Magento PWA Studio

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

End result: https://giftcards.pwa-commerce.com/gift-card.html

Requirements

Installation

1. Init project

git clone https://github.com/Simicart/simi-studio --branch release/2.0.0
cd simi-studio

2. Start the project

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

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

3. Modify .env

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

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

4. Modify package.json

Modify the dependencies of your project to add Shop By Brand extension.

  "dependencies": {
    ...
    "@giftcard/giftcard": "link:./@simicart/giftcards",
    ...
  },

5. Install lib and Start Project

  yarn add react-resize-detector
  yarn install && yarn watch

Contribution

SimiCart Team & Mageplaza Team