Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"Does "What's New?" include all products?


midpen

Recommended Posts

Posted

Does "What's New?" list include all products?

 

I find my all products are there when I click "What's New?" arrow. Does this list include all products? or only certain amount of products or products uploaded from certain data?

 

Thanks for your help!

Posted

yes but controlled by a setting at admin. in date added order with the newest at top. if you only have say less than 20 products then it would probably list them all

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Posted

Thanks.

 

If I have hundreds of products, they should all be there, isn't it? I could change the box title "What's New?" to "All products", isn't right?

Posted

yes if you change the setting MAX_DISPLAY_PRODUCTS_NEW in admin - maximum values to a number of greater than the number of products you possibly have, or in products_new.php change this line:

$products_new_split = new splitPageResults($products_new_query_raw, MAX_DISPLAY_PRODUCTS_NEW);

to

$products_new_split = new splitPageResults($products_new_query_raw, '9999');

that will show up to 9999 products.

theres also all products addons in the contributions section. its up to you which way to use. you can change the box title/heading to whatever you like, just need to look at the boxes/whats_new.php file, not difficult to spot where to make the change.

the above applies an unmodified osc shop especially no mod has ever been made affecting the products_new feature.

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Posted

oops, ignore my last post RE changing of MAX_DISPLAY_PRODUCTS_NEW, no, that only affects products displayed per page, i mixed it up with the new_products module on home page. in products_new.php, the query does pull all products from db and display them in order of date added. you change the heading in the language file of products_new.php or if only one language then change directly HEADING_TITLE in products_new.php, if you like.

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Archived

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

×
×
  • Create New...