Exemple #1
0
 protected function _prepareLayout()
 {
     $this->setChild('aitcg_printarea_window', $this->getLayout()->createBlock('adminhtml/template')->setTemplate('aitcg/window/printarea.phtml'));
     $this->_prepareAllowTextDistortionSelect();
     $this->_prepareAllowPredefinedColorsSelect();
     $this->_prepareColorSetSelect();
     return parent::_prepareLayout();
 }
Exemple #2
0
 public function getPriceTypeSelectHtml()
 {
     $this->getChild('option_price_type')->setData('id', 'product_option_{{id}}_select_{{select_id}}_price_type')->setName('product[options][{{id}}][values][{{select_id}}][price_type]');
     return parent::getPriceTypeSelectHtml();
 }
Exemple #3
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('catalog/product/edit/options/type/text.phtml');
 }
Exemple #4
0
 /**
  * Class constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('swatches/product/edit/options/type/swatch.phtml');
 }
Exemple #5
0
 public function __construct()
 {
     parent::__construct();
     //Set the template to our's so we can add the additional fields for the regex information
     $this->setTemplate('demac/customoptionsregex/catalog/product/edit/options/type/text.phtml');
 }