@extends('frontend::layouts.master') @section('title') @section('style') @endsection @section('content')
{{-- Section : Banner --}} @if (!empty($data['banner']['image_banner_mobile'])) @endif @if (!empty($data['banner']['image_banner'])) @endif {{-- Section : Product --}}

@lang('frontend.frnd_132')

{{ $product['name_' . $pageInit['lang']] ?? '' }}
@if (!empty($data['set_certi']['certificate']))
@lang('frontend.frnd_40'): {{ $data['set_certi']['certificate'] }}
@endif @if (!empty($data['category_menu']['cat_name']))
{{-- @lang('frontend.categories'): --}} {{ $data['category_menu']['cat_name'] ?? '' }}
@endif @if (!empty($result_item['body_type']))
@if (!empty($result_item['show_name_color'])) {{-- @lang('frontend.frnd_42'): --}} {{ $result_item['body_type'] ?? '' }} {{ ' ' . $result_item['show_name_color'] }} @else {{-- @lang('frontend.frnd_42'): --}} {{ $result_item['body_type'] ?? '' }} {{ $result_item['color'][0]['name'] ?? '' }} @endif
@endif
@if ($price['discount_type'])

{{ number_format($price['old_price'], 2) }}

THB {{ number_format($price['total_price'], 2) }} (@lang('frontend.save') {{ $price['discount_percent'] }}%)


@else

THB {{ number_format($price['total_price'], 2) }}


@endif
{{-- Color product --}} @if (!empty($result_item['color']) && count($result_item['color']) > 0)

@lang('frontend.frnd_46')

@foreach ($result_item['color'] as $index => $color)
@endforeach
@endif {{-- Center Diamond --}} @if (!empty($result_item['diamond']) && count($result_item['diamond']) > 0)

@lang('frontend.frnd_45')

@foreach ($result_item['diamond'] as $index => $diamond)
@endforeach

@endif @if ( (!empty($result_item['size']) && count($result_item['size']) > 0) || (!empty($result_item['size_type']) && count($result_item['size_type']) > 0))
@lang('frontend.frnd_124')
@endif @if (Auth::guard('member')->check()) @else @endif
{{-- {!! mwz_getTextString($product['detail_' . $pageInit['lang']] ?? '') !!} --}}
@if (!empty($product['code']))

Model No.
{{ $product['code'] }}

@endif @if (!empty($sku_detail['pearl']))

{{ !empty($data['set_certi']['metal']) ? $data['set_certi']['metal'] : __('frontend::lang.detial_ring_00') }}
{{ $sku_detail['pearl'] }}

@endif @if (!empty($result_item['diamond'][0]['name']))

@lang('frontend::lang.detial_ring_01')
{{ $result_item['diamond'][0]['name'] }}

@endif @if (!empty($data['set_certi']['certificate']))

@lang('frontend::lang.detial_ring_02')
{{ $data['set_certi']['certificate'] }}

@endif @if (!empty($sku_detail['uncut'])) {{-- ทรง --}}

@lang('frontend::lang.detial_ring_03')
{{ $sku_detail['uncut'] }}

@endif @if (!empty($sku_detail['shape'])) {{-- สี --}}

@lang('frontend::lang.detial_ring_04')
{{ $sku_detail['shape'] }}

@endif @if (!empty($sku_detail['cleanliness']))

@lang('frontend::lang.detial_ring_05')
{{ $sku_detail['cleanliness'] }}

@endif @if (!empty($item_select->weight))

@lang('frontend::lang.detial_ring_07')
{{ $item_select->weight }}

@endif @if (!empty($result_item['body_type']))

@lang('frontend::lang.detial_ring_08')
{{ $result_item['body_type'] }}

@endif @if (!empty($item_select->width) && $item_select->width > 0)

@lang('frontend::lang.detial_ring_09')
{{ $item_select->width }}

@endif

{!! $sku_detail['another'] ?? '' !!}

{{--
@lang('frontend.frnd_31')
@lang('frontend.frnd_128')
--}}
{!! $sku_detail['description'] ?? '' !!}
{{--
@lang('frontend.frnd_31')
@lang('frontend.frnd_128')
--}}

@lang('frontend.frnd_77')

    @foreach ($product_other as $prod) @php $price = calculator_price($prod->item_price); @endphp
  • @if (!empty($prod->status_new)) @if (!empty($prod->labels))

    @foreach (json_decode($prod->labels) as $item) {{ $item->title }} @endforeach

    @endif @endif {{--

    NEW

    --}}
    @if (Auth::guard('member')->check())
    @else
    @endif
    {{ $prod['name_' . $pageInit['lang']] ?? '' }}
    @if (!empty($price['discount_type']))

    {{ number_format($price['old_price'] ?? 0, 2) }}

    THB {{ number_format($price['total_price'] ?? 0, 2) }} ({{ $price['discount_percent'] }}@lang('frontend::lang.product_01'))

    @else

    THB {{ number_format($price['total_price'] ?? 0, 2) }}

    @endif
  • @endforeach
@endsection @section('script') @endsection