osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Similar Products Box

This is a discussion on Similar Products Box within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; This is the FULL package and it includes the Tax Bug fix. Changes: There was a problem where the infobox ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-27-2007, 05:21 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 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
Post Similar Products Box

This is the FULL package and it includes the Tax Bug fix.

Changes:

There was a problem where the infobox was displaying the header with empty contents below when there were no other products in the current category.

Now, the infobox will only display when there is at least as many products in the current category as MAX_SIMILAR_PRODUCTS.

I used a modified count(*) query from products_info.php and added it into similar_products.php, then encased the infobox in an if statement.

Now, your similar products infoBox will only display when there are enough products in the current category to populate it with as many products as is defined in admin.

This version does NOT including the German base price support and does NOT need the base-price contribution to work.


More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

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

  • 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!
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
keep newest products up on main page under New Products for. Redeye_Joe osCMax v2 Customization/Mods 2 12-04-2005 11:37 AM
'New Products fro the Month' box disabled if no new products hurst osCMax v2 Installation issues 3 09-16-2005 06:26 AM
new products-link show all products, not 10 as I configure.. mikkvais osCommerce 2.2 Discussion 0 08-23-2005 01:31 PM
All products showing up in New Products for the Month BuckroeBill osCMax v1.7 General Mods Discussion 0 02-20-2005 10:45 AM
MS2-MAX: New Products Page: Change Products Per Row glk osCommerce 2.2 Modification Help 0 03-16-2004 07:43 PM


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


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