jawaid Posted May 16, 2015 Share Posted May 16, 2015 I am trying to modify product features in a way that I can define one product feature as parent of another product feature. For example, I add two product features Feature1 and Feature2. In Feature1 I add values like F1value1, F1value2, and so on. Similarly, when defining values for second feature I want to map a parent of that value. Like if I define value of Feature2 to be F2V2 I also want to tell that its parent is F1Value1. So, a feature value can have one parent and multiple feature values can have same parent. This is a one-to-many relationship between parent and child feature. To do this what I think I need to modify product_features table and add a parent_id column. But how can I update the Product Feature screen to reflect the changes in DB? Any help would be appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now