Hi,
I need your help.
I want to change the Minimum quantity per order but the hikashop don't let me do that.
For example, like you can see in this next printscreen the hikashop only let me put the integer values and in my business I need to use float values.
For example, I have products when you can send parts of the product.
One example is that I need do send products with quantities like (0.001, 0.002, 0.003) and not only integers like (1, 2, 3).
But, like we can see in this pictures this don't let me do that.
I have created a plugin and I have something like that:
if($view->getLayout() == 'show')
{
$view->element->product_min_per_order = 0.05;
}
And in this product page the quantity really appears like I wan't but when i try to add to the cart this don't let me.
For example, if I put 0.2 this round the value to 0 and don't let me to add. But if I put something like 0.5 or 0.6 this round the value to 1 and add to the cart (1), but I don't want (1), I want (0.5).
Can you help me to solve that problem?
Thanks.