Hello all,
I was reviewing DemoProduct.xml of ecommerce. Can anybody tell me what is the use of ProductFeatureIactn entity. Thanks and Regards Amit Sharma |
Hello Amit,
Generally ProductFeatureIactn entity provides the capability to store which features are incompatible with other features.And productFeatureIactnTypeId="FEATURE_IACTN_INCOMP" shows that two features are incompatible.You can get more detail from page number 78 of data model book.You might be knowing this.May be you are asking some thing else related to this entity. Please let us know if this does not solve your problem. Regards Divesh. > Hello all, > > I was reviewing DemoProduct.xml of ecommerce. > > Can anybody tell me what is the use of ProductFeatureIactn entity. > > > Thanks and Regards > > Amit Sharma |
Thanks for reply divesh
Yes ProductFeatureIactn entity provides the capability to store which features are incompatible with other features. and also it provide the dependency between the features if when we put productFeatureIactnTypeId="FEATURE_IACTN_DEPEND". But DemoProduct.xml has following record <ProductFeatureIactn productFeatureId="9000" productFeatureIdTo="9002" productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> Means that feature 9000 (black) is incompatible with feature 9002 (3-Wheel). it means black feature is not able to create product with 3-Wheel feature in WG-9944 (virtual product) so that we can check it on ecommerce application but i m not getting the difference in product WG-9944 where both the features are applied. but Over here it is created product with this combination and also when we change the productFeatureIactnTypeId="FEATURE_IACTN_INCOMP" to productFeatureIactnTypeId="FEATURE_IACTN_DEPEND" so after this i am not getting the differences. please let me know am i thinking wrong and also how they are working. please correct me. Thanks and Regards Amit Sharma Divesh Dutta wrote: > Hello Amit, > Generally ProductFeatureIactn entity provides the capability > to store which features are incompatible with other features.And > productFeatureIactnTypeId="FEATURE_IACTN_INCOMP" shows that two > features are incompatible.You can get more detail from page number 78 > of data model book.You might be knowing this.May be you are asking > some thing else related to this entity. > Please let us know if this does not solve your problem. > Regards > Divesh. >> Hello all, >> >> I was reviewing DemoProduct.xml of ecommerce. >> >> Can anybody tell me what is the use of ProductFeatureIactn entity. >> >> >> Thanks and Regards >> >> Amit Sharma > > |
In reply to this post by Amit Sharma-10
?Hello Users,
Can somebody help regarding ProductFeatureIactn entity in DemoProduct.xml file of ecommerce application that where we are getting the changes when we put productFeatureIactnTypeId="FEATURE_IACTN_DEPEND" or productFeatureIactnTypeId="FEATURE_IACTN_INCOMP". i thing if we take productFeatureIactnTypeId="FEATURE_IACTN_INCOMP" the following line <ProductFeatureIactn productFeatureId="9000" productFeatureIdTo="9002" productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> Here 9000 is incompatible with 9002 but i can't get the affect on product WG-9944 and WG-9943 in which both the features are applied. So please help me to figure it out , how it works. Thanks in advance Amit Sharma Amit Sharma wrote: > Hello all, > > I was reviewing DemoProduct.xml of ecommerce. > > Can anybody tell me what is the use of ProductFeatureIactn entity. > > > Thanks and Regards > > Amit Sharma > |
Hello Amit,
Right now its affect are not working, but if you really want to see its affect then you have to make some changes which are as follows 1. You have to make entry for productId field on ProductFeatureIactn entity like for product say productId="WG-9944" 2. Uncomment line no. 1002, 1003 and 1006 in file ProductWorker.java 3. Comment line no. 1007 and 1008 in file ProductWorker.java So its affect will see after clicked on add to cart button. and you will get error message over the showcart page and Also same procedure for case of Dependency in the same file(ie ProductWorker.java) Thanks & Regards Arpit Singh Pandya Amit Sharma wrote: > Hello Users, > > Can somebody help regarding ProductFeatureIactn entity in > DemoProduct.xml file of ecommerce application that where we are > getting the changes when we put > productFeatureIactnTypeId="FEATURE_IACTN_DEPEND" or > productFeatureIactnTypeId="FEATURE_IACTN_INCOMP". > i thing if we take productFeatureIactnTypeId="FEATURE_IACTN_INCOMP" > the following line > > <ProductFeatureIactn productFeatureId="9000" productFeatureIdTo="9002" > productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> > > Here 9000 is incompatible with 9002 but i can't get the affect on > product WG-9944 and WG-9943 in which both the features are applied. > > So please help me to figure it out , how it works. > > Thanks in advance > > Amit Sharma > > Amit Sharma wrote: >> Hello all, >> >> I was reviewing DemoProduct.xml of ecommerce. >> >> Can anybody tell me what is the use of ProductFeatureIactn entity. >> >> >> Thanks and Regards >> >> Amit Sharma >> > > |
Administrator
|
In reply to this post by Amit Sharma-10
Is this still a problem for you ? I mean is it a general problem ?
Jacques From: "Amit Sharma" <[hidden email]> > ?Hello Users, > > Can somebody help regarding ProductFeatureIactn entity in > DemoProduct.xml file of ecommerce application that where we are getting > the changes when we put productFeatureIactnTypeId="FEATURE_IACTN_DEPEND" > or productFeatureIactnTypeId="FEATURE_IACTN_INCOMP". > i thing if we take productFeatureIactnTypeId="FEATURE_IACTN_INCOMP" the > following line > > <ProductFeatureIactn productFeatureId="9000" productFeatureIdTo="9002" > productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> > > Here 9000 is incompatible with 9002 but i can't get the affect on > product WG-9944 and WG-9943 in which both the features are applied. > > So please help me to figure it out , how it works. > > Thanks in advance > > Amit Sharma > > Amit Sharma wrote: >> Hello all, >> >> I was reviewing DemoProduct.xml of ecommerce. >> >> Can anybody tell me what is the use of ProductFeatureIactn entity. >> >> >> Thanks and Regards >> >> Amit Sharma >> > |
Actually i need that type of functionality which will help to create
custom application for me. that's why i gone through where it is implemented. so i think its general problem and <ProductFeatureIactn productFeatureId="9000" productFeatureIdTo="9002" productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> because above line should make sense in DemoProduct.xml but its not . After doing this 1. You have to make entry for productId field on ProductFeatureIactn entity like for product say productId="WG-9944" 2. Uncomment line no. 1002, 1003 and 1006 in file ProductWorker.java 3. Comment line no. 1007 and 1008 in file ProductWorker.java which has explain by Arpit , works fine please let me know about your views. Thanks & Regards Amit Sharma Jacques Le Roux wrote: > Is this still a problem for you ? I mean is it a general problem ? > > Jacques > > From: "Amit Sharma" <[hidden email]> >> Hello Users, >> >> Can somebody help regarding ProductFeatureIactn entity in >> DemoProduct.xml file of ecommerce application that where we are >> getting the changes when we put >> productFeatureIactnTypeId="FEATURE_IACTN_DEPEND" or >> productFeatureIactnTypeId="FEATURE_IACTN_INCOMP". >> i thing if we take productFeatureIactnTypeId="FEATURE_IACTN_INCOMP" >> the following line >> >> <ProductFeatureIactn productFeatureId="9000" >> productFeatureIdTo="9002" >> productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> >> >> Here 9000 is incompatible with 9002 but i can't get the affect on >> product WG-9944 and WG-9943 in which both the features are applied. >> >> So please help me to figure it out , how it works. >> >> Thanks in advance >> >> Amit Sharma >> >> Amit Sharma wrote: >>> Hello all, >>> >>> I was reviewing DemoProduct.xml of ecommerce. >>> >>> Can anybody tell me what is the use of ProductFeatureIactn entity. >>> >>> >>> Thanks and Regards >>> >>> Amit Sharma >>> >> > |
Yes Amit, Jacques , All
Of course its a general problem, in the current scenario the entity (ProductFeatureIactn) is of no use because of the following reason I have doubts regarding to this entity *Doubt* :- 1. If we are not giving the entry of *productId* field of entity ProductFeatureIactn in the *DemoProduct.xml* file, which is needed . what is the use of this without proper entry ? 2. The code which is used to apply this functionality *(ie which features are incompatible or depended with any particular product)* in ProductWorker.java are commented, why so...? 3. and also there are some code of no use...?? I have a proposal for this problem with the solution :- 1. Make an entry of productId in ProductFeatureIactn entity of DemoProduct.xml file. 2. I Uncomment the lines which are in use to implement this functionality *(**ie it will work for functionality, which features are incompatible or depended with any particular product**)* in ecommerce component. 3.and also i deleted some code of no use there. and i even checked it with this changes on ecommerce component which is already described in my previous mail , which is working fine for me. I have a working patch for this Problem. what do you think.? and Please let me know if I am wrong in any point, your comments are most welcome. Kind Regards Arpit Singh Pandya Amit Sharma wrote: > Actually i need that type of functionality which will help to create > custom application for me. that's why i gone through where it is > implemented. > so i think its general problem and > > <ProductFeatureIactn productFeatureId="9000" productFeatureIdTo="9002" > productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> > > because above line should make sense in DemoProduct.xml > but its not . > After doing this > > 1. You have to make entry for productId field on ProductFeatureIactn > entity like for product say productId="WG-9944" > 2. Uncomment line no. 1002, 1003 and 1006 in file ProductWorker.java > 3. Comment line no. 1007 and 1008 in file ProductWorker.java > > which has explain by Arpit , works fine > > please let me know about your views. > > Thanks & Regards > > Amit Sharma > > Jacques Le Roux wrote: >> Is this still a problem for you ? I mean is it a general problem ? >> >> Jacques >> >> From: "Amit Sharma" <[hidden email]> >>> Hello Users, >>> >>> Can somebody help regarding ProductFeatureIactn entity in >>> DemoProduct.xml file of ecommerce application that where we are >>> getting the changes when we put >>> productFeatureIactnTypeId="FEATURE_IACTN_DEPEND" or >>> productFeatureIactnTypeId="FEATURE_IACTN_INCOMP". >>> i thing if we take productFeatureIactnTypeId="FEATURE_IACTN_INCOMP" >>> the following line >>> >>> <ProductFeatureIactn productFeatureId="9000" >>> productFeatureIdTo="9002" >>> productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> >>> >>> Here 9000 is incompatible with 9002 but i can't get the affect on >>> product WG-9944 and WG-9943 in which both the features are applied. >>> >>> So please help me to figure it out , how it works. >>> >>> Thanks in advance >>> >>> Amit Sharma >>> >>> Amit Sharma wrote: >>>> Hello all, >>>> >>>> I was reviewing DemoProduct.xml of ecommerce. >>>> >>>> Can anybody tell me what is the use of ProductFeatureIactn entity. >>>> >>>> >>>> Thanks and Regards >>>> >>>> Amit Sharma >>>> >>> >> > > |
Administrator
|
I will have a look at it...
Thanlks Jacques From: "Arpit Singh Pandya" <[hidden email]> > Yes Amit, Jacques , All > > Of course its a general problem, in the current scenario the entity > (ProductFeatureIactn) is of no use because of the following reason > > I have doubts regarding to this entity > > *Doubt* :- > 1. If we are not giving the entry of *productId* > field of entity ProductFeatureIactn in the *DemoProduct.xml* file, which > is needed . > what is the use of this without proper entry ? > 2. The code which is used to apply this functionality > *(ie which features are incompatible or depended with any particular > product)* in ProductWorker.java are commented, why > so...? > 3. and also there are some code of no use...?? > > > I have a proposal for this problem with the solution :- > 1. Make an entry of productId in ProductFeatureIactn > entity of DemoProduct.xml file. > 2. I Uncomment the lines which are in use to > implement this functionality *(**ie it will work for functionality, > which features are > incompatible or depended with any particular > product**)* in ecommerce component. > 3.and also i deleted some code of no use there. > > and i even checked it with this changes on ecommerce component which is > already described in my previous mail , which is working fine for me. > > I have a working patch for this Problem. > > what do you think.? > and Please let me know if I am wrong in any point, your comments are > most welcome. > > > Kind Regards > Arpit Singh Pandya > > > Amit Sharma wrote: >> Actually i need that type of functionality which will help to create >> custom application for me. that's why i gone through where it is >> implemented. >> so i think its general problem and >> >> <ProductFeatureIactn productFeatureId="9000" productFeatureIdTo="9002" >> productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> >> >> because above line should make sense in DemoProduct.xml >> but its not . >> After doing this >> >> 1. You have to make entry for productId field on ProductFeatureIactn >> entity like for product say productId="WG-9944" >> 2. Uncomment line no. 1002, 1003 and 1006 in file ProductWorker.java >> 3. Comment line no. 1007 and 1008 in file ProductWorker.java >> >> which has explain by Arpit , works fine >> >> please let me know about your views. >> >> Thanks & Regards >> >> Amit Sharma >> >> Jacques Le Roux wrote: >>> Is this still a problem for you ? I mean is it a general problem ? >>> >>> Jacques >>> >>> From: "Amit Sharma" <[hidden email]> >>>> Hello Users, >>>> >>>> Can somebody help regarding ProductFeatureIactn entity in >>>> DemoProduct.xml file of ecommerce application that where we are >>>> getting the changes when we put >>>> productFeatureIactnTypeId="FEATURE_IACTN_DEPEND" or >>>> productFeatureIactnTypeId="FEATURE_IACTN_INCOMP". >>>> i thing if we take productFeatureIactnTypeId="FEATURE_IACTN_INCOMP" >>>> the following line >>>> >>>> <ProductFeatureIactn productFeatureId="9000" >>>> productFeatureIdTo="9002" >>>> productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> >>>> >>>> Here 9000 is incompatible with 9002 but i can't get the affect on >>>> product WG-9944 and WG-9943 in which both the features are applied. >>>> >>>> So please help me to figure it out , how it works. >>>> >>>> Thanks in advance >>>> >>>> Amit Sharma >>>> >>>> Amit Sharma wrote: >>>>> Hello all, >>>>> >>>>> I was reviewing DemoProduct.xml of ecommerce. >>>>> >>>>> Can anybody tell me what is the use of ProductFeatureIactn entity. >>>>> >>>>> >>>>> Thanks and Regards >>>>> >>>>> Amit Sharma >>>>> >>>> >>> >> >> > |
Thanks jacques,.
I am eagerly waiting for your suggestion. Kind Regards Arpit Singh Pandya Jacques Le Roux wrote: > I will have a look at it... > > Thanlks > > Jacques > > From: "Arpit Singh Pandya" <[hidden email]> >> Yes Amit, Jacques , All >> >> Of course its a general problem, in the current scenario the entity >> (ProductFeatureIactn) is of no use because of the following reason >> I have doubts regarding to this entity >> >> *Doubt* :- >> 1. If we are not giving the entry of *productId* >> field of entity ProductFeatureIactn in the *DemoProduct.xml* file, >> which is needed . >> what is the use of this without proper entry ? >> 2. The code which is used to apply this >> functionality *(ie which features are incompatible or depended with >> any particular >> product)* in ProductWorker.java are commented, >> why so...? >> 3. and also there are some code of no use...?? >> >> I have a proposal for this problem with the solution :- >> 1. Make an entry of productId in >> ProductFeatureIactn entity of DemoProduct.xml file. >> 2. I Uncomment the lines which are in use to >> implement this functionality *(**ie it will work for functionality, >> which features are incompatible or depended with >> any particular product**)* in ecommerce component. >> 3.and also i deleted some code of no use there. >> >> and i even checked it with this changes on ecommerce component which >> is already described in my previous mail , which is working fine for >> me. >> >> I have a working patch for this Problem. >> >> what do you think.? >> and Please let me know if I am wrong in any point, your comments are >> most welcome. >> >> Kind Regards >> Arpit Singh Pandya >> >> >> Amit Sharma wrote: >>> Actually i need that type of functionality which will help to create >>> custom application for me. that's why i gone through where it is >>> implemented. >>> so i think its general problem and >>> >>> <ProductFeatureIactn productFeatureId="9000" >>> productFeatureIdTo="9002" >>> productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> >>> >>> because above line should make sense in DemoProduct.xml >>> but its not . >>> After doing this >>> >>> 1. You have to make entry for productId field on ProductFeatureIactn >>> entity like for product say productId="WG-9944" >>> 2. Uncomment line no. 1002, 1003 and 1006 in file ProductWorker.java >>> 3. Comment line no. 1007 and 1008 in file ProductWorker.java >>> >>> which has explain by Arpit , works fine >>> >>> please let me know about your views. >>> >>> Thanks & Regards >>> >>> Amit Sharma >>> >>> Jacques Le Roux wrote: >>>> Is this still a problem for you ? I mean is it a general problem ? >>>> >>>> Jacques >>>> >>>> From: "Amit Sharma" <[hidden email]> >>>>> Hello Users, >>>>> >>>>> Can somebody help regarding ProductFeatureIactn entity in >>>>> DemoProduct.xml file of ecommerce application that where we are >>>>> getting the changes when we put >>>>> productFeatureIactnTypeId="FEATURE_IACTN_DEPEND" or >>>>> productFeatureIactnTypeId="FEATURE_IACTN_INCOMP". >>>>> i thing if we take >>>>> productFeatureIactnTypeId="FEATURE_IACTN_INCOMP" the following line >>>>> >>>>> <ProductFeatureIactn productFeatureId="9000" >>>>> productFeatureIdTo="9002" >>>>> productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> >>>>> >>>>> Here 9000 is incompatible with 9002 but i can't get the affect on >>>>> product WG-9944 and WG-9943 in which both the features are applied. >>>>> >>>>> So please help me to figure it out , how it works. >>>>> >>>>> Thanks in advance >>>>> >>>>> Amit Sharma >>>>> >>>>> Amit Sharma wrote: >>>>>> Hello all, >>>>>> >>>>>> I was reviewing DemoProduct.xml of ecommerce. >>>>>> >>>>>> Can anybody tell me what is the use of ProductFeatureIactn entity. >>>>>> >>>>>> >>>>>> Thanks and Regards >>>>>> >>>>>> Amit Sharma >>>>>> >>>>> >>>> >>> >>> >> > > |
Administrator
|
Arpit, Amit,
The lines 1002, 1003, 1006, 1007 and 1008 in file ProductWorker.java are commented out because they have been replaced by the localised label "cart.addToCart.incompatibilityVariantFeature". This label contains less information than was in those lines but is more general. I guess it's enough for an error explanation and we should keep the warnings in log. I will completly remove these lines to prevent further expectations like yours. Please see my other comments in https://issues.apache.org/jira/browse/OFBIZ-2170?focusedCommentId=12670916#action_12670916 Thanks Jacques From: "Arpit Singh Pandya" <[hidden email]> > Thanks jacques,. > > I am eagerly waiting for your suggestion. > > Kind Regards > Arpit Singh Pandya > > Jacques Le Roux wrote: >> I will have a look at it... >> >> Thanlks >> >> Jacques >> >> From: "Arpit Singh Pandya" <[hidden email]> >>> Yes Amit, Jacques , All >>> >>> Of course its a general problem, in the current scenario the entity (ProductFeatureIactn) is of no use because of the following >>> reason >>> I have doubts regarding to this entity >>> >>> *Doubt* :- >>> 1. If we are not giving the entry of *productId* field of entity ProductFeatureIactn in the *DemoProduct.xml* >>> file, which is needed . >>> what is the use of this without proper entry ? >>> 2. The code which is used to apply this functionality *(ie which features are incompatible or depended with >>> any particular >>> product)* in ProductWorker.java are commented, why so...? >>> 3. and also there are some code of no use...?? >>> I have a proposal for this problem with the solution :- >>> 1. Make an entry of productId in ProductFeatureIactn entity of DemoProduct.xml file. >>> 2. I Uncomment the lines which are in use to implement this functionality *(**ie it will work for >>> functionality, which features are incompatible or depended with any particular product**)* in ecommerce >>> component. >>> 3.and also i deleted some code of no use there. >>> >>> and i even checked it with this changes on ecommerce component which is already described in my previous mail , which is >>> working fine for me. >>> >>> I have a working patch for this Problem. >>> >>> what do you think.? >>> and Please let me know if I am wrong in any point, your comments are most welcome. >>> Kind Regards >>> Arpit Singh Pandya >>> >>> >>> Amit Sharma wrote: >>>> Actually i need that type of functionality which will help to create custom application for me. that's why i gone through >>>> where it is implemented. >>>> so i think its general problem and >>>> >>>> <ProductFeatureIactn productFeatureId="9000" productFeatureIdTo="9002" productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> >>>> >>>> because above line should make sense in DemoProduct.xml >>>> but its not . >>>> After doing this >>>> >>>> 1. You have to make entry for productId field on ProductFeatureIactn entity like for product say productId="WG-9944" >>>> 2. Uncomment line no. 1002, 1003 and 1006 in file ProductWorker.java >>>> 3. Comment line no. 1007 and 1008 in file ProductWorker.java >>>> >>>> which has explain by Arpit , works fine >>>> >>>> please let me know about your views. >>>> >>>> Thanks & Regards >>>> >>>> Amit Sharma >>>> >>>> Jacques Le Roux wrote: >>>>> Is this still a problem for you ? I mean is it a general problem ? >>>>> >>>>> Jacques >>>>> >>>>> From: "Amit Sharma" <[hidden email]> >>>>>> Hello Users, >>>>>> >>>>>> Can somebody help regarding ProductFeatureIactn entity in DemoProduct.xml file of ecommerce application that where we are >>>>>> getting the changes when we put productFeatureIactnTypeId="FEATURE_IACTN_DEPEND" or >>>>>> productFeatureIactnTypeId="FEATURE_IACTN_INCOMP". >>>>>> i thing if we take productFeatureIactnTypeId="FEATURE_IACTN_INCOMP" the following line >>>>>> >>>>>> <ProductFeatureIactn productFeatureId="9000" productFeatureIdTo="9002" productFeatureIactnTypeId="FEATURE_IACTN_INCOMP"/> >>>>>> >>>>>> Here 9000 is incompatible with 9002 but i can't get the affect on product WG-9944 and WG-9943 in which both the features are >>>>>> applied. >>>>>> >>>>>> So please help me to figure it out , how it works. >>>>>> >>>>>> Thanks in advance >>>>>> >>>>>> Amit Sharma >>>>>> >>>>>> Amit Sharma wrote: >>>>>>> Hello all, >>>>>>> >>>>>>> I was reviewing DemoProduct.xml of ecommerce. >>>>>>> >>>>>>> Can anybody tell me what is the use of ProductFeatureIactn entity. >>>>>>> >>>>>>> >>>>>>> Thanks and Regards >>>>>>> >>>>>>> Amit Sharma >>>>>>> >>>>>> >>>>> >>>> >>>> >>> >> >> > |
In reply to this post by arpit singh pandya
Hi all,
The Data model resource book doesn't say anything about it and this field is not used at all. Is it deprecated? Also the name contains "enum" keyword, but there is no relation to Enumeration entity, is there a reason for that? Thanks in advance, Bilgin |
Free forum by Nabble | Edit this page |