This is a discussion on MS2-Max Bug in main page specials??? within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; The specials box in the center of my main page only displays the 3 most recently added products rather than ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| The specials box in the center of my main page only displays the 3 most recently added products rather than rotating through the list of entire store specials like the box that displays only 1 product at at time on the right. Is this a bug or do I have something configured wrong? |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| No, it is not a bug. You need to configure the box to show more than 3 specials. Do this in the admin under: Maximum Values - Special Products Set it to more than 3 It does not rotate through specials. That is not a feature of center box.
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| http://forums.oscommerce.com/index.php?showtopic=91342 is very similar to what you're talking about. You might be able to make that work on the specials. |
|
#4
| |||
| |||
| Thank you Msasek and Guest! I've been wanting that center box to rotate for a long time now! That link Guest, is what gave me the code change. Here it is for those of you interested: in catalog/includes/modules/default_specials.php Change this: $new = tep_db_query("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' and s.status = '1' order by p.products_date_added desc limit " . MAX_DISPLAY_SPECIAL_PRODUCTS); to this: $new = tep_db_query("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' and s.status = '1' order by RAND() limit " . MAX_DISPLAY_SPECIAL_PRODUCTS); It works, it actually works!! |
| The Following User Says Thank You to For This Useful Post: | ||
dombshai (03-01-2007) | ||
|
#5
| |||
| |||
| That was my post above. I had logged in but I must have taken too long to reply and been logged out. Thanks again! |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Syntax error for specials page | amandabuild | osCMax v2 Features Discussion | 2 | 11-15-2005 07:04 AM |
| Specials page, how to show in html bts | gamefreak7 | osCMax v2 Features Discussion | 1 | 08-31-2005 08:29 AM |
| How to remove specials for this month in Main page? | blum | osCMax v1.7 Discussion | 2 | 07-04-2005 05:10 PM |
| Bug - specials.php page displays to few products | Redbeard | osCMax v1.7 Discussion | 1 | 11-09-2003 11:11 AM |
| spécials in first page | talme | osCommerce 2.2 Modification Help | 1 | 02-19-2003 01:21 AM |