![]() |
Remove decimal place in weight
Hi,
I was wondering if anyon knew how to remove all decimal places in the weight output. Currently I am using ounces and it gets displayed like "14.00 oz", wheras I would prefer it to just say "14 oz". I've amended the database and changed xcart_products so that the weight field has no decimal places, yet the pages still display it with two decimal places, so it must be in the coding somewhere... Any help would be very much appreciated. |
Re: Remove decimal place in weight
OK, found it myself...
/customer/main/product.tpl change {$product.weight|formatprice} to {$product.weight} |
All times are GMT -8. The time now is 11:02 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.