SHARE
TWEET

Untitled

a guest Nov 15th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. protected function _getProductCollection()
  2.     {
  3.         $productCollection = parent::_getProductCollection();
  4.         if(isset($_GET['custom_input'])){
  5.           if(!empty($_GET['custom_input']){
  6.             $customInput = $_GET['custom_input'];
  7.             $productCollection = $this->myModuleHelper->filterProduct(customInput, productCollection);
  8.           }
  9.         }
  10.         $this->_productCollection = $productCollection;
  11.         $this->_productCollection->getSize();
  12.         return $proCollection;
  13.     }
RAW Paste Data
Top