Is it possible to have decimal values for product quantity
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Is it possible to have decimal values for product quantity
Hello, I am using Aimeos for Laravel for the past 6 months or so and I find it great. I only have one problem that I am trying to find a solution for: I'd like to sell stuff that is sold in kilos, meaning that people might want to buy fractions, instead of whole numbers, e.g.: 1.2 kg of pale ale malt.
My question is: Is there an efficient way (without having to make a lot of changes to underlying DB and related models) to make product quantities work with fractions/decimals and be able to purchase for example 2.4 of something.
I hope I made myself clear, if not, please let me know, so that I can clarify the question further.
My question is: Is there an efficient way (without having to make a lot of changes to underlying DB and related models) to make product quantities work with fractions/decimals and be able to purchase for example 2.4 of something.
I hope I made myself clear, if not, please let me know, so that I can clarify the question further.
-
- Posts: 10
- Joined: 30 Aug 2018, 17:08
Re: Is it possible to have decimal values for product quanti
I also want to know that. Could anyone please answer this question? Thank you so much )
Re: Is it possible to have decimal values for product quanti
Not yet. You have to change the column definition in the mshop_order_base_product table and adapt the item. Would be great if you create a pull request so we can merge it into the core
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star