eboosttech/magento2-stock-alert

View subscribers for out of stock notifications

1.0.2 2024-04-05 03:14 UTC

This package is auto-updated.

Last update: 2024-05-09 04:04:53 UTC


README

Overview

This simple module allows the store admins to view subscribers for out of stock notifications and allows add a stock notification for products in the product list page

Features

  • View subscribers that registered to receive out of stock notifications
  • Turn on/off the notify stock button for product in product list page
  • Turn on/off the notify stock button for product in product detail page
  • Subscriber/un-subscriber for out of stock notifications on frontend
  • Support Ajax and Login popup

Installation

Require the module

composer require eboosttech/magento2-stock-alert

Run setup to install module

php bin/magento setup:upgrade

Run comandline below to deploy

php bin/magento setup:static-content:deploy

Usage

View subscribers for out of stock notifications

You can go to Eboost > Stock Notification Subscribers to view subscribers for out of stock notifications

Stock Alert Subscribers Menu Screenshot Stock Alert Subscribers List Screenshot

Show notify button for product list page | product detail page

  • Go to Eboost > Configuration to setup

Stock Alert Configuration menu Screenshot

  • Go to Product Alerts section and expand it

Stock Alert Configuration Section Screenshot

  • Change Allow Alert When Product Comes Back in Stock's value to turn On/Off the notify button.
  • Change "Display notify stock button in category page"'s value to turn On/Off the notify button on the category page.
  • Change "Display notify stock button in product detail page"'s value to turn On/Off the notify button on the product page.

Stock Alert Configuration Section Screenshot

  • Click Save Config

  • Go to Cache Management -> Flush magento cache

  • Go to frontend and check

Stock Alert FE Screenshot Stock Alert FE Screenshot Stock Alert FE Screenshot Stock Alert FE Screenshot Stock Alert FE Screenshot

Custom Email templates

  1. Go to Marketing -> Email templates -> Add New Template

Stock Alert FE Screenshot

  1. Go to Eboost > Configuration -> Catalog-> Product Alerts section

Stock Alert FE Screenshot

  1. SelectStock Alert option -> click Load template button

Stock Alert FE Screenshot

  1. Add a Name and code, HTMl, CSS for content -> click Save template button

Stock Alert FE Screenshot

  1. Repeat from step 1 to step 4 if you want to create a custom template for Price Alert

  2. Select the new template that you have just created above

Stock Alert FE Screenshot

Bugs/Feature Requests & Contribution

Please do open a pull request on GitHub should you want to contribute, or create an issue.

License

BSD-4-Clause - Do as you wish 👍