public function autoupdateurlKey($observer)
{
$product=$observer->getEvent()->getProduct();
$oldUrlKey=$product->getOrigData('url_key');
$Sku=$product->getSku();
$TypeId=$product->getTypeId();
// put yourlogic
$product->getData('url_key',$YourNewUrl);
return $this;
}
Best Answer
open
app\code\core\Mage\Adminhtml\Block\Report\Product\Sold\Grid.php
and put the below code in_prepareColumns()
functionYou can move
Grid.php
in your local folder as well or can override it in custom module.