• We want to compatible with your plugin with Woocommerce stock alert plugin. So we need a hook after product stock updated successfully from your end.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author storeapps

    (@storeapps)

    @abhirup23 ,

    Stock Manager for WooCommerce plugin does use core WooCommerce functions for updating stock or any other product fields.

    So, default WooCommerce actions like woocommerce_product_set_stock and woocommerce_variation_set_stock should work for you. Is that not working?

    Thread Starter abhirup23

    (@abhirup23)

    we actually want when a stock update from your end. do you have any hook from your plugin after update the stock. So we will add our plugin functionality.

    Plugin Author storeapps

    (@storeapps)

    @abhirup23 ,

    We currently do not have a custom hook that is automatically triggered after the stock is updated using the Stock Manager for WooCommerce plugin.

    However, as mentioned in our previous comment, the plugin utilizes core WooCommerce functions for stock and field updates. This means that the actions woocommerce_product_set_stock and woocommerce_variation_set_stock will be triggered after the stock is updated. You can utilize these actions to achieve the desired results you are looking for.

    Have you tried using these actions? If you encountered any issues, you might consider setting a higher priority for these actions to ensure they are executed at the appropriate time. If you still face challenges, kindly provide us with more detailed information about the specific outcome you want to achieve. This will enable us to offer more targeted and effective assistance

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add a hook after product stock update successfully’ is closed to new replies.