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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| 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...
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| 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
| ||||
| ||||
| 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
|
| The Following User Says Thank You to michael_s For This Useful Post: | ||
mikei777 (05-23-2007) | ||
|
#5
| |||
| |||
| Quote:
|
| The Following User Says Thank You to steves For This Useful Post: | ||
mikei777 (05-23-2007) | ||
|
#6
| ||||
| ||||
| 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
|
| The Following User Says Thank You to michael_s For This Useful Post: | ||
steves (03-26-2007) | ||
|
#7
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |