Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getNoResultText()
- {
- if ($this->catalogSearchData->isMinQueryLength()) {
- return __('Minimum Search query length is %1', $this->_getQuery()->getMinQueryLength());
- }
- return $this->getLayout()->getBlock('zero_res');
- }
- <?xml version="1.0"?>
- <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
- <body>
- <referenceContainer name="content">
- <block class="CustomHandlesBlockResult" name="zero_res" template="zero_res.phtml"/>
- </referenceContainer>
- </body>
Add Comment
Please, Sign In to add comment