I want to search from a collection with multiple Value in View page
My collection will have
- product_id
- quantity
- color_id
- size_id
- sold_price
I want to search from this collection with color_id, size_id and product_id in view page so the other values like quantity and sold_price with respective collection will print inside for loop. Is it possible?
@foreach($colors as $color)
<tr>
<td></td>
@foreach($sizes as $size)
<td>
> // Here Collection search will be implemented with color_id, size_id
and product_id and print respective product price and quantity
</td>
@endforeach
</tr>
@endforeach
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire