Beispiel #1
0
 protected function prepareFieldsetProductView()
 {
     $fldView = $this->_form->addFieldset('view', array('legend' => $this->__('Product Related Image')));
     $note = new Varien_Data_Form_Element_Note(array('text' => $this->__('This image will be displayed near the products having current attribute option selected. You need to perform some modifications in theme template, please see Amasty Improved Navigation User Guide on pages 16-17.')));
     $note->setId('product_view_note');
     $fldView->addElement($note);
     $fldView->addField('img_medium', 'file', array('label' => $this->__('Image'), 'name' => 'img_medium', 'required' => false, 'after_element_html' => $this->getImageHtml($this->model->getImgMedium())));
     $fldView->addField('remove_img_medium', 'checkbox', array('label' => $this->__('Remove Image'), 'name' => 'remove_img_medium', 'value' => 1));
 }
Beispiel #2
0
 protected function prepareFieldsetProductView()
 {
     $fldView = $this->_form->addFieldset('view', array('legend' => $this->__('Product View Page')));
     $note = new Varien_Data_Form_Element_Note(array('text' => $this->__('You need to enable option <b>Show on Product</b> on filter edit page in order to make these settings work. You also need to perform modifications in theme template, see Amasty Improved Navigation User Guide on page 15.')));
     $note->setId('product_view_note');
     $fldView->addElement($note);
     $fldView->addField('img_medium', 'file', array('label' => $this->__('Image'), 'name' => 'img_medium', 'required' => false, 'after_element_html' => $this->getImageHtml($this->model->getImgMedium())));
     $fldView->addField('remove_img_medium', 'checkbox', array('label' => $this->__('Remove Image'), 'name' => 'remove_img_medium', 'value' => 1));
 }