• Resolved muleque

    (@muleque)


    Hi there,

    I recently experienced, that I also get stock notifications for products that are not managed by ATUM inventory. The stock cant be reduced and thus never “out of stock”. Everything works perfectly fine except that I get tons of messages for unmanaged products via mail. Any suggestions what can be the problem, this was not the case a while ago. Maybe an update?

    best M

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jose Andres Piera

    (@japiera)

    Hi @muleque

    Sorry for any inconvenience caused.

    You didn’t include which ATUM version has your site installed. Anyway, ATUM version 1.9.2 introduced a new feature that changes when the low and out-of-stock email notifications are sent depending on whether the ATUM product’s out and low stock fields are set.

    If any of the other plugins on your site is modifying the emails or these WC fields, it may be interfering with ATUM.

    To test if this is what is happening, please, deactivate all the plugins except ATUM and WC and switch to a standard theme (like storefront). After that, just try to reproduce the issue.

    Best Regards,
    José Andrés

    Thread Starter muleque

    (@muleque)

    Hi @japiera

    Yes, I have updated to v1.9.2. Deactivating any other plugin including WC?
    I do not get this sentece: Anyway, ATUM version 1.9.2 introduced a new feature that changes (how does the feature change? and what does it change?) when the low and out-of-stock email notifications are sent depending on whether the ATUM product’s out and low stock fields are set. If you could elaborate a litte that might help me finding the issue. I guess I am not the only one having troubles with the update?

    Best
    M

    Plugin Author Jose Andres Piera

    (@japiera)

    Hi @muleque

    Sorry if I wasn’t clear enough:

    I asked to deactivate all the plugins except ATUM and WC.

    Regarding your question:

    If you could elaborate a little that might help me find the issue.

    The only way that we found to replace when the emails are sent is to disable the WooCommerce hooks and execute our own ones after that. You can find the code in wp/atum-stock-manager-for-woocommerce/classes/Inc/Hooks.php

    Just take a look at the functions:

    • prevent_stock_emails()
    • maybe_prevent_sending_stock_emails()
    • maybe_trigger_stock_change_notifications()
    • trigger_stock_change_notifications()

    Of course, do not hesitate to suggest any changes you may need. The dev team will discuss and include them if they find them suitable.

    Best Regards,
    José Andrés

    Thread Starter muleque

    (@muleque)

    Okay. I think I got confused with all the possible settings. Just to be sure, the WC stock management should be activatet or deactivated?

    If activated, sending messages should also be activated in the same WC setting?

    Best
    M

    Plugin Author Jose Andres Piera

    (@japiera)

    Hi @muleque,

    Sorry, I think I got you now.

    We aren’t checking the sending messages setting in our code. This causes emails to always be sent, whatever the settings. This is your problem, isn’t it?

    We’ll try to fix this ASAP.

    Best Regards,
    José Andrés

    Thread Starter muleque

    (@muleque)

    My exact problem is, that Products of which the stock status is unmanaged, always trigger an “out of stock” e-mail. ATUMS Stock indicater indicates “in Stock (not managed by WC)” for these products. This is super anoying as most of my products are unmanaged and if the customer has bought 30 different products (lets say 20 of these are unmanaged) I get 20 “out of stock” e-mails.

    Best
    M

    Plugin Author Jose Andres Piera

    (@japiera)

    Hi @muleque.

    Sorry if I didn’t explain well.

    Anyway, it’s the same problem. As I told you, we’ll fix it ASAP.

    Best Regards,
    José Andrés

    Plugin Author Jose Andres Piera

    (@japiera)

    Hi @muleque,

    We updated the plugin two days ago. The issues with the emails should be fixed. They should only be sent if you enable the options in the WooCommerce settings.

    Best Regards,
    José Andrés

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘“out of stock”/”low stock” message for unmanaged products’ is closed to new replies.