public function __construct() { parent::__construct(); $isProductEdit = Mage::helper('formbuilder')->isProductEdit(); if (!$isProductEdit) { $this->setTemplate('formbuilder/catalog/product/edit/options/type/file.phtml'); } }
public function __construct() { parent::__construct(); if (!Mage::helper('customoptions')->isEnabled()) { return $this; } $this->setTemplate('customoptions/catalog-product-edit-options-type-file.phtml'); }
public function __construct() { parent::__construct(); $this->setTemplate('customoptions/catalog-product-edit-options-type-file.phtml'); }