loop Illuminate\Support\Collection Object ( [items:protected] = code example
Example: loop Illuminate\Support\Collection Object ( [items:protected] =
foreach($cart as $item) {
echo $item->name;
echo $item->options->brand;
}
foreach($cart as $item) {
echo $item->name;
echo $item->options->brand;
}