@extends('frontend.layouts.app') @section('meta_title'){{ $shop->meta_title }}@stop @section('meta_description'){{ $shop->meta_description }}@stop @section('meta') {{-- ===== LOGIN PROMPT POPUP ===== --}}
@endsection @section('content') @php $subCategoryName=""; @endphp @if(isset($shop->sub_cat_ids) && !empty($shop->sub_cat_ids)) @php $subCategoryArray = explode(",", $shop->sub_cat_ids); $firstValue = $subCategoryArray[0]; $subCategory=App\Models\Category::select('name')->find($firstValue); $subCategoryName=@$subCategory->name; @endphp @endif @php $images = !empty($shop->sliders) ? explode(',', $shop->sliders) : []; $phone = optional($shop->user)->phone ?? ''; $whatsappNumber = preg_replace('/[^0-9]/', '', $phone); @endphp {{-- BREADCRUMB --}} {{-- GALLERY --}} @php $imgCount = count($images); $galleryClass = 'bm-gallery-4'; // default 4+ if($imgCount == 1) $galleryClass = 'bm-gallery-1'; elseif($imgCount == 2) $galleryClass = 'bm-gallery-2'; elseif($imgCount == 3) $galleryClass = 'bm-gallery-3'; @endphp
@if($key == 4 && $imgCount > 5)
@endif
{{-- placeholder only, offer moved to gallery --}}
{{ Str::limit($shop->meta_description, 300) }}
{{-- Discount Badge --}}
@if(discount_in_percentage($product) > 0)
{{ translate('OFF') }}
{{ discount_in_percentage($product) }}%
@endif
{{ $review->comment ?? '' }}
No Reviews Yet. Be The First To Review!
{{ $userReview->comment }}
@else