@extends('web.layouts.container') @section('content')
@if(count($products)) @foreach($products as $product) @if($loop->even)
{{$product->category_name}}

{{$product->name}}

@if(count($product->colors))

{{__('products.colors')}}

@foreach($product->colors as $color) @endforeach @endif
@endif @if($loop->odd)

{{$product->name}}

{{$product->category_name}}
@if(count($product->colors))

{{__('products.colors')}}

@foreach($product->colors as $color) @endforeach @endif
@if(!in_array($product->id, [3,4])) {{__('products.learn_more')}} {{-- {{__('products.buy_now')}} --}} @endif
@endif @endforeach @else
{{__('products.no_data')}}
@endif
@endsection @section('inner_js') @endsection