I am trying to find solution to below use case, using Laravel I am inserting bulk products with respective quantity and description. For example product1 with id:pro_1 with its quantity and description, same with other products. If I submit the form how I know for which product the quantity and description is.
@foreach(get_products_by_parent_name("Content") as $product_id => $product_name)
<div class="col-md-4">
<div class="form-group">
<h4><label class="p_name"><input type="checkbox" value=""> </label></h4>
<label>Quantity</label>
<input type="number" min="1" class="form-control"
name="qn_">
<label>Description</label>
<textarea class="form-control" name="desp_" style="resize: none;"></textarea>
</div>
</div>
@endforeach
via Zack