@extends($activeTemplate . 'layouts.master') @section('content')
@include($activeTemplate . 'partials.quick_view') @php $description = preg_replace('/<\/?br>/', '', $product->description, 1); @endphp @if ($product->specification || $description || $product->video_link || gs('product_review'))
@if ($product->specification && $product->productType)
@foreach ($product->productType->specifications as $specificationGroup) @if (collect($product->specification)->whereIn('key', $specificationGroup['attributes'])->whereNotNull('value')->count())
{{ __($specificationGroup['group_name']) }}
    @foreach ($specificationGroup['attributes'] ?? [] as $attribute) @php $specification = collect($product->specification)->firstWhere('key', $attribute); @endphp @if (@$specification->value)
  • {{ __($attribute) }} {{ @$specification->value }}
  • @endif @endforeach
@endif @endforeach
@endif @if ($description || $product->extra_descriptions)
@if ($description)
@php echo $product->description @endphp
@endif @if ($product->extra_descriptions)
@foreach ($product->extra_descriptions as $description)

{{ __(@$description['key']) }}

@php echo @$description['value']; @endphp

@endforeach
@endif
@endif @if ($product->video_link)
@endif @if (gs('product_review'))
@endif
@endif
@if ($otherProducts->count() > 0)
@endif
@endsection @push('script') @endpush @push('style-lib') @endpush @push('script-lib') @endpush