Hi,
i deal in jewellery components whose weight is often 1gram or less.
I changed weight in database xcart_products to decimal(12,3) with default weight of 0.001 (1gram)
I also changed this line in product_details.tpl from
Code:
<input type="text" name="weight" size="18" value="{ $product.weight|formatprice|default:$zero }" />
to
Code:
<input type="text" name="weight" size="18" value="{ $product.weight|default:$zero }" />
to get three decimal places in my modify product template, but if I enter 0.001 for a weight it always comes back as 0.000. If I put 0.009 it will return rounded to 0.010. I dont know how to modify the function .Any clue?
vixnfox