Results 1 to 7 of 7

Number of New Products

This is a discussion on Number of New Products within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hi im after a 2 rows by 2 cols, i changed the if ($col > 2) in includes/modules/new_products.php for only ...

      
  1. #1
    Lurker
    Join Date
    Mar 2007
    Posts
    3
    Rep Power
    0


    Default Number of New Products

    Hi im after a 2 rows by 2 cols, i changed the
    if ($col > 2) in includes/modules/new_products.php for only 2 columns but all i get is 2 rows 1st row 2 columns 2nd row 1 col so only 3 products displayed in all when im after 2 see image below
    is anyone able to help me
    Attached Images Attached Images

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default Re: Number of New Products

    This is controlled in the admin panel so no need to edit any code. Restore the original code, and then go into the admin panel here:

    admin >> configuration >> Product Listing >> Number of Columns in Product Listing

    And set it to 2

    You will now have 2 columns display on your product listing page.


    Then, to control how many products per page, set :

    admin >> configuration >> Maximum values >> Search results

    to the number of products you want per page. Since you have an even number per row, set it to a multiple of two : 2, 4, 8, 10, 12, etc...
    Attached Images Attached Images
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker
    Join Date
    Mar 2007
    Posts
    3
    Rep Power
    0


    Default Re: Number of New Products

    That works for new products on the category listing, but what im after is the new products displayed on the home page it didnt change them at all now i have 1 row of 3 col. with the default include/modules/new_products.php

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default Re: Number of New Products

    Oh, sorry, I can be dense early in the morning...

    That is also pretty easy:

    Admin >> Configuration >> Maximum Values >> New Products Module

    This is what is limiting your module to showing only 3 products, most likely, since, I bet all 3 of your products are in the same category. It is set to limit to 3 per category by default. Set it higher.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Lurker
    Join Date
    Mar 2007
    Posts
    3
    Rep Power
    0


    Default Re: Number of New Products

    Quote Originally Posted by michael_s View Post
    Oh, sorry, I can be dense early in the morning...

    That is also pretty easy:

    Admin >> Configuration >> Maximum Values >> New Products Module

    This is what is limiting your module to showing only 3 products, most likely, since, I bet all 3 of your products are in the same category. It is set to limit to 3 per category by default. Set it higher.
    thank you very much cant believe how easy it was lol, sorry cant find how to do the thumbs up

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default Re: Number of New Products

    Click the bold text at the bottom of my post with the RED arrow at the right... it says:

    Was this post helpful to you? Click the Thanks! button instead of posting a 'thank you' reply
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    Lurker
    Join Date
    Dec 2007
    Posts
    4
    Rep Power
    0


    Default Re: Number of New Products

    i just changed admin>>configuration>>maximum values>> new product modules from 3 to 9
    and now its showing fine.
    Alamsoft.com : Ebooks, Software, Scripts with resell rights

Similar Threads

  1. get rid of c-number & p-number in SEO url's
    By amilo in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 07-31-2006, 04:39 PM
  2. Limit maximum number of products in basket
    By robroymedia in forum osCMax v1.7 General Mods Discussion
    Replies: 2
    Last Post: 07-07-2004, 08:38 AM
  3. How to reduce number of 'New Products for Mth' on home page?
    By surfer in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 07-05-2004, 07:23 AM
  4. Number of products
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 03-20-2004, 04:30 AM
  5. Number of products in categories
    By don in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 03-07-2003, 05:20 PM

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
  •