Woocommerce only update "date_modified" if content acctually have been modified

So currently I’m working with the woocommerce rest api and am using the “date_modified” and “date_created” product value to detect updates in a product. However the “date_modified” gets updated just if I click on update-button without acctually having made any change to the product at all.

This problem wasn’t really unexpected but I didn’t know how to walk arround it so I just walked right into it.

Is there any way to fix this inside wordpress/woocommerce or do I have to solve it outside of wordpress?

Read more here: Woocommerce only update "date_modified" if content acctually have been modified

Leave a Reply

Your email address will not be published. Required fields are marked *