osCmax v2.5 User Manual
Results 1 to 2 of 2

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 ...

      
  1. #1
    New Member
    Join Date
    Nov 2004
    Posts
    18
    Rep Power
    0


    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

  2. #2
    Active Member
    Join Date
    May 2003
    Posts
    148
    Rep Power
    0


    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

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •