@extends('layouts.app') @section('content')

Search Result for "{{$search}}" ({{count($products)}} Items)

@foreach($products as $pKey => $product)
{{$product->title}} @if($product->disc_amount >=1)
{!!$product->disc_type ? $product->disc_amount.'% OFF' : '৳'.$product->disc_amount.' OFF'!!}
@endif
@if($product->discount_amount > 0) @if($product->discount_type != 0) ৳ @endif {{ intval($product->discount_amount) }} @if($product->discount_type == 0) % @endif Off @endif ৳ {{$product->sale_price}} @if($product->discount_amount > 0)৳{{$product->regular_price}}@endif
@if($product->hassize) View Details @else @if($product->total_qty>0)
@csrf
@else @endif @endif
@endforeach
@endsection