Need help modifying the stock level to send email on

Home Forums Notifima Need help modifying the stock level to send email on

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1684
    pankaj.sharma
    Participant

    Currently the plugin sends email as soon as the product comes back in stock. I want to modify it to send email after the product reaches a specific stock level.
    For example until product reaches 10 stock level the email will not be sent.

    I got in touch with chat support and the representative told me that it can be done using custom code but I need help finding the exact hook
    I checked the documentation https://notifima.com/docs/ but could not find anything useful.

    Thanks

    #1685
    Purnendu Dash
    Keymaster

    Hello @Pankaj, Thank you for getting in touch with us.

    In the current flow, when the stock of an out-of-stock product is updated, subscribers are automatically notified via email. However, there isn’t a built-in option to customize or update the stock quantity within that notification flow.
    If you’re looking to implement custom changes, you can refer to the relevant section of our code here: https://github.com/multivendorx/woocommerce-product-stock-alert/blob/940276b6b256503cb5bbf2da50ad87e4d2ee5ccb/classes/Subscriber.php#L92

    You can modify the logic as needed based on your requirements.

    Please let us know if there’s anything else we can help you with.

    Regards
    Sangita

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Shopping Cart
Scroll to Top