View Full Version : Product Listing Enhancements, Thumbnails & Manufacturer Headings

08-12-2008, 09:00 AM
Modified thumbnail to improve layout with varying amount of content, added 2 new settings to admin to achieve this, setting vertical space for image & name / description.
Slimmed some of the code to keep file size small.
Added sort option for products_new page.
Some have asked for category path in the product url, added an option on line 14 of product_listing.php change setting to 'true' if you want this
Minor bug fix, added manufacturer_id to products_new query so manufacturer link in that listing will work.
This update adds some new css for the thumbnail display.
Changed files: product_listing.php, new_products.php, products_new.php, product_listing_setup.php css entries.

New Settings:
Product Listing Image Vertical Space (default 100) Image Vertical Space in thumbnail, set to the height of largest product image.
Product Listing Name Vertical Space (default 25) Name Vertical Space in thumbnail, sets vertical space for name & short description (if used).

This has been tested on PHP 4 & 5, SQL 4 & 5, osC 2.2 ms2, rc1 & rc2a and is register_globals compatible.

Full Package

More... (http://addons.oscommerce.com/info/6051)