Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Reduce new product list


Recommended Posts

Thanks for your help but I mean the the text at the top of the section as follows;


Displaying 1 to 5 (of 624 new products)


It seems to take all the product sin the shop as being new instead of just a few.


Any ideas?



That's exactly what the database query does. It selects all products in the database odered by date.


You can change it, if you edit the query and add a range of dates between what you think it's new. But beware of getting empty results, if you didn't add new products for, let's say four weeks.


Other than this, to avoid getting empty results, you can add a ' LIMIT 0 , 5' to the query and only the last five added products are displayed.


Hope that helps.

Link to comment
Share on other sites

What I prefer to do is remove the new products of the month all together and code in the featured products that I want to use in the define text in the includes/languages/english/index.php define('TEXT_MAIN', 'in here');


That way I can put anything there I want to when I want to.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...