daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public function getNoResultText()
  2.     {
  3.         if ($this->catalogSearchData->isMinQueryLength()) {
  4.             return __('Minimum Search query length is %1', $this->_getQuery()->getMinQueryLength());
  5.         }
  6.  
  7.         return $this->getLayout()->getBlock('zero_res');
  8.     }
  9.    
  10. <?xml version="1.0"?>
  11. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
  12.  
  13. <body>
  14.     <referenceContainer name="content">
  15.         <block class="CustomHandlesBlockResult" name="zero_res" template="zero_res.phtml"/>
  16.     </referenceContainer>
  17. </body>
RAW Paste Data
Top