Esempio n. 1
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('listingProductReview');
     // ---------------------------------------
     $this->setTemplate('amazon/listing/product/add/review.phtml');
 }
Esempio n. 2
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('amazonOrderViewForm');
     // ---------------------------------------
     $this->order = $this->getHelper('Data\\GlobalData')->getValue('order');
 }
Esempio n. 3
0
 protected function _construct()
 {
     parent::_construct();
     // Set buttons actions
     // ---------------------------------------
     $this->removeButton('back');
     $this->removeButton('reset');
     $this->removeButton('delete');
     $this->removeButton('add');
     $this->removeButton('save');
     $this->removeButton('edit');
     // ---------------------------------------
 }
Esempio n. 4
0
 protected function _construct()
 {
     parent::_construct();
     // Set buttons actions
     // ---------------------------------------
     $this->removeButton('back');
     $this->removeButton('reset');
     $this->removeButton('delete');
     $this->removeButton('add');
     $this->removeButton('save');
     $this->removeButton('edit');
     $this->addButton('save', array('label' => $this->__('Save'), 'onclick' => 'SettingsObj.saveSettingsTab()', 'class' => 'primary'));
 }
Esempio n. 5
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayListingCategorySameSpecific');
     // ---------------------------------------
     $this->_headerText = $this->__('eBay Same Categories');
     $this->setTemplate('ebay/listing/product/category/settings/mode/same/specific.phtml');
     $this->addButton('back', array('label' => $this->__('Back'), 'class' => 'back', 'onclick' => 'setLocation(\'' . $this->getUrl('*/*/*', array('_current' => true, 'step' => 2)) . '\');'));
     $saveUrl = $this->getUrl('*/*/*', array('step' => 3, '_current' => true));
     $this->addButton('save', array('label' => $this->__('Continue'), 'class' => 'action-primary forward', 'onclick' => "EbayListingProductCategorySettingsSpecificObj.submitData('{$saveUrl}');"));
 }
Esempio n. 6
0
    public function _construct()
    {
        parent::_construct();
        // Initialization block
        // ---------------------------------------
        $this->setId('ebayListingCategorySameChooser');
        // ---------------------------------------
        $this->_headerText = $this->__('eBay Same Categories');
        $this->addButton('back', array('label' => $this->__('Back'), 'class' => 'back', 'onclick' => 'setLocation(\'' . $this->getUrl('*/*/*', array('_current' => true, 'step' => 1)) . '\');'));
        $onClick = <<<JS
EbayListingProductCategorySettingsChooserObj.submitData(
    '{$this->getUrl('*/*/*', array('step' => 2, '_current' => true))}'
);
JS;
        $this->addButton('next', array('label' => $this->__('Continue'), 'class' => 'action-primary forward', 'onclick' => $onClick));
    }
Esempio n. 7
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('amazonTemplateDescriptionCategoryChooserEdit');
     // ---------------------------------------
     // Set buttons actions
     // ---------------------------------------
     $this->buttonList->remove('back');
     $this->buttonList->remove('reset');
     $this->buttonList->remove('delete');
     $this->buttonList->remove('add');
     $this->buttonList->remove('save');
     $this->buttonList->remove('edit');
     // ---------------------------------------
 }
Esempio n. 8
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayListingCategorySpecificWrapper');
     // ---------------------------------------
     $this->_headerText = $this->__('eBay Categories Specifics');
     // ---------------------------------------
     $this->addButton('back', array('label' => $this->__('Back'), 'class' => 'back back_category_button', 'onclick' => 'EbayListingProductCategorySettingsSpecificWrapperObj.renderPrevCategory();'));
     // ---------------------------------------
     // ---------------------------------------
     $this->addButton('continue', array('id' => 'save_button primary forward', 'label' => $this->__('Continue'), 'class' => 'action-primary continue specifics_buttons', 'onclick' => "EbayListingProductCategorySettingsSpecificWrapperObj.save();"));
     // ---------------------------------------
     // ---------------------------------------
     $this->addButton('next_category_header_button', array('id' => 'next_category_header_button', 'label' => $this->__('Next Category'), 'class' => 'action-primary next_category_button specifics_buttons', 'onclick' => "EbayListingProductCategorySettingsSpecificWrapperObj.renderNextCategory();"));
     // ---------------------------------------
     $this->setTemplate('ebay/listing/product/category/settings/specific/wrapper.phtml');
 }
Esempio n. 9
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayListingCategoryChooserEdit');
     // ---------------------------------------
     // Set buttons actions
     // ---------------------------------------
     //        $this->removeButton('back');
     //        $this->removeButton('reset');
     //        $this->removeButton('delete');
     //        $this->removeButton('add');
     //        $this->removeButton('save');
     //        $this->removeButton('edit');
     // ---------------------------------------
     // ---------------------------------------
     $this->setTemplate('ebay/listing/product/category/settings/chooser/edit.phtml');
     // ---------------------------------------
 }
Esempio n. 10
0
 public function _construct()
 {
     parent::_construct();
     $this->setTemplate('amazon/listing/product/search/main.phtml');
 }
Esempio n. 11
0
 public function _construct()
 {
     parent::_construct();
     $this->setTemplate('amazon/listing/product/template/description.phtml');
 }