Hi friends,
How can i get the product options, now I'm using:
ProductIf product = (ProductIf)request.getAttribute("product");
OptionIf []opts = product.getOpts();
for(OptionIf opt : opts){
System.out.println(opt.getValue());
System.out.println(opt.getName());
}
It seems not very good, because I just get the product option name & value list. can't get option value by name and can't get formattedValueIncTax & formattedValueExTax.
I check konakart demo code, find out that prodOptionContainer also can get the product option, how can i use it?
Thanks.
hi
you can use product options
String prodId = request.getParameter("prodId");
prodIdInt = new Integer(prodId).intValue();
ProductIf selectedProd = kkAppEng.getProductMgr().getSelectedProduct();
kkAppEng.getProductMgr().fetchSelectedProduct(prodIdInt);
Enjoy
Vijay Pandey