@if (count($products) > 0)

{!! __('buy with it') !!}

@foreach ($products as $key => $product) @if ($product->stock > 0) @php $ids[] = $product->id; $prices[] = $product->offer ?? $product->price; $names[] = $product->title; @endphp @endif @endforeach

{!! csrf_field() !!}
@endif