![]() At this point you've created the product form to capture product details and added the product colour child model parameters to capture product colour details. The form must be amended to provide input form fields for capturing product size details. A product can be available in multiple colours; each colour may have various sizes. So an option (button) to add more than one product size details must be provided. At the same time, an option (button) to delete product size details must be provided. "ProductColour" model has a one-many relationship with "ProductSize" model. "One-Many" widget can be used to insert the "ProductSize" child model grid with the product size form field elements.
|