Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $productCollection = $this
- ->productModel
- ->getProductCollection()
- ->addAttributeToSelect('*');
- $productCollection->getSelect()->orderRand();
- $productCollection->setPagesize(10);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement