PwaInstantPurchase (optional)

GitHub - magesuite/magesuite-pwa-instant-purchase

This small module accompanies the magesuite-pwa module (see Pwa (optional) ). It changes texts that are displayed on Add to Homescreen guide

 

Installation

This module is optional

composer require "creativestyle/magesuite-pwa-instant-purchase" ^1.0.0

Admin settings

This module does not require any admin configuration, the checkbox is visible once the module is installed.

Backend

There is no backed code in the module.

Frontend

Scripts

The module adds a mixin do

mixins: { 'MageSuite_Pwa/js/pwa-a2hs-guide': { 'MageSuite_PwaInstantPurchase/js/pwa-a2hs-guide-ext': true, }, },

The mixin checks if instant-purchase module is active and changes the text of PWA Guide into Re-order products in 4 clicks.

It does not assure that instant purchase payment is available in the projects. The Instant Purchase module has to be first set up and configured properly in the admin panel.

Â