I found a solution for my problem:
Change this in your clas/priceformatter.php
function loadProduct($product_id, $language_id=2)
{
$sql="select pd.products_name, p.products_model, p.products_image, p.products_id," .
" p.manufacturers_id, p.products_price, p.products_einkauf, p.products_weight," .
" p.products_price1,p.products_price2,p.products_price3,p.products_price4," .
" p.products_price1_qty,p.products_price2_qty,p.products_price3_qty,p.products_pri
ce4_qty," .
" p.products_qty_blocks," .
" 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" .
" from " . TABLE_PRODUCTS_DESCRIPTION . " pd," .
" " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id," .
" " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id" .
" where (p.products_status = '1' or (p.products_status='0' and p.products_bundle_status='1'))" .
" and p.products_id = '" . (int)$product_id . "'" .
" and pd.products_id = '" . (int)$product_id . "'" .
" and pd.language_id = '". (int)$language_id ."'";
$product_info_query = tep_db_query($sql);
$product_info = tep_db_fetch_array($product_info_query);
$this->parse($product_info);
return $product_info;
}
now the funny part.. on my test server it works fine.. but on my really site, it add the products but the price ist different.. bundle price in the product_info: 99,13 in my cart 99,00 .. i found out it writes in the database only values with .00 ...
Why happend this ?? is it a database config error or what?
Hope you unterstand my bad english :)