Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
composer require "creativestyle/magesuite-pwa-notifications" ^1.0.0

User manual

Note

This manual was written by Alicja for Ipet. I only changed screens into magesuite ones. It maybe should be move to user manual confluence, but I do not have rights to edit it.

What are push notifications?

...

Push notifications are popup-like messages that appear on a user's device, sent by the shop to the users.
Only the users who allowed to use this feature can Users who are subscribed to a specific kind of notification will receive push notifications - even if the browser/app is not open. Users can opt-in to receive push notifications or opt out in User Area.

After you’ve placed your order through the shop, you’ll likely receive a message letting you know that an order has been shipped: those messages are Shipment Push Notifications.

Shipment push notifications are supported by desktop Chrome & Firefox and also by Chrome on Android (mobiles, tablets)

See documentation: https://developer.mozilla.org/en-US/docs/Web/API/Push_API

Can I use: https://caniuse.com/push-api

How does it work?

On the Thank you page Shipment Push Notification modal asks for permission to enable push notifications.
There are the following elements displayed:

...