все теперь понял, буду исправлять) Спасибо большое.
изменил запрос, но все равно карусель продолжается.
db_query("INSERT INTO ".PRODUCTS_TABLE.
" ( categoryID, name, description,".
" customers_rating, Price, in_stock, ".
" customer_votes, items_sold, enabled, ".
" Numprice, Mprice, Nummprice, Optprice, Numoptprice,".
" brief_description, list_price, ".
" product_code, sort_order, date_added, ".
" eproduct_filename, eproduct_available_days, ".
" eproduct_download_times, ".
" weight, meta_description, meta_keywords, ".
" free_shipping, min_order_amount, shipping_freight, classID, title ".
" ) ".
" VALUES (".
(int)$categoryID.",'".
xToText(trim($name))."','".
xEscSQL($description)."', ".
"0, '".
(double)$Price."', ".
(int)$in_stock.", ".
" 0, 0, 1, '".
(int)$Numprice.", ".
(double)$Mprice."', ".
(int)$Nummprice.", ".
(double)$Optprice."', ".
(int)$Numoptprice.", ".
xEscSQL($brief_description)."', '".
(double)$list_price."', '".
xToText(trim($product_code))."', ".
(int)$sort_order.", '".
xEscSQL(get_current_time())."', '".
xEscSQL($eproduct_filename)."', ".
(int)$eproduct_available_days.", ".
(int)$eproduct_download_times.", ".
(float)$weight.", ".
"'".xToText(trim($meta_description))."', ".
"'".xToText(trim($meta_keywords))."', ".
(int)$free_shipping.", ".
(int)$min_order_amount.", ".
(double)$shipping_freight.", ".
(int)$classID.", '".
xToText(trim($title))."' ".
");" );