renjii Posted September 5, 2013 Share Posted September 5, 2013 Hi The Featured product is always showing the older product on top and the newly added product at the bottom I'm using the following code to do a reversi for home featured product in 1.5.4 http://www.prestasho...cts-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 After upgrade to 1.5.5 i replace this code in line 123 but the reversi is no longer working. Can anyone help to fix this code ? Link to comment Share on other sites More sharing options...
Recommended Posts