osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

MS2-Max Bug in main page specials???

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-15-2004, 11:08 AM
Member
 
Join Date: Sep 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
midwestwebsites
Default MS2-Max Bug in main page specials???

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 06-15-2004, 11:16 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,990
Thanks: 80
Thanked 345 Times in 324 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

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


  • 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!
  #3  
Old 06-15-2004, 11:48 AM
Anonymous
Guest
 
Posts: n/a
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 06-16-2004, 12:10 PM
Anonymous
Guest
 
Posts: n/a
Default

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!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to For This Useful Post:
dombshai (03-01-2007)
  #5  
Old 06-16-2004, 12:11 PM
Member
 
Join Date: Sep 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
midwestwebsites
Default

That was my post above. I had logged in but I must have taken too long to reply and been logged out. Thanks again!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

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


All times are GMT -8. The time now is 03:11 AM.


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