Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. $vendor_id = $this->_customerSession->getCustomerId();
  2.  
  3. $collection = $this->_collectionFactory->create();
  4. $collection->addFieldToSelect('*');
  5. $collection->addFieldToFilter('vendor_id',$vendor_id );
  6.  
  7. return $collection;
  8. }
  9.  
  10. /**
  11. * @return string
  12. */
  13. public function getPagerHtml()
  14. {
  15. return $this->getChildHtml('pager');
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement