Adding product colour child to the product form
At this point you've created the product form to capture product details. The form must be amended to provide input form fields for capturing product colour details including attachment button for uploading product images. A product can be available in multiple colours. So an option (button) to add more than one product colour details must be provided. At the same time, an option (button) to delete product colour details must be provided.
"Product" model has a one-many relationship with "ProductColour" model. "One-Many" widget can be used to insert the "ProductColour" child model grid with the product colour and attachment form field elements.