Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sort the new products of month???


arroba_rosario

Recommended Posts

Correct me if im wrong.

Osc take the products loaded by date, and display the new products box, taking the date for parameter, but my problem is if i load products after, but im not interesting in that products for display in the new products box.

 

How can I do that????

 

sorry for my english again. =)

Link to comment
Share on other sites

change the 'products_date_added' value for the product you don't want to show in the products table - to a date further back.

Your online success is Paramount.

Link to comment
Share on other sites

alternative is to change the sort order in the code for catalog/includes/modules/new_products.php from

order by p.products_date_added desc limit

to something like

order by p.products_id desc limit

for an example or category or random or or or etc

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Hi...I need a similar favor-.....For example....i want to select all my products and show this random by date....Which file a need to change and how?

 

Thanks in advanced...

 

Daniel

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...