hi2_damage Posted February 28, 2007 Posted February 28, 2007 Can anybody help me reduce the number of products in the new product category. The entire catalog is shown in this section and I would like to reduce it. Thanks
usernamenone Posted March 1, 2007 Posted March 1, 2007 Choose #2 or #4 http://search.yahoo.com/search;_ylt=A0geu....t-501&x=wrt
hi2_damage Posted March 1, 2007 Author Posted March 1, 2007 Choose #2 or #4 http://search.yahoo.com/search;_ylt=A0geu....t-501&x=wrt 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?
Nullachtfuffzehn Posted March 1, 2007 Posted March 1, 2007 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.
usernamenone Posted March 2, 2007 Posted March 2, 2007 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.