Guest User

Untitled

a guest
Nov 15th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  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. }
Add Comment
Please, Sign In to add comment