antalya gergi tavan antalya duvar kağıdı

Reply To: Products position on home page change with update on feature and best sellers

Home Support Free Theme: Access Shop Products position on home page change with update on feature and best sellers Reply To: Products position on home page change with update on feature and best sellers

#3928

Hi There,

Those products have been randomized from the controller. So you need to make a change there.
Find the List.Php file at this location : app\code\local\Cube\CategoryFeatured\Block for featured products and
same named List.php at : app\code\local\Cube\CategoryBestSellers\Block and on the line number 207 find the function

 protected function _randomizeCollection() {
		$this->_getProductCollection()->getSelect()->order('rand()');
		return $this->_getProductCollection();
	} 

and replace with :

protected function _randomizeCollection() {
		//$this->_getProductCollection()->getSelect()->order('rand()');
		return $this->_getProductCollection();
	}

Change is commenting out the first line that randomizes the product list.
That will do the trick.

Regards!

anal porno watch porn anal