Read More
Read More
Menu Close

    Out of Stock Notification for Magento 2

    Out Of Stock Notification for Magento 2 is an add-on using which users can get notified when an out of stock product gets back in stock and is available for the purchase.

    The users just have to provide their email id and they will receive a mail when the product gets back in stock. The admin can choose whether the users get notified automatically or manually.

    Watch the below video tutorial to understand the extension workflow:

    vdsl-tbnvvs

    Features

    • The admin can enable or disable the low stock notification.
    • Product quantity can also be set by admin for low stock notification.
    • The customer will receive an email notification when the product gets back in stock.
    • Registered users email id will be automatically filled, they just have to click on ‘Notify Me’.
    • The admin can choose to notify users automatically or manually(for low stock notification).
    • The admin can view all the notification requests in which product name, notification status, and customer’s email id are mentioned.
    • Guest users can enter their email id for receiving notification.
    • The admin can also delete a request.
    • The admin can also configure the out of stock email notification templates which will receive by the subscribers as well as the admin.
    • Works for all types of product ie; Simple, Configurable, Virtual, Grouped, Bundle and Downloadable products.
    • Customer can see there Out Of Stock product list and even the status that is still pending or Notified and can also perform action as delete the product from the list
    • Note: To use the module following configuration should be enabled.
      Stores -> Configuration -> CATALOG -> Inventory -> Stock Options -> Display Out of Stock Products -> Yes

    Module Installation

    Install Extension from Webkul Store

    #1 Download Module

    Firstly, you need to log in to Webkul Store, go to My Account>My Purchased Products section, verify and then download and extract the contents of this zip folder on the system.

    #2 Upload Folder

    Customers will get a zip folder then they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. You need to transfer this app folder into the Adobe Commerce root directory on the server as shown below.

    Searching for an experienced
    Magento 2 Company ?
    Read More

    Installation Of Out Of Stock Notification for Magento2

    After the successful installation, you have to run these commands in the Adobe Commerce Cloud root directory.

    First command – php bin/magento setup:upgradecmd1

    Second command –  php bin/magento setup:di:compilecmd2

    Third Command – php bin/magento setup:static-content:deploy

    cmd3

    After running the commands, you have to flush the cache from Adobe Commerce admin panel by navigating through->System->Cache management as shown below.

    Out of Stock Notification for Magento 2

    Install Extension from Adobe Commerce Cloud Marketplace

    If you have purchased this extension from the Magento Marketplace then please follow the below process or visit this link.

    #1 Get Access Keys

    You need to get access keys, navigate to My Profile in Adobe Commerce Marketplace, then choose Access Keys in the My Products section.

    my-profile

    Go to Adobe Commerce Cloud and then you need to copy both the Access Keys – Public Key and Private Key. These access keys will be needed in the next steps for authentication.

    copy-keys

    If access keys are not created earlier, click Create A New Access Key, enter any name and click OK.

    create-key-name

    #2 Update composer.json File

    To know the component name and version number, go to your Magento Marketplace account section, My Profile>My Purchases, then find this extension to view the details.

    Please note – Below is an example image, every extension will have its unique component name and version.

    know-component-name-version

    After that, navigate to your Adobe Commerce project directory and update your composer.json file in the following format.

    composer require <component-name>:<version>

    For example, to install version 5.0.0 of this extension you need to run the following command:

    composer require webkul/outofstocknotification:5.0.0

    #3 Enter Access Keys

    Now you will need to enter the Access Keys that you obtained as explained in the first step #1 Get Access Keys. Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors.

    #4 Run Command

    You need to run the following commands:

    • php bin/magento setup:upgrade
    • php bin/magento setup:di:compile
    • php bin/magento setup:static-content:deploy
    • php bin/magento indexer:reindex
    • php bin/magento cache:flush

    Language Translation

    For translating the module language, navigate through src/app/code/Webkul/OutOfStockNotification/i18n and edit the en_US.csv file.

    Thereafter, rename the CSV as “en_SA.csv” and translate all right side content after the comma in the Arabic language. After editing the CSV, save it.

    Then upload it to the path src/app/code/Webkul/OutOfStockNotification/i18n where the Adobe Commerce Cloud is installed on the server. The module gets translated into the Arabic Language. It supports both RTL and LTR languages.

    webkul-magento2-paytabs-sadad-payment-multilingual-2

    Multi-Lingual Support

    For multilingual support, the admin will navigate through Store->Configuration->General ->Locale Options.

    After that, select the locale as English (United States) (the language into which the admin wants to translate his store content).

    Multi-country Language Popup-local_settings

    Admin Configuration

    First of all the admin has to navigate to Stores->Configuration->Webkul->Out Of Stock Notification. Then, four sections will appear:

    1.  Enable Out of Stock Notifications

     Enable Module on Frontend

    The admin can enable or disable the module on the front end.

    On doing so, the admin allows the customers to add their email addresses so as to get the notification as soon as the product gets back in stock.

        2.  General Settings

    webkul-magento2_out_of_stock_notification_module-_configuration_settings

    Select Notification Method

    The admin can set the notification method as Auto or Manual. In Auto, the notification emails will be automatically sent to the user whenever the product gets back in stock. In Manual, the admin has to manually notify the users.

     Admin Email-id

    In Admin Email id field, the admin has to set an email id from which all the notification emails will be sent to the users.

     Admin Name

    In this field, the admin has to enter his name.

     3.  Low Stock Notification Settings

    Low stock notification is used to send out low stock notification to the subscribers whenever the inventory of a product(for which they subscribed for the In Stock notification) reaches the minimum specified level.

    For example, when the inventory of a product gets below the specified limit(if set as 5 units) then the Subscribers will receive a low stock notification for the same product for which they initially subscribed for the in stock notification.low stock notification

    The chosen receivers will receive the email notification for Low Stock.

    Enable Low Stock Notification

    The admin can enable or disable the low stock notification. This means that if the low stock notification has been enabled by admin then the users will receive the notifications whenever a product gets low in stock.

    Low Stock Quantity

    The admin has to set the quantity of low stock notification.

    Select Low Stock Notification Template

    In this field, the admin has to select an email template for low stock notification.

       4.    Out of Stock notification Email Settings

    Under Out of stock Email Notificationsthe admin can configure:

    • Notify Admin of New Request.
    • Notify Customer of new Request.
    • Select Admin & Customer Notification template.
    • Select product in Stock Notification template(The Default one).

    The MSI Feature: For Stock Management

    To add a new source, the admin must navigate through Store > Inventory > Sources.

    The admin will find the Add New Source button which will help the admin create a New Source.

    webkul-magento2-msi-marketplace-addon-add-new-source

    As the admin clicks on the ‘Add New Source‘ button, a New Source page opens up.

    The admin will have to add the General details, Contact Info, the Address Data as shown in the image below, so as to create a new source.

    webkul-magento2-msi-marketplace-addon-add-new-source-details

    On saving the details, the source which the admin creates (here, United States), is visible under the source list as shown in the image below.

    webkul-magento2-msi-marketplace-addon-source-list

    Assigning Stock to a Source

    Further, the admin can assign stock to the sources by navigating through Store > Inventory > Stocks.

    The admin will find a Add New Stock tab to create a new stock as shown in the image below.

    webkul-magento2-msi-marketplace-addon-add-new-stock

    As the admin clicks on the Add New Stock tab, the admin can configure the General details, Sales channels, and the Sources.

    The admin will have to click on the Assign Sources tab under Sources as shown in the image below.

    webkul-magento2-msi-marketplace-addon-add-stock-details

    It redirects to the Assign Sources page, where the admin will have to select the sources from the given source list, and thereafter click on the Done button.webkul-magento2-msi-marketplace-addon-assign-sources

    Under the Sources option, the sources which the admin selects will display against Assigned Sources as shown in the image below.webkul-magento2-msi-marketplace-addon-assigned-sources

    On saving the details of the new stock, a success message shall display on top of the page as shown in the image below.

    Also, on creating a new stock, the main website must be chosen as shown in the image below.

    webkul-magento2-msi-marketplace-addon-success-message-2

    Frontend – Out Of Stock Notification

    Guest User

    If the admin has enabled the module on frontend from the admin panel then the guest user has to enter his/her email id then click on Notify me option if he/she wants to get notified about when the out of stock product gets back in stock and available for purchase.

    Out of Stock Notification for Magento 2

    If the admin has disabled the module on frontend from the admin panel then the guest user will not be able to enter the email id for receiving the notification.

    Out of Stock Notification for Magento 2

    Registered User

    Whenever registered users visit an out of stock product page, they can see that their email id is already been filled in the email id field, they can also change the email id if they want and after that, they can click on ‘Notify Me‘ to receive notification when the product gets back in stock.

    Out of Stock Notification for Magento 2

    After entering email id then clicking on ‘Notify Me‘, the customer will get a confirmation message, as shown in the screenshot below.

    Out of Stock Notification for Magento 2

    When a user will click on ‘Notify me’ he/she will receive a notification email as shown below:

    Out of Stock Notification for Magento 2

    Configurable Product

    For configurable products also, if any user visits the configurable product’s page and any of their associated product is out of stock, then, the user can request for that product and will be notified for that particular associated product which is out of stock.

    Out of Stock Notification for Magento 2

    Also, either the registered user or the guest user moves their cursor over the email id field. An info message in the black box will be visible to the users.

    Note: If Configurable Product itself is ‘Out of Stock’ then ‘Out of Stock Notification’ works the same as it works for Simple Products.

    Email Notification

    When the product gets back in stock, the customers will receive a notification email on their registered email id.

    Out of Stock Notification for Magento 2

    Backend – MANAGING NOTIFICATION REQUESTS

    Admin has to go to Out of Stock Notification –> See All Requests to view all the notification requests made on the web store.

    Out Of Stock Notification for Magento2

    Under All Requests, the admin can view all the requests with the user email id, notification status and product name on which the request is made.

    From here the admin can manually notify the user by selecting the user and then selecting action as Send Notification. The admin can also delete a request from here.

    Out of Stock Notification for Magento 2

    impluse-buyerCUSTOMER-END :

    Customer can see there My Out Of Stock product here and the status that is still pending or Notified and can also perform action as delete the product from the list.

    out-of-stock-subscriptions

    That’s all for the Out Of Stock Notification for Magento 2. Furthermore, if you still have any issues feel free to add a ticket and let us know your views to make the module better Support Link

    Current Product Version - 5.0.0

    Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

    Blog Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x
    • Version 2.0.x, 2.1.x, 2.2.x,2.3.x,2.4.x
    • Version 2.0.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x
    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    12 comments

  • Victor
    Is it possible to disable at the product level?
    • Neelesh Singh (Moderator)
      Hello there,
      If you have custom requirements it can be done through customization. You can email us your complete requirements at [email protected] and we will get back to you accordingly.

      Thank You
      Webkul Team

  • Darwin
    Is this extension compatible with magento 2.3.5 Enterprise Edition? Also, in magento marketplace, you guys do not have the latest version.
    • Rahul Gupta (Moderator)
      Hi Darwin,
      Yes, it is compatible you can purchase the module with Enterprise version from our store and you will get the updated version of the module – https://prnt.sc/tzxmfv
      Regards
      Webkul Team
  • Sander
    I’m not able to find out how translations work.

    I have added multiple mail templates for different languages, but all the notifications are coming in one language associated to one store view.

    So for a logged in user, based on what information is decided from which store view the mails have to be send? Multiple options in my opinion:
    1. Account created in [store view]?
    2. Active [store view]?
    3. Other?

    Please let me know, thanks!

    • Archana Tiwari (Moderator)
      Hello There,
      As per the query, for logged-in users, the mails will be sent from the Active store view. For further queries regarding the same, you can mail us at [email protected]
      Thanks & Regards,
      Webkul Team
  • Rosalind
    Is there a way to have the email sign-up appear when “salable quantity” reaches 0? Since the addition of the salable quantity column, we’ve had items that show as OOS, but there’s no signup available until the regular “quantity” reaches 0, so some of our most popular items are stuck in limbo over the weekend.
    • Rajan Dimri (Moderator)
      Hello there,
      This option is not available yet but if you want this then it can be done through the customization. Please share your complete requirements at [email protected] so that we can assist you accordingly.
      Thanks!
  • Matthieu
    Can we set different threshold numbers for different products?
    Ex.
    Product1 set to notify when stock drops below 5
    Product2 set to notify when stock drops below 1
    • Rajan Dimri (Moderator)
      Hello There,
      You can’t set the different threshold numbers for different products. But if you want this feature then it can be done through customization. For more information please share your complete requirements at [email protected] so that we can assist you accordingly.

      Thanks!

  • Jessy Loran
    Is this supporting multi website?
    • gunjita joshi (Moderator)
      Hello,

      Yes, it supports multi-website feature.

      Thanks

  • Back to Top

    Table of Content