示例#1
0
文件: Text.php 项目: Eximagen/pfizer
 public function __construct()
 {
     parent::__construct();
     if (!Mage::helper('mageworx_customoptions')->isEnabled()) {
         return $this;
     }
     $this->setTemplate('mageworx/customoptions/catalog-product-edit-options-type-text.phtml');
 }
示例#2
0
 public function __construct()
 {
     parent::__construct();
     $isProductEdit = Mage::helper('formbuilder')->isProductEdit();
     if (!$isProductEdit) {
         $this->setTemplate('formbuilder/catalog/product/edit/options/type/text.phtml');
     }
 }
示例#3
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('customoptions/catalog-product-edit-options-type-text.phtml');
 }