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(); }
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(); }