@extends('layouts.main')
@push('catalogue-nav')
@include('partials.general.catalogue-nav')
@endpush
@section('content')
Search
@if(!$products)
No Products available.
@endif
@if(isset($products))
@if($products)
@if(isset($products))
@foreach($products as $product)
@if(Auth::check())
@if(Auth::user()->currency->is_currency_fixed == '1')
₦{{transform_product_price($product->price, 1) }}
@if($product->sale == 1)
₦ {{transform_product_price($product->old_price, 1)}}
@endif
@else
@if($product->sale == 1)
{{ transform_product_price($product->old_price, Auth::user()->currency->rate ) }} {{Auth::user()->currency->currency}}
@endif
{{ transform_product_price($product->price, Auth::user()->currency->rate ) }} {{Auth::user()->currency->currency }}
@endif
@endif
@endforeach
@else
No Products available
@endif
@endif
@endif
@endsection
@push('style')
@endpush
@push('script')