@foreach($secondary_items as $secondary_item2)
@if($secondary_item2->getStoreItems($secondary_item2->id, $secondary_item2->menu_type))
@foreach($secondary_item2->getStoreItems($secondary_item2->id, $secondary_item2->menu_type) as $sec_item)
@endforeach
@endif
@endforeach