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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |