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

Changing newest products of the current month to just the latest products

This is a discussion on Changing newest products of the current month to just the latest products within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; The shopping cart is currently set to show the current new products for the month. However, I don't plan on ...

      
  1. #1
    New Member
    Join Date
    Apr 2009
    Posts
    25
    Rep Power
    0


    Default Changing newest products of the current month to just the latest products

    The shopping cart is currently set to show the current new products for the month. However, I don't plan on coming up with that many new products so after this month all the products from the previous month (if I'm correct) will disappear from the homepage which is not what I want. I always want there to be random products on my homepage. How do I set it to where the products on the homepage after the "latest" ones I added to my cart no matter how long ago they were added?

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Changing newest products of the current month to just the latest products

    If you read this thread you will find instructions on how to make the New Products bit more useful.

    Instructions on how to change to random are also in there.

    Hope this helps,
    pgmarshall
    _______________________________

  3. #3
    New Member
    Join Date
    Apr 2009
    Posts
    25
    Rep Power
    0


    Default Re: Changing newest products of the current month to just the latest products

    Thanks bud. But I'm not looking for that much of a change. I just want to set it to where the "Newest Products For April" don't expire after the month is over. Instead of "Newest Products For April" I just want it to be "Newest Products".

  4. #4
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Changing newest products of the current month to just the latest products

    Okay,

    Just do step 2 ...

    Edit catalog/includes/modules/new_products.php
    Find two instances of (near lines 26 & 29) of

    Code:
    and month(p.products_date_added) = month(now())
    and remove - it should then just give you the latest ones without the month bit.

    Backup before you do this - not done it myself ...

    Regards,
    pgmarshall
    _______________________________

Similar Threads

  1. keep newest products up on main page under New Products for.
    By Redeye_Joe in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 12-04-2005, 10:37 AM
  2. Keeping newest products showing, not just "new for sept
    By Redeye_Joe in forum osCmax v2 Installation issues
    Replies: 3
    Last Post: 10-13-2005, 07:07 PM
  3. 'New Products fro the Month' box disabled if no new products
    By hurst in forum osCmax v2 Installation issues
    Replies: 3
    Last Post: 09-16-2005, 06:26 AM
  4. All products showing up in New Products for the Month
    By BuckroeBill in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 02-20-2005, 09:45 AM
  5. [MS2-MAX UPDATE] New Products Limited to current month
    By michael_s in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 05-08-2004, 10: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
  •