Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected function _getProductCollection()
- {
- $productCollection = parent::_getProductCollection();
- if(isset($_GET['custom_input'])){
- if(!empty($_GET['custom_input']){
- $customInput = $_GET['custom_input'];
- $productCollection = $this->myModuleHelper->filterProduct(customInput, productCollection);
- }
- }
- $this->_productCollection = $productCollection;
- $this->_productCollection->getSize();
- return $proCollection;
- }
Add Comment
Please, Sign In to add comment