Support » Plugin: Stock Manager for WooCommerce » Save Button doesn’t appear when only using arrows to change stock quantities

  • WP Version: 5.8
    WooCommerce Version: 5.6.0
    Stock Manager Version: 2.7.0
    Theme: Twenty Twenty-One v1.4

    I previously mentined the problem in this thread where @storeapps asked me to open an own thread.

    I tested on a clean install of WP with WooCommerce and Stock Manager, no other plugins, default theme. I only added one Product and activated stock management for it.

    The problem I have, is that when editing stock quantities in Firefox, the “Save all Changes” button only appears after I give one of the changed fields focus by clicking into it and then removing focus from it by clickcing somewhere else.

    When using Chrome the problem is slightly different although still similar. I don’t have to click into the field to give it focus, but I still need to click somewhere else after using the arrow buttons. Otherwise the “Save all changes” button doesn’t appear. Obviously this only happens if only changing one value.

    I wasn’t able to dig deep into the plugin’s javascript code, but from what I was able to tell, the plugin is using the onblur event to detect changes in the input fields. But when only using the arrow buttons, this event is not fired. Instead the checks should be attached to the onchange event.

    BTW: The same happens if I use the keyboard to change just one value. The change only gets registered when changing focus of the field by either pressing the tab key or clicking somewhere else.

Viewing 1 replies (of 1 total)
  • Plugin Author storeapps


    Hi @jhoffmann

    Thank you for the detailed explanation.

    Can you confirm you have the latest versions of both browsers and 2.8.0 of the Stock Manager plugin and are still able to replicate the same?

    Meanwhile, we are also looking into it and will let you know once we have any updates on this.

Viewing 1 replies (of 1 total)
  • The topic ‘Save Button doesn’t appear when only using arrows to change stock quantities’ is closed to new replies.