Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Item edit rounds weight down :-/


Guest

Recommended Posts

Hi,

 

Im building an online shop and have managed to overcome most problems (Still a few to go but nothing major) but I have hit a problem, most of my items are heavy so I have been doing the weight in Kg but I have a few connectors which are 5g each and when I input 0.005 the site is dumping the last number, leaving me with 0.00.

Does anyone know how to get it to three decimal places or do I have to redo my shop in grams? ;)

 

Thanks.

(Im off to look through the code again but my head is about to explode)

 

Oliver Hannaford-Day

 

My Webpage

(Yeah, I know the top buttons are to big.. Im working on it. It looks great on my screen though. :)

Link to comment
Share on other sites

Dont panic!! (I can tell you where)

 

Its in the SQL database, you just click on products in phpadmin and edit product_weight to

" products_weight decimal(5,3) No 0.000 "

 

And it works, Yay. :D

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...