osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 03-25-2007, 08:37 AM
Lurker
 
Join Date: Mar 2007
Posts: 3
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0
steves is on a distinguished road
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
File Type: jpg oscmax.JPG (90.0 KB, 7 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 03-25-2007, 10:30 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,087
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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
File Type: jpg prod_column.jpg (24.8 KB, 8 views)
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 03-25-2007, 12:46 PM
Lurker
 
Join Date: Mar 2007
Posts: 3
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0
steves is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 03-25-2007, 01:58 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,087
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to michael_s For This Useful Post:
mikei777 (05-23-2007)
  #5  
Old 03-25-2007, 03:07 PM
Lurker
 
Join Date: Mar 2007
Posts: 3
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0
steves is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to steves For This Useful Post:
mikei777 (05-23-2007)
  #6  
Old 03-25-2007, 04:53 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,087
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to michael_s For This Useful Post:
steves (03-26-2007)
  #7  
Old 12-23-2007, 04:50 AM
New Member
 
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
manzoor2121 is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

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


All times are GMT -8. The time now is 01:48 PM.


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