Community Add-Ons
| Maintainers: | spooks |
Product Thumbnail Listing
for osCommerce Online Merchant v2.2
Product Thumbnail Listing
Display Product with thumbnail images in grid layout
This contrib is from an idea by lindsayanng that I liked, so I wrote the code.
It provides a replacement for the standard product listing, instead of several rows of text listing your products in a category, it shows the product image in a box with product name, price & short description (if you have that). Clicking on the image or name take you to that product. An admin option allows you to switch between thumbnail view& old list view.
Extra setting are added to admin:
Product Listing Style (default true ) Use Thumbnail view of old List View
Product Listing Short Description (default false ) Show the 'Short Description' (if you have that).
Product Listing Image Width (default 140 ) Product Image Width in listing.
Product Listing Box Width (default 200 ) Set The Individual Product Listing Box Width
Product Listing Box Height (default 180 ) Set The Individual Product Listing Box Height
Product Listing Price Size (default 3 ) Set Product Listing Price Font Size
Product Listing Per Row (default 2 ) Set Number Of Products To List Per Row
Additionally existing settings controling the display of Product Name & Price Are Honored.
The style of the display is controlled by a new entry in your css, you can set there if you wish a background image, colours, borders etc.
A page view is included in the package so you can see the result.
Forum Thread started at: http://forums.oscommerce.com/index.php?showtopic=306162
Written on osC2.2 rc1 with PHP5 and has been tested on PHP 4 & 5, SQL 4 & 5, osC 2.2 ms2 & rc1 and is register_globals compatible.
Short Description Contrib is at http://addons.oscommerce.com/info/3123
This contrib has much changed so has become Product Listing Enhancements, Thumbnails & Manufacturer Headings
with many new features:
Group Product Listing By Manufacturer with a manufacturer short description. The old admin controls apply along with some new ones.
The thumbnails part displays products with thumbnail images in a grid layout, you define how many boxes per line plus image & box sizes. It shows the product image in a box with product name,
price, short description (if you have that) & buy now or details button. This also supports Additional Images (http://addons.oscommerce.com/info/1032) If you have this it will select the medium size
image if it exists. Thumbnail also now has a pure 'grid' mode.
You can select block mode display in list/manufacturer listings similar to the 'new products' display.
You can also apply the thumbnail display to the new_products module & products_new page. NOTE: These files have an exrta date function, original will just list product to set limit, this adds a max
age for product (default is 60days) to change edit the commented line.
As some of the listing styles remove the heading (you can select to remove in other modes too) where a user would select sort mode (if they realised, its not obvious) I`ve add a drop down to select
sort order, that appears at the base of the product display, it will list according to what you have set in admin. Also added a drop down for user to select number of products shown per page.
The customer can switch between thumbnails & manufacturer if you set default to either provided you give the option. If you change default you must select a new category to reset your display.
If your store does'nt have manufacturers or your listing via search, the manufacturer mode will revert to list mode automatically.
There is now a pull down for sort order and a pull down for max results per page.
This updated version is available at: http://addons.oscommerce.com/info/6051
Forum thread at : http://forums.oscommerce.com/index.php?showtopic=307010
Atached is same
