• Welcome to KonaKart Community Forum. Please login or sign up.
 

Konakart 2.2.6, Attributes Price Percision

Started by hasalem, October 01, 2008, 04:14:13 am

Previous topic - Next topic

hasalem

Hi,

I've started to use konakart 2.2.6. But I have an issue regarding the attributes price.
In the previous version I could do the following:
attribute value: gm price: -28.971
attribute value: Kg  price: 0

it was working fine.

Now in 2.2.6, It works fine, but if I want to update the product for any reason, the values changed to

attribute value: gm price: -28.97
attribute value: Kg  price: 0

Should I edit the customValidation.properties. if so, which propertis should be edited?

Thanks for your in advance help

Best Regards
Hatem Salem

pete

Version 2.2.6 formats the prices displayed in the admin app with respect to the currency. Therefore if the currency is defined to have two decimal places it only displays two decimal places. If you enter an attribute value of greater than two decimal places, it will get saved but will be rounded to two decimal places when displayed.

hasalem

Hi Pete,

Really I was using this technique to solve the problem posted here
http://www.konakart.com/forum/index.php/topic,292.0.html

sometimes I was using 4 places for the attribute price.

I think this behavior is a little bit ambiguous, where it permits you to enter the percision that you want, but it also enables what is called "blind update". That means if I want to change any thing in the Product info, the attributes prices will be blindly update.

I wonder if there is a method to overcome this problem, and also to solve the problem in this post

http://www.konakart.com/forum/index.php/topic,292.0.html

Best Regards
Hatem Salem