public function __construct() { parent::__construct(); /**Code For Vendor**/ $isVendor = Mage::helper('cartmart')->isVendor(); //current user is vendor or not $model = Mage::registry('current_convert_profile'); if ($isVendor && $model->getDirection() == 'export') { $this->setTemplate('cartmart/system/convert/profile/run.phtml'); } }
public function __construct() { parent::__construct(); $this->setTemplate('orderimportexport/system/convert/profile/run.phtml'); }