Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Hussain Saleh

Is there a way to trigger bulk “Update” woocommerce products after inline edit

We are using a plugin called wplister which sends items to ebay. And any changes to a product should be automatically updated to ebay listing.

The issue is using Admin columns inline edit, whilst the changes do work on the woocommerce side, they don’t seem to trigger wplister to detect an item has been updated. I have to edit or “Quick edit” each individual item and then just click “Update” for it to trigger that a change has been made to an item

Is there a way to do that in bulk using admin columns? or alternatives?

7 months, 1 week ago
Stefan
Developer

I suspect that the logic you’re describing is working on the save post hook. You could use the following hook to trigger the necessary hook to update the information:

https://github.com/codepress/admin-columns-hooks/blob/master/acp-editing-saved.php

The example in the function acp_editing_update_post_modified_date fires a wp_update_post call to update the update date, but it probably also works for your use case. There are two examples in that function, but you probably only need the first one and check for the Product post type.

Are you able to modify and implement the hook yourself to try this out?

7 months, 1 week ago

You must be logged in to reply to this topic.