Community Add-Ons
All Products v3.0 MS 2.2 with Images
for osCommerce Online Merchant v2.2
Changes made to display :
* Compatible with Milestone MS 2.2
* Displaying Images for every product
* Addded the ability to change the Image width and height from the Admin Section ( Admin => Configuration => Images => All Products * )
* Display Manufacturer's Name
* Displays Both Retail and Discount Price
* Implemented it with Header Tags Controller ( You need to have Header tags Controller installed for this)
* Ability to Turn On or Off through Admin
Discussiong here:
http://forums.oscommerce.com/viewtopic.php?t=57574
First install v. 4.7
Edit catalogallprods.php
Find (line 143)
$listing_sql = "select p.products_id, products_weight, p.products_quantity, p.products_model, pd.products_name, pd.products_description, p.products_image, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, m.manufacturers_name from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id $where";
And replace with this.
$listing_sql = "select p.products_id, products_weight, p.products_quantity, p.products_model, pd.products_name, pd.products_description, p.products_image, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price, p.products_date_added, m.manufacturers_name from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id $where";
This is just an fix...
