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(); }
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(); }
public function __construct() { parent::__construct(); $this->setTemplate('catalog/product/edit/options/type/text.phtml'); }
/** * Class constructor */ public function __construct() { parent::__construct(); $this->setTemplate('swatches/product/edit/options/type/swatch.phtml'); }
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'); }