Jump to content

Recommended Posts

ive got 3 product weights 20g ,50g  and 100g

Ive added the weights to product -> shipping -> weight as 0.02,0.05  or 0.100 (kg)

 

and then using this https://www.prestashop.com/forums/topic/323462-how-to-show-product-weight/

 

display the weights in product information

and its displaying as

 

Product weight: 0.024  Kg

Product weight: 0.054  Kg

or

Product weight: 0.104  Kg

 

is it being 'helpful' by adding 4g  to everything ?

A rounding /calculation error ?

something else ?

 

 

FWIW the original values (0.02,0.05,0.1) are stored in ps_product.weight in the database

and when i change the displayed weight by removign the formatting its whatis in the databse ie 0.1000000

 

im puzzled

Edited by medalto (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...