Ejemplo n.º 1
0
 public function getMassactionBlockHtml()
 {
     $advancedFilterBlock = $this->getLayout()->createBlock('M2ePro/adminhtml_listing_product_rule');
     $advancedFilterBlock->setShowHideProductsOption($this->showAdvancedFilterProductsOption);
     $advancedFilterBlock->setGridJsObjectName($this->getJsObjectName());
     return $advancedFilterBlock->toHtml() . parent::getMassactionBlockHtml();
 }
Ejemplo n.º 2
0
 public function getMassactionBlockHtml()
 {
     if ($this->isNewChildAllowed()) {
         $blockName = 'adminhtml_common_amazon_listing_variation_product_manage_tabs_variations_child_form';
         $form = $this->getLayout()->createBlock('M2ePro/' . $blockName);
         $form->setListingProductId($this->getListingProductId());
         return $form->toHtml() . parent::getMassactionBlockHtml();
     }
     return parent::getMassactionBlockHtml();
 }