Mailchimp Banner | Q2 2024

added by Latoya

Product Icon

Bulk Product Sync with Google Sheets™

Save time and import and export store products and categories via Google Sheets with the Bulk Product Sync with Google Sheets plugin.

WooCommerce hook needs to fire after product update

So we are using the n8n service to do some stuff after the woocommerce_update_product hook fires, like send notifications and update social media etc.

The problem we’re finding with your plugin is that when the product is updated, so lets say a price is changed, the woocommerce_update_product hook doesn’t fire because not part of the process.

We’ve hacked it by using cron but it’s far from ideal. Can you maybe suggest a workaround, or perhaps you could incorporate something into the plugin?

We found this on stack overflow so it’s clear not just us that has this kind of issue. https://stackoverflow.com/questions/49950000/woocommerce-hook-that-fires-after-a-product-is-updated-via-rest-api

Cheers

Author

John Pallister

Current Status

Open

Last updated: September 15, 2023

1 comment

Log in to comment on this feature request.

  1. nmedia says:

    Hi John,

    You can use the following hook to trigger your functions when the product is updated via our plugin:

    `woocommerce_rest_insert_product_object`