antalya gergi tavan antalya duvar kağıdı

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

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by AccessShopThemes Support AccessShopThemes Support 2 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3927

    wajidullahkhan
    Participant

    Hi,
    i like your theme which is really nice.
    http://glount.com
    in this site, here on the home page feature and best seller products change their position with update.
    i want it fix with id.
    how can i ?

    Thanks in advance.

    #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!

    #3941

    wajidullahkhan
    Participant

    Thank you so much its working now 🙂

    #3946

    That’s good to hear.
    Please help us by providing reviews here: http://www.magentocommerce.com/magento-connect/accessshop-lite-theme.html

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

anal porno watch porn anal