[ https://issues.apache.org/jira/browse/OFBIZ-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469595 ]
Jacques Le Roux commented on OFBIZ-618: --------------------------------------- Fred, I reviewed and tested this patch, sorry but it does not work. First, why do you use opt in oneInList = EntityUtil.filterByAnd(variants,UtilMisc.toMap("productIdTo",opt)); ? Second, even if you have used the right value there (prodcutId of the variant) there would still be a problem. You put the price on the select box of the 1st feature, but this is not discriminant because following features may change this price. So I propose to create an array of prices (one for each variant) in productdetail.bsh and to use this array in productdetail.ftl. More precisely in function getList(name, index, src) by adding a new function in the spirit of function setAddProductId(name). Let me know if you have any question, thanks. > Customer must add a virtual product to the cart to get the price of that > product. > ---------------------------------------------------------------------------------- > > Key: OFBIZ-618 > URL: https://issues.apache.org/jira/browse/OFBIZ-618 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: ecommerce > Affects Versions: SVN trunk > Environment: All > Reporter: Eric Crawford > Assigned To: Jacques Le Roux > Priority: Minor > Fix For: SVN trunk > > Attachments: diff.log, productdetail.patch, productdetail.patch > > > When a customer chooses a the required feature(s) for a virtual product, they > are forced to add the item to the cart in order to know the price of that > item. The product image is updated, but the price is not dynamically updated > when the features are selected. The product description also remains that of > the virtual product and is not updated with the variant's product information. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.