@php $data=getProductInfo($product); use App\Models\Information; use App\Models\BanglaText; $info = Information::first(); $bangla_text = BanglaText::first(); @endphp
Product Images @if($product->discount_type)
{{$product->discount_type=='fixed'?'':''}}{{$product->discount}} {{$product->discount_type=='fixed'?'':'%'}} Off
@endif
{{ \Illuminate\Support\Str::limit($product->name, 15) }}
@php $curr = $info->currency; @endphp @if($curr == 'BDT') ৳ {{ (int)$data['price'] }} @elseif ($curr == 'Dollar') $ {{ $data['price'] }} @elseif ($curr == 'Euro') {{ $data['price'] }} @elseif ($curr == 'Rupee') {{ $data['price'] }} @else @endif @if($data['discount_amount'] > 0 && $data['old_price']) @php $curr = $info->currency; @endphp @if($curr == 'BDT') {{ (int)$data['old_price'] }} @elseif ($curr == 'Dollar') $ {{ $data['old_price'] }} @elseif ($curr == 'Euro') {{ $data['old_price'] }} @elseif ($curr == 'Rupee') {{ $data['old_price'] }} @else @endif @endif
@if($product->type=="single")
@csrf @if($product->after_discount != '0') @else @endif
@else
@endif