@extends('layouts.master') @section('page') Our Products | {{setting('site.title')}} @endsection @section('content')

Our Products

@foreach ($products as $product)
@if ($product->on_sale && $product->quantity > 0) Sale @endif @if ($product->quantity <= 0) Out
of Stock
@endif {{$product->name}}
@if ($product->on_sale)

$ {{$product->price}}

$ {{$product->on_sale}}

@else @if ($product->price > 0)

$ {{$product->price}}

@else Ask for price @endif @endif
@endforeach
Shop Categories
{!! $products->links('partials.paginator') !!}
@endsection @push('styles') @endpush()