Their purpose generally depends on the association type being used. I think in 
category members it is for quick add (vague memory, I haven't looked in a 
while) and in product associations there are a variety of uses including 
marketing packages.

Regards
Scott

On 20/06/2013, at 4:23 PM, Atul Vani wrote:

> There are quantity fields in ProductAssoc and ProductCategoryMember entities, 
> I wonder what they are for. Didn't dig into the code, thought someone might 
> already know and can help.
> 
> 
> On Thu, 20 Jun 2013 06:04:59 +0530, Scott Gray <scott.g...@hotwaxmedia.com> 
> wrote:
> 
>> Hi Robert,
>> 
>> I don't believe the quantity field has a use in virtual/variant associations 
>> (but I could be wrong).  I think you'd want a setup similar to the following:
>> - A product for the supplier that sells double packs (Product A)
>> - A product for the suppler that sells single packs (Product B)
>> - A product that combines 2 x Product B into a single product, this would 
>> have a product type of "Marketing Package Pick" and would have a component 
>> product association to Product B with a quantity of 2 (Product C)
>> - A virtual product that has as variants Product A and product C (Product D)
>> 
>> Because you're buying Product B and combining it into a single double pack 
>> product it makes sense to have the single and double as separate products I 
>> think, one for purchasing and the other for selling.
>> 
>> Regards
>> Scott
>> 
>> On 19/06/2013, at 9:46 AM, Robert G. wrote:
>> 
>>> I thought that it is difficult, or maybe not out of the box.
>>> 
>>> But maybe someone can explain me the thing concerning the quantity within
>>> the productassociation. Is this just for packaging and does not influence
>>> the price? or what is the base idea?
>>> 
>>> thanks a lot!
>>> 
>>> 
>>> 
>>> --
>>> View this message in context: 
>>> http://ofbiz.135035.n4.nabble.com/Virtual-variant-products-with-quantity-in-product-association-tp4642095p4642152.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>> 
> 
> 
> -- 
> Using Opera's revolutionary email client: http://www.opera.com/mail/

Reply via email to