Guest User

Untitled

a guest
May 22nd, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. $this->getCollection()->getSize()
  2.  
  3. $_productCollection = $_productCollection->addAttributeToFilter('name', array( array('like' => '%'.$search_txt.'%') ));
  4.  
  5. $clone = clone $_productCollection;
  6.  
  7. echo $clone->getSize();
Add Comment
Please, Sign In to add comment