I'm using to feed between my magento website and my ERP. The first one is from ERP to and update the stock information of ALL PRODUCTS.
The second one is from magento to the ERP and update information like price, brand, ... This one is based on the updated_at, we are sending only the products which has changed.
But, because of the first script, all products have changed. Then i would like to keep the previous updated_at date in my first script. I've tried this :
$product->setUpdatedAt($product->getUpdatedAt());
but it's not working. Is there a way to do this ?
Thx