I am using Magento version 1.4.0.1.
I have a product with the following "Special Price From Date" and "Special Price To Date" (present under 'Prices' tab in product edit page):
Special Price From Date = 4/7/13 (i.e. April 07, 2013)
Special Price To Date = 7/3/13 (i.e. July 03, 2013)
Then I run the following code to update the product:
Mage::getModel('catalog/product')
->load($productId)
->setName('Some new name for the product')
->save();
The problem is that the special price from date and to date is changed automatically. Now, the special price from and to date become like this:
Special Price From Date = 7/4/13 (i.e. July 04, 2013)
Special Price To Date = 3/7/13 (i.e. March 07, 2013)
Any help please?