You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "Alex D. Fleming" <al...@gmail.com> on 2008/04/22 14:12:31 UTC
Amount box in the configurable PC and the variant products in ecommerce?
Why Amount box in the configurable PC and the variant products in ecommerce
is provided ?
I noticed that the add_amount field has been removed from the parameters map
in the ShoppingCartEvents.java / addToCart method.
String selectedAmountStr = "0.00";
if (paramMap.containsKey("ADD_AMOUNT")) {
selectedAmountStr = (String) paramMap.remove("ADD_AMOUNT");
} else if (paramMap.containsKey("add_amount")) {
selectedAmountStr = (String) paramMap.remove("add_amount");
}
Please help me to come out from this.
--
Regards
Alex D. Fleming
Re: Amount box in the configurable PC and the variant products in
ecommerce?
Posted by Bilgin Ibryam <bi...@iguanait.com>.
Hi Alex,
The amount field should be hidden in these screens.
I suppose it is css styling issue only.
selectedAmountStr = (String) paramMap.remove("ADD_AMOUNT");
removes the entry from the map, but also returns the value of ADD_AMOUNT
key.
Bilgin