Hi @navidsmh
Just to confirm, on both installations (local and on production) you’re getting the date of a published product updated as soon as an order is completed?
Are you using any hooks or custom codes to handle the product/order date, or even change their metadata programmatically?
Also, I’d recommend using a staging plugin, instead of doing it locally.
If your host doesn’t offer that option, we recommend WP Staging for quickly spinning up a new test site. Double-check your functions.php on that staging site too!
And then, if you’re still having issues with that, share with us your System Status report with a basic setup (everything disabled except for WooCommerce and Storefront as a theme) of that staging site!
I hope to hear from you soon!
All the best,