Installation
To use this extension, you will require to install MageDelight Base Extension first. If it is not installed then please download it from https://www.magedelight.com/extensions/magedelight-base-extension.zip and unzip the package file into the root folder of your Magento 2 installation.
Before installing the extension, please make sure to Backup your web directory and store database
You will require to install MageDelight Base Extension first. If it is not installed then please download it from https://www.magedelight.com/pub/extensions/magedelight-base.zip and unzip the package file into the root folder of your Magento 2 installation.
Root Directory is - "app/code/magedelight/#YourExtensionName#"
- Unzip the extension package file into the root folder of your Magento 2 installation.
- Connect to SSH console of your server:
- Navigate to the root folder of your Magento 2 setup
Run command as per below sequence,
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
- log out from the backend and log in again
If you are using Magento 2.3 or later then you do not need to activate license. Extension will be activated with silent activation mechanism and does not require activation keys to be entered manually.
Backend Configuration (Admin side)
MageDelight >> Push Notifications >> Configuration
- Add Firebase to Your Web App: Add code provided by Firebase to integrate notifications.
- Firebase Cloud Message Server Key: Add Server Key provided by Firebase Cloud Message.
- Your Messaging Sender Id: Add server ID provided by Firebase.
- Enable: Select "Yes" to enable push notifications for Abandoned cart.
- Abandoned Cart Subject: Provide subject to be displayed with push notifications.
- Abandoned Cart Message Content: Provide message to be displayed with push notifications.
- Image Upload: Upload image to be displayed with push notifications.
- Set Time After Cart Will Consider as Abandoned: Provide time in minutes to consider products available in cart as abandoned.
You can use dynamic keywords with Subject, Content and URLs. Please find below keywords. Please use keywords with square brackets. i.e. [customer.firstname]
Global:
- base_url
- website_name
- store_name
For Abandoned Cart:
- cart.customer_firstname
- cart.customer_lastname
- cart.items_count
Backend Functionality
Subscriber Management
MageDelight >> Push Notifications >> Subscriber Management
- Grid to display push notifications token saved at customer browser. If customer has subscribed push notification by allowing them on browser, this token will be saved to send push notifications. Admin can delete tokens from here. On Delete, customer will not receive any push notifications from server.
Template Management
MageDelight >> Push Notifications >> Template Management
- Grid to manage push notifications templates, admin can filter and manage existing templates from this grid.
- Identifier: Provide template identifier. This will be used for admin to identify template.
- Active: Select "Yes" to enable template.
- Template Content: Provide Subject to be set for the template. Message will be displayed with push notifications.
- Destination URL: Provide destination URL for the template. If customer will click on push notifications then he/she will be redirected to the set destination URL.
Icon: Upload image to be displayed with push notifications.
You can use dynamic keywords with Subject, Content and URLs. Please find below keywords. Please use keywords with square brackets. i.e. [customer.firstname]
For Customer:
- customer.firstname
- customer.lastname
- customer.dob
For order:
- order.customer_email
- order.customer_firstname
- order.customer_lastname
- order.total_qty_ordered
- order.status
- order.increment_id
- order.id
For Wishlist:
- wishlist.price
- wishlist.sku
- wishlist.name
For newsletter:
- newsletter.firstname
- newsletter.lastname
- newsletter.email
- Notifications Type: Select type of notification you want to set. There are many configurations available to send push notifications.
Please find below options available:- Send Immediately: Select "Send Immediately" option, if merchant want to send push notification instantly.
- Schedule Push: Select "Schedule Push" option, if merchant want to send push notification on scheduled date and time.
- Triggered On Event: Select "Trigger on Event" option, if merchant want to set push notifications trigger on specific set event.
- Trigger Event Name: Select event to show push notifications.
Please find below events for you can set push notifications,- Customer / Sign Up
- Customer / Logged in
- Customer / Logged out
- Customer Birthday
- Newsletter / Customer was subscribed
- Newsletter / Customer was unsubscribed
- Newsletter / Customer subscription status change
- Sales / Order status change
- Wish list / New product added to wish list
- Trigger Event Name: Select event to show push notifications.
Reports
- Merchant can generate report based on date duration and period.
Frontend Functionality
- This is sample notification, how push notifications looks in fronend.
Thank you for choosing MageDelight!