@extends('frontend.app') @push('css') @endpush @section('content') @php use App\Models\Information; use App\Models\BanglaText; use App\Models\Page; $aboutUs=Page::where('page','about')->first(); $termsCondition=Page::where('page','term')->first(); $info = Information::first(); $bangla_text = BanglaText::first(); $data=getProductInfo($product); @endphp @foreach($product->images as $im) @endforeach @if($product->discount_type) {{(int)$product->dicount_amount}} {{$product->discount_type=='fixed'?'TK':'%'}} OFF @endif @foreach($product->images as $im) @endforeach {{ $product->name}} @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'] >0) @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->discount_type) {{(int)$product->dicount_amount}} {{$product->discount_type=='fixed'?'Tk':'%'}} OFF @endif {!! $product->feature !!} @csrf @if($product->type=='single') @else Select Size/Color: @foreach($product->variations as $v) @if($v->color->name == 'Default' && $v->size->title == 'free') @else @if($v->size->title == 'free') @else {{ $v->size->title }} @endif - @if($v->color->name == 'Default') @else {{ $v->color->name }} @endif @endif @endforeach @endif @if($product->after_discount != '0') @else @endif - + @if($product->is_free_shipping == 0) {{ $bangla_text->order_text }} @else {{ $bangla_text->fshipping_text }} {{ $bangla_text->order_text }} @endif @csrf @if($product->type=='single') @if($product->after_discount != '0') @else @endif @else @endif @if($product->is_free_shipping == 0) {{ $bangla_text->cart_text }} @else {{ $bangla_text->fshipping_text }} - {{ $bangla_text->order_text }} @endif @if( $info->number_visibility == 3 ) @elseif( $info->number_visibility == 2 ) @elseif( $info->number_visibility == 1 ) @else @endif Details {{ $termsCondition->title }} {{ $aboutUs->title }} Reviews Short Description @if($product->video_link) {!! $product->video_link !!} @endif {!! $product->body !!} {!! $termsCondition->body !!} {!! $aboutUs->body !!} ({{$product->reviews->count()}}) Relative Product @include("frontend.products.partials.reviewList") Start Comment Respond Add a Review Why was your experience so bad? Why was your experience so bad? Why was your average rating experience ? Why was your experience good? Give a compliment @csrf Other Notes (optional) Name * Image * Submit Review Thank you! View All >> You Might Also Like @foreach($products as $product) @include('frontend.products.partials.product_section') @endforeach @endsection @push('js') @endpush
{{ $bangla_text->cart_text }}
{{ $bangla_text->fshipping_text }} - {{ $bangla_text->order_text }}
({{$product->reviews->count()}}) Relative Product
@include("frontend.products.partials.reviewList")