and tried to alter this code
- Code: Select all
<span>
</ br><?php echo " ",'<span class="PricesalesPriceCat" style="color:white; font-size:12px;">'.$product->product_name.'</span>'; ?>
<!-- </ br><?php echo " ",'<span class="PricesalesPriceCat" style="color:white; font-size:7px;">'.$product->product_s_desc.'</span>'; ?>-->
</ br><?php
if ($product->prices['salesPrice']>0)
echo " ",'<span class="PricesalesPriceCat" style="color:white; font-size:15px;">'."</ br>Prezzo: ".round($product->prices['salesPrice'],2)." €".'</span>'; ?>
</span>
I tried altering the function round($product->prices['salesPrice'],2) to 3 or 4, but does not seem to be working.
I've also tried to remove it .$product->prices['salesPrice']. but the decimal number is always 1 (or 0).
Can anybody help me?