VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: rootfrequenz on September 12, 2012, 00:01:32 AM

Title: change product-quantity into decimal numbers
Post by: rootfrequenz on September 12, 2012, 00:01:32 AM
Hello,

i need the possibility to choose between float and int for product-quantity and enable/disable this configuration in product-backend (shop sells piece-goods and cut-goods). The cut-goods should be able to be counted in floats, also regarding all dependencies such as availability, ... .
In VM1 i found a hack for this issue: http://www.joomlaportal.de/joomla-e-commerce-l-sungen/74960-virtuemart-dezimal-zahlen-bei-der-anzahl-bei-bestellung.html 

Can someone tell me what/which files i have to change ?

Thank you & cheers
Title: Re: change product-quantity into decimal numbers
Post by: Milbo on September 12, 2012, 00:28:48 AM
You heard about that one? http://extensions.virtuemart.net/extensions-virtuemart-2/custom-size-detail
Title: Re: change product-quantity into decimal numbers
Post by: rootfrequenz on September 12, 2012, 00:35:08 AM
Thank you for fast reply, but i need to choose between float and int for product-quantity and enable/disable this configuration in product-backend and cut-goods should be able to be counted down. The plugin do not counted down.....
Title: Re: change product-quantity into decimal numbers
Post by: Milbo on September 12, 2012, 02:09:42 AM
Believe me, you dont need that.

Assume you have planks 2 meters, what you do with a guy who want 4 times 1.80 meters? The amount is not the unit, even it has sometimes the factor 1
Title: Re: change product-quantity into decimal numbers
Post by: rootfrequenz on September 12, 2012, 11:49:23 AM
first, thank for reply.
i know what i need ;-)
nobody there buy cut-goods for cloth buy 4 times 1,8 meter ... . But the important feature, i need is: discount down, because we have 500 cut-goods and do not want check all everytime what is in stock or not ... . The discount down is a important thing for us.
And the Plugin does not calculate correct, i think.

Do you know a way to change this in Virtuemart 2, that its possibility to choose between float and int for product-quantity and enable/disable this configuration in product-backend without any plugin? In Virtuemart 1 we got the hack.

Can you help me in this case?
Thank you
Title: Re: change product-quantity into decimal numbers
Post by: rootfrequenz on September 13, 2012, 18:14:56 PM
nobody any idea ?
Title: Re: change product-quantity into decimal numbers
Post by: Milbo on September 13, 2012, 18:37:24 PM
The plugin is calculating correctly except the inventar and I plan to enhance it so that you can enter an inventory, like 10 meters.
Title: Re: change product-quantity into decimal numbers
Post by: rootfrequenz on September 15, 2012, 10:44:17 AM
Hello Milbo,

do you has enhanced it so that you can enter inventory? We are very interest in this feature.

Thank you
Title: Re: change product-quantity into decimal numbers
Post by: rootfrequenz on September 16, 2012, 17:14:56 PM
Hello again,

nobody any idea to change the product-quantity into decimal numbers without any plugin and control this in product backend. I think this should be a musst have in a shop system ...

Thanks
Title: Re: change product-quantity into decimal numbers
Post by: Milbo on September 17, 2012, 16:13:26 PM
Quote from: rootfrequenz on September 12, 2012, 11:49:23 AM
nobody there buy cut-goods for cloth buy 4 times 1,8 meter ... .

I dont believe that.
Title: Re: change product-quantity into decimal numbers
Post by: rootfrequenz on September 17, 2012, 18:20:46 PM
but this is true. You can sse this in other shops, because other shops can do this feature and i think this should have virtuemart, too.
Quote from: Milbo on September 13, 2012, 18:37:24 PM
The plugin is calculating correctly except the inventar and I plan to enhance it so that you can enter an inventory, like 10 meters.

and you say this is in plan ...  i do not understand the comment that you dont believe that.

Title: Re: change product-quantity into decimal numbers
Post by: rootfrequenz on September 18, 2012, 16:43:35 PM
nobody can say me a way to change this?

Thanks
Title: Re: change product-quantity into decimal numbers
Post by: Milbo on September 18, 2012, 21:11:41 PM
You wrote nobody. That is definitly wrong. You wanted to say "only some", that could be true, but nobody is definitly wrong, becaus I am not noboday and I bought already that way.
Title: Re: change product-quantity into decimal numbers
Post by: rootfrequenz on September 18, 2012, 21:18:08 PM
Thank you that you love me correcting it ;-)
Can you help me with my Problem?

Thanks