[eluser]nomikos3[/eluser]
Hi, thanks for guide me to that file.
Code:
// Prep the price. Remove anything that isn't a number or decimal point.
$items['price'] = trim(preg_replace('/([^0-9\.])/i', '', $items['price']));
// Trim any leading zeros
$items['price'] = trim(preg_replace('/(^[0]+)/i', '', $items['price'])); // <-- clears our single zero
So to avoid hack the core it's preferable use 0.00 instead 0 (zero).