Jump to content

Home featured products


Recommended Posts

I searched on internet. I could show products on Home Featured at random by changing from

$products = $category->getProducts(intval($params['cookie']->id_lang), 1, ($nb ? $nb : 10));

to

$products = $category->getProducts(intval($params['cookie']->id_lang), 1, ($nb ? $nb : 10), 'date_add', 'DESC', false, true, true, $nb);
on homefeatured.php

 

Although I don't know about it, but I think 'DATE_ADD', 'DESC', false, true, true, $ nb);" related to product placement.

 

Hope you or someone know and show me how to change to display products in the order last time (days at least) to oldest (on increasing).

 

Thank you so much!

Link to comment
Share on other sites

Just go in themes -> yourtheme -> global.css

 

find

 

#center_column .products_block { color: #595a5e }

 

and replace with

#center_column .products_block { color: #595a5e; height:50px; }

 

Eventualy you can play arround those 50px to fit your needs.

  • Like 1
Link to comment
Share on other sites

Just go in themes -> yourtheme -> global.css

 

find

 

#center_column .products_block { color: #595a5e }

 

and replace with

#center_column .products_block { color: #595a5e; height:50px; }

 

Eventualy you can play arround those 50px to fit your needs.

 

unfortunately it does not working on IE 8...

 

footer_error.jpg

Link to comment
Share on other sites

  • 11 months later...
×
×
  • Create New...