osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

new_products.php - How to modify products included?

This is a discussion on new_products.php - How to modify products included? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; In the "New For January" box (new_products.php) it displays new products for that month, but displays products I added earlier ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-26-2005, 07:30 PM
New Member
 
Join Date: Nov 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gameparts
Default new_products.php - How to modify products included?

In the "New For January" box (new_products.php) it displays new products for that month, but displays products I added earlier in the month not later in the month.

I would like to have the most recent products displayed. For example, if I add 8 products on Jan 1st those will be displayed until I add more products on Jan 5th, and than THOSE should be displayed (but it doesn't do that). It keeps displaying the Jan 1st products and you never see the very most recent products.

Anyone figure out how to display the absolute newest items, regardless of when during the month they were added? It must be something with the "order" command. maybe intead of desc, it should be asc?

Thanks! Charlie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 01-27-2005, 08:39 AM
Active Member
 
Join Date: May 2003
Posts: 148
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Arpit
Default RE: new_products.php - How to modify products included?

for a quick modification 2 the core, change the query to order items by "products_date_added" field and then limit the query for the first 8 records

and remember to make backups
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
TAX (VAT) included then not included OSC 2.2 MS dsmcphee osCommerce 2.2 Installation Help 5 10-28-2005 10:53 AM
Modify Length of New Products box hmag osCommerce 2.2 Modification Help 2 07-30-2005 03:22 PM
change # of items displayed on opening page=new_products.php gameparts osCommerce 2.2 Modification Help 1 03-28-2005 05:32 AM
How do I modify my products from the GUI dhobson osCommerce 2.2 Modification Help 4 01-31-2005 10:53 PM
what mods are included in osmax 1.8 Christy osCMax v1.7 Discussion 0 11-10-2004 08:20 AM


All times are GMT -8. The time now is 05:19 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax