@extends('layout.master') @section('body-class', 'page-product') @section('title', $product['meta_title'] ?: $product['name']) @section('keywords', $product['meta_keywords'] ?: system_setting('base.meta_keyword')) @section('description', $product['meta_description'] ?: system_setting('base.meta_description')) @push('header') @if ($product['video']) @endif @endpush @php $iframeClass = request('iframe') ? 'd-none' : ''; @endphp @section('content') @if (!request('iframe')) @endif
@if(!is_mobile())
@include('product.product-video')
@else @include('product.product-video')
@endif
@hookwrapper('product.detail.name')

{{ $product['name'] }}

@endhookwrapper @hookwrapper('product.detail.price')
@{{ product.price_format }}
@{{ product.origin_price_format }}
@endhookwrapper
@hookwrapper('product.detail.quantity')
{{ __('product.quantity') }}:
@endhookwrapper @if ($product['brand_id']) @hookwrapper('product.detail.brand')
{{ __('product.brand') }}: {{ $product['brand_name'] }}
@endhookwrapper @endif @hookwrapper('product.detail.sku')
SKU:@{{ product.sku }}
@endhookwrapper @hookwrapper('product.detail.model')
{{ __('shop/products.model') }}: @{{ product.model }}
@endhookwrapper
@if (0)
@for ($i = 0; $i < 5; $i++) @endfor
132 reviews
@endif

@{{ variable.name }}

@{{ value.name }}
@if ($product['active'])
@hook('product.detail.buy.before') @hookwrapper('product.detail.quantity.input')
@endhookwrapper @hookwrapper('product.detail.add_to_cart') @endhookwrapper @hookwrapper('product.detail.buy_now') @endhookwrapper @hook('product.detail.buy.after')
@if (current_customer() || !request('iframe')) @hookwrapper('product.detail.wishlist')
@endhookwrapper @endif @else
{{ __('product.has_been_inactive') }}
@endif @hook('product.detail.after')
{!! $product['description'] !!}
@foreach ($product['attributes'] as $group) @foreach ($group['attributes'] as $item) @endforeach @endforeach
{{ $group['attribute_group_name'] }}
{{ $item['attribute'] }} {{ $item['attribute_value'] }}
@hook('product.tab.after.pane')
@if ($relations && !request('iframe'))
{{ __('admin/product.product_relations') }}
@foreach ($relations as $item)
@include('shared.product', ['product' => $item])
@endforeach
@endif @hook('product.detail.footer') @endsection @push('add-scripts') @endpush