Actually I must say the UI is confusing. It would not be too hard to improve it: ie makes the amout field disabled if the product
does not have "require amout" set (Product.requireAmount field = "Y")
You could create a Jira for that, else I will do
As always, help appreciated...
Jacques
From: "Ravindra Mandre" <[email protected]>
Thanks Jacques for corrcting me, The comment I given is of fixed amount.
Ravindra
On Sun, Mar 4, 2012 at 12:09 AM, Jacques Le Roux <
[email protected]> wrote:
Sorry Ravindra,
But you are confusing 2 things, and related fields in Product Entity:
Product.quantityIncluded
and
Product.fixedAmount
IN OFBiz OOTB, quantityIncluded is used for bundles like you describe.
When fixedAmount is used for financials or by and large
products which require an Unit of Measure (see Product.amountUomTypeId),
not a quantity.
There is a good explanation there http://markmail.org/message/**
tvyghkw7rgq5bmqi <http://markmail.org/message/tvyghkw7rgq5bmqi>
So in this case you don't need to enter an amout. The quantity with the
product price is enough to get the behaviour you describe.
Alo you may notice that the DB field type is currency-amount. Its
description is BTW <<Ue this for products which are sold in fixed
denominations, such as gift certificates or calling cards.>>
For code details, follow the called request, you will end at
ShoppingCartHelper.addToCart()**, exactly ShoppingCartHelper[192] in
trunk
HTH
Jacques
From: "Ravindra Mandre" <[email protected]>
Hi Vanessa ,
For understanding purpose let consider you want to buy 5 pens , so 5 is
the
quantity while if each pen has a price of 10 Rs then its amount will be
10*5 Rs.
HTH
Ravi
On Sat, Mar 3, 2012 at 4:07 PM, Jacques Le Roux <
[email protected]> wrote:
Quantity: to choose the number of product to order
Amount: to possibly fix an amount value for specific products like gift
cards
See
https://demo-trunk.ofbiz.**apa**che.org/catalog/control/**<http://apache.org/catalog/control/**>
EditProduct?productId=GC-001<h**ttps://demo-trunk.ofbiz.**
apache.org/catalog/control/**EditProduct?productId=GC-001<https://demo-trunk.ofbiz.apache.org/catalog/control/EditProduct?productId=GC-001>
>
Amout, Require Amount, Require the customer to enter an amount.
Jacques
Vanessa Vitor wrote:
Hi,
I'm confused about something that I'm sure, it's simple.
While I'm creating a sales order, using "quick lookup" - the table shows
me
the name of the product - a field named "quantity" and another field
named
"amount". Which is the difference between them?
.../ordermgr/control/****LookupBulkAddProducts?****productId=
thanks