bimlas Posted August 10, 2017 Share Posted August 10, 2017 Is it possible to store the quantity in decimals? We have a lot of products served in 0.5kg minimum, but the quantity can be choosen (1.12kg for example). It would be bad to store in gramms, I like to use kilogramm for quantity. Is it possible? Link to comment Share on other sites More sharing options...
Scully Posted August 10, 2017 Share Posted August 10, 2017 (edited) It's not without changing many core files as well as the database. The latter is simple. But the change of all core files involved needs quite some effort. I remember appx. 15 to 20 files need to be changed at several places. Workaround to overcome the most critical limiations: Change the unit from kg to gramm or 100 gramm and set 500 or 5 as minimum quantity. Edited August 10, 2017 by Scully (see edit history) Link to comment Share on other sites More sharing options...
bimlas Posted August 10, 2017 Author Share Posted August 10, 2017 Yeah, I found that forum post - this is what I want to avoid, because it would become the nest of a horde of bugs. Link to comment Share on other sites More sharing options...
Scully Posted August 10, 2017 Share Posted August 10, 2017 I wouln't do it either. We bill customers with service hours using prestashop. We have set up the products with 1 hour and others with 1/4 hour. It's not perfect but it's good enough. Link to comment Share on other sites More sharing options...
bimlas Posted August 10, 2017 Author Share Posted August 10, 2017 Do you mean 2 "piece" of 1/4 hour, for example? So my store of 100 kg would have 100 kg / 0.5 kg -> 200 items? Anyway, as I said we sell the product in custom quantity too (1.12 kg), so it's not an opinion. Link to comment Share on other sites More sharing options...
Scully Posted August 10, 2017 Share Posted August 10, 2017 We have 1 hour at a price and 1/4 hour at another price. 3/4 hours are billed by choosing 3x the 1/4 hour. I understand this is not an option for you. It wasn't meant as such but only to show that the decimal issue can be worked around at least partially. Link to comment Share on other sites More sharing options...
bimlas Posted August 10, 2017 Author Share Posted August 10, 2017 I will think about this. Thanks! I'm waiting for another solutions too. Link to comment Share on other sites More sharing options...
mayduavongts Posted December 28, 2017 Share Posted December 28, 2017 I'm waiting for another solutions, me too.... Thanks for sharing think about topic! https://tinyurl.com/yayxtm54 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now