Jump to content

[Question] Sort Featured products


Recommended Posts

i found the solution for my question on this thread

http://www.prestashop.com/forums/topic/212974-featured-products-sort-order/

by changing the code to the following

// webmaster changes start
//			  $products = $category->getProducts((int)Context::getContext()->language->id, 1, ($nb ? $nb : 10));
		    $products = array_reverse($category->getProducts((int)Context::getContext()->language->id, 1, ($nb ? $nb : 10)));
// webmaster changes end

 

On top of that i would like to know is there any module out there that can configure the position of the featured product. for eg which to show and on where

Link to comment
Share on other sites

you can also define own position in the prestashop back office.

just open the catalog > products page

 

(1) select "filter by category" - (2) select "home" as filter.

 

then you will see products attached to the home category. You can change position of them with (3):

HoPVZN9.png

Link to comment
Share on other sites

Hi Vekia

 

I've a problem even i sort the order.

I set the number of featured product show to 20. I have more than 50 items in my product page. the problem now is the featured product will only show the oldest 20 not the newest 20.

 

How do i fix that ?

Link to comment
Share on other sites

×
×
  • Create New...