Extending the capability of configurable product in OFBiz with Freature tree generation technique
------------------------------------------------------------------------------------------------- Key: OFBIZ-2161 URL: https://issues.apache.org/jira/browse/OFBIZ-2161 Project: OFBiz Issue Type: Improvement Components: order Affects Versions: SVN trunk Reporter: Amit Sharma In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amit Sharma updated OFBIZ-2161: ------------------------------- Attachment: inlineProductDetail.patch In order to improve this functionality by making dynamic generated function according to particular virtual product as component of configurable product. > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: inlineProductDetail.patch > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669741#action_12669741 ] Jacques Le Roux commented on OFBIZ-2161: ---------------------------------------- Hi Amit, I'm sorry but I'm not sure to understand your problem. Could please explain in details the problem you are facing and how the solution you provide solves this problem on a technical point of view ? Thanks > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: inlineProductDetail.patch > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amit Sharma updated OFBIZ-2161: ------------------------------- Attachment: Screenshot.png Yes of course, Jacques Testing :- For showing the place where we can get the problem First of you have to make entry in configurable product PIZZA which is already in DemoConfigurator.xml file Make entry with its components PEPPER and SAUCE with little bit changes are that PEPPER and SAUCE will be making using Feature tree generation as already implemented virtual product WG-9944 in DemoProduct.xml file For Example. PIZZA (Aggregated Product) 1. PEPPER Virtual Product with Type,Other Features <Product productId="PEPPER" productTypeId="FINISHED_GOOD" .... virtualVariantMethodEnum="VV_FEATURETREE" quantityIncluded="10.0" weight="22.0" isVirtual="Y" isVariant="N"/> 2. SAUCE Virtual Product with Type feature <Product productId="SAUCE" productTypeId="FINISHED_GOOD" .... virtualVariantMethodEnum="VV_FEATURETREE" quantityIncluded="10.0" weight="22.0" isVirtual="Y" isVariant="N"/> Here PEPPER and SAUCE are virtual products with Feature tree generation so no need to create its variant products Now when you click the PIZZA product in E-commerce application then it will be showing with its component and When you will be selecting the feature of second product SAUCE Over here u will find the error on javascript which is tracked on fire bug's console I have attached screenshot. Its generic problem. its happening through same js function "checkRadioButtoninline()" for all virtual product, which is defined in inlineProductDetail.ftl file of order component. Please let me know if any more confusion is there. Thanks & Regards Amit Sharma > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: inlineProductDetail.patch, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669975#action_12669975 ] Jacques Le Roux commented on OFBIZ-2161: ---------------------------------------- Hi Amit, I better understand now, thank you for your detailled explanation. Now, one more request : do you still have the file with the changes you suggest above, or a diff ? > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: inlineProductDetail.patch, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amit Sharma updated OFBIZ-2161: ------------------------------- Attachment: DemoConfigurator.patch Hello Jacques, Thanks for your comments. As per your comments, i have attached patch, though which you can test where will be the problem occurring. Thanks Amit Sharma > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: DemoConfigurator.patch, inlineProductDetail.patch, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670348#action_12670348 ] Amit Sharma commented on OFBIZ-2161: ------------------------------------ Hello Jacques, Let me describe more on steps. Steps for getting problem after making configurable product with virtual product using feature tree generation method. 1) Apply patch DemoConfigurator.patch It will make Configurable Product (PIZZA) with two virtual product VlPF(PEEPERS) and VIPS (SAUCE) using feature tree method hence we no need to create its variant. 2) hit url http://localhost:8080/ecommerce/control/product/~category_id=FOOD-001/~product_id=PIZZA 3) select the features of PEEPERS,( It will work fine) 4) select the feature of SAUCE (Couldn't select check box and will show alert message) It will cause due to only same js checkRadioButtoninline fuction (specific for first virtual product). for the solution of this problem i have created patch inlineProductDetail.patch, in this patch i did modify checkRadioButtoninline js function and render for each virtual products. Please review it and give your valuable comments. thanks Amit Sharma > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: DemoConfigurator.patch, inlineProductDetail.patch, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux updated OFBIZ-2161: ----------------------------------- Attachment: Pizza tree 2 issues.jpg Hi Amit, Thanks for all your explanations and help, I appreciate. I see just 2 problems : a picture is worth a thousand words, please see attached "Pizza tree 2 issues" * 2 blocks of options * pizza price increases spectacularly when checking options boxes > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: DemoConfigurator.patch, inlineProductDetail.patch, Pizza tree 2 issues.jpg, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pranay Pandey updated OFBIZ-2161: --------------------------------- Attachment: Image_After_Applying_Patch_and_using_Feature_tree.png Image_By_Using_Feature_Tree.png Image_By_Using_Variant_Tree.png Hello Jacques, I looked into it and tested this patch with the data provided by Amit. It worked well with demo data(Which is using variant tree) but when I used the data provided(Using feature tree) in this issue by installing it with demo data again, I found the problem. The changes in data are the new products which uses feature tree and their entry in ProductConfigProduct. For reference I am attaching 3 screen shots for the behavior I got. 1. Image_By_Using_Variant_Tree.png -- This works well with the OOTB demo data using variant tree. 2. Image_By_Using_Feature_Tree.png -- With the data changes provided to use Feature tree and With out applying patch submitted by Amit and found the problem, it doesn't allow to select options for the second virtual product sauce. 3. Image_After_Applying_Patch_and_using_Feature_tree.png -- Final result after applying the patch for the solution of the problem. > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: DemoConfigurator.patch, Image_After_Applying_Patch_and_using_Feature_tree.png, Image_By_Using_Feature_Tree.png, Image_By_Using_Variant_Tree.png, inlineProductDetail.patch, Pizza tree 2 issues.jpg, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670707#action_12670707 ] Jacques Le Roux commented on OFBIZ-2161: ---------------------------------------- I gave it a new try. It's ok indded, my 1st problem (2 blocks of options) has dissapeared, certainly a cache issue. Ans I did not look into prices in the patch (US$ 500 for a Pïzza :)) I will commit but will do some change in demo to make this option visible but different than Pizza. Thanks to both of you! > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: DemoConfigurator.patch, Image_After_Applying_Patch_and_using_Feature_tree.png, Image_By_Using_Feature_Tree.png, Image_By_Using_Variant_Tree.png, inlineProductDetail.patch, Pizza tree 2 issues.jpg, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670708#action_12670708 ] Pranay Pandey commented on OFBIZ-2161: -------------------------------------- Thanks Jacques, I think he took this price for the Pizza because wanted to give stress that its changing :) > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: DemoConfigurator.patch, Image_After_Applying_Patch_and_using_Feature_tree.png, Image_By_Using_Feature_Tree.png, Image_By_Using_Variant_Tree.png, inlineProductDetail.patch, Pizza tree 2 issues.jpg, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670708#action_12670708 ] pandeypranay edited comment on OFBIZ-2161 at 2/5/09 2:45 AM: -------------------------------------------------------------- Thanks Jacques, I think he took this price for because wanted to give stress that its changing after selection of different features :) was (Author: pandeypranay): Thanks Jacques, I think he took this price for the Pizza because wanted to give stress that its changing :) > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: DemoConfigurator.patch, Image_After_Applying_Patch_and_using_Feature_tree.png, Image_By_Using_Feature_Tree.png, Image_By_Using_Variant_Tree.png, inlineProductDetail.patch, Pizza tree 2 issues.jpg, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670715#action_12670715 ] Jacques Le Roux commented on OFBIZ-2161: ---------------------------------------- Thanks Amit, Your patch is in trunk revision: 741073 I will try to make another product using this new capabilities, of course any help would be greatly appreciated... > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: DemoConfigurator.patch, Image_After_Applying_Patch_and_using_Feature_tree.png, Image_By_Using_Feature_Tree.png, Image_By_Using_Variant_Tree.png, inlineProductDetail.patch, Pizza tree 2 issues.jpg, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670718#action_12670718 ] Jacques Le Roux commented on OFBIZ-2161: ---------------------------------------- Forget help needed, I'm doing it right now... > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: DemoConfigurator.patch, Image_After_Applying_Patch_and_using_Feature_tree.png, Image_By_Using_Feature_Tree.png, Image_By_Using_Variant_Tree.png, inlineProductDetail.patch, Pizza tree 2 issues.jpg, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674959#action_12674959 ] Jacques Le Roux commented on OFBIZ-2161: ---------------------------------------- I suggest to create an Hamburger product. This image could be used [Hamburger|http://www.sxc.hu/photo/1119511] (licence is ok) > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: DemoConfigurator.patch, Image_After_Applying_Patch_and_using_Feature_tree.png, Image_By_Using_Feature_Tree.png, Image_By_Using_Variant_Tree.png, inlineProductDetail.patch, Pizza tree 2 issues.jpg, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674973#action_12674973 ] Amit Sharma commented on OFBIZ-2161: ------------------------------------ Thanks Jacques, I saw the link which you have suggested, its really good to show on demo, i will do the needful for Hamburger product ASAP. > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Attachments: DemoConfigurator.patch, Image_After_Applying_Patch_and_using_Feature_tree.png, Image_By_Using_Feature_Tree.png, Image_By_Using_Variant_Tree.png, inlineProductDetail.patch, Pizza tree 2 issues.jpg, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-2161. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Assignee: Jacques Le Roux Seems that nobody is interested to bring this further... > Extending the capability of configurable product in OFBiz with Freature tree generation technique > ------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2161 > URL: https://issues.apache.org/jira/browse/OFBIZ-2161 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Amit Sharma > Assignee: Jacques Le Roux > Fix For: SVN trunk > > Attachments: DemoConfigurator.patch, Image_After_Applying_Patch_and_using_Feature_tree.png, Image_By_Using_Feature_Tree.png, Image_By_Using_Variant_Tree.png, inlineProductDetail.patch, Pizza tree 2 issues.jpg, Screenshot.png > > > In ecommerce application we can't add more than one virtual products using feature tree generation as a component in configurable product. > Such as if we take example of Pizza which is a configurable product and Peepers and sauce are its virtual product . > If we use feature tree generation in these inline products then its not working fine for virtual products (Sauce). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |