Пример #1
0
 protected function _toHtml()
 {
     $helpBlock = $this->createBlock('HelpBlock')->setData(['content' => $this->__('<p>These Rules of the automatic product adding and removal act globally for all Magento Catalog.
                 When a new Magento Product is added to Magento Catalog, it will be automatically added to
                 the current M2E Pro Listing if the settings are enabled.</p><br>
                 <p>Accordingly, if a Magento Product present in the the M2E Pro Listing is removed from 
                 Magento Catalog,  the Item will be removed from the Listing and its sale 
                 will be stopped on Channel.</p><br>
                 <p>More detailed information you can find <a href="%url%" target="_blank">here</a>.</p>', $this->getHelper('Module\\Support')->getDocumentationUrl(NULL, NULL, 'x/_QItAQ'))]);
     $breadcrumb = $this->createBlock('Ebay\\Listing\\AutoAction\\Mode\\Breadcrumb', '', ['data' => ['id_prefix' => 'global']]);
     $breadcrumb->setSelectedStep(1);
     return $helpBlock->toHtml() . $breadcrumb->toHtml() . parent::_toHtml();
 }