1and1 Help Centre Categories

print article

Price calculations in detail and smalllist template always result in "0".

In templates, variable $price is a string that cannot be used for arithmetic
operations. Use the variable $price_real instead.

You can convert it into display format - i.e. back into a string in the form
of "95.90 GBP"- with:
<?php $price = cashformat($price_real); php?>