PDA

View Full Version : Cool Flash Carousel Menu



michael_s
09-30-2008, 02:00 AM
Update Cool Flash Carousel Menu fo featured

1. Open kampanya.php file under catalog directory.

Find this:


$specials_query_raw = "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 = '" . (int)$languages_id . "' and s.status = '1' order by s.specials_date_added DESC LIMIT $limit_product_number";

Replace with this:

$specials_query_raw = "select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_FEATURED . " f where p.products_status = '1' and f.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and f.status = '1' order by rand() DESC LIMIT $limit_product_number";





Find this:

$xmlfile .= "tt" . ''."n";

Replace with this:


$xmlfile .= "tt" . ''."n";



That's it!

See an example: www.expodreams.com/gallery/index.php

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