{{--
(5/4.9)
--}}

@if ($product->stock > 0)

{!! __('Availability now') !!}

@else

{!! __('Not available now') !!}

@endif @php // dump($data); @endphp
@if (@$data['tag_txt_1'][$lang])
{{ @$data['tag_txt_1'][$lang] }} {{ @$data['tag_val_1'][$lang] }}
@endif @if (@$data['tag_txt_2'][$lang])
{{ @$data['tag_txt_2'][$lang] }} {{ @$data['tag_val_2'][$lang] }}
@endif @if (@$data['tag_txt_3'][$lang])
{{ @$data['tag_txt_3'][$lang] }} {{ @$data['tag_val_3'][$lang] }}
@endif

{!! __('Specification') !!}

{!! @$product->content !!}
@if ($product->sizes->count())

{!! @$data['specification_title'] ?? __('Specification') !!}

@foreach ($product->sizes as $key => $s) @endforeach
@endif
{{--
--}} @if (!empty(@$data['extra'])) @php $extra = array_column(@$data['extra'], "value", "name"); @endphp
{{--

{!! @$data['packaging_title'] ?? __('Available packaging') !!}

--}} {{-- @dump($extra) --}} @foreach ($extra as $list_id => $list_price) @if (@$units[$list_id]) @endif @endforeach
{{--
--- {{ @$new_price }} --{{ $package }} -- - {{ $type }} ---
--}}
@if ($new_price)

{!! __('The price') !!}

{!! $new_price !!} {!! __('EGP') !!} / @if (@$units[$new_id]) {!! @$units[$new_id] !!} @endif

@if ($quantity > 1)

{!! __('Total') !!}

{!! $quantity !!}×{!! $new_price !!} = {!! $new_price*$quantity !!} {!! __('EGP') !!}
{!! optional($product->unit)->title !!}

@endif @else @if ($product->offer)

{!! __('The price') !!} {!! $product->price !!}

{!! $product->offer !!} {!! __('EGP') !!} {!! optional($product->unit)->title !!}

@else

{!! __('The price') !!}

{!! $product->price !!} {!! __('EGP') !!} {!! optional($product->unit)->title !!}

@endif @if ($quantity > 1) @php $offer = $product->offer ?? $product->price; @endphp

{!! __('Total') !!}

{!! $quantity !!}×{!! $offer !!} = {!! $offer*$quantity !!} {!! __('EGP') !!} {!! optional($product->unit)->title !!}

@endif @endif
@else
@if ($product->offer)

{!! __('The price') !!} {!! $product->price !!}

{!! $product->offer !!} {!! __('EGP') !!}
{!! optional($product->unit)->title !!}

@else

{!! __('The price') !!} {!! $product->price !!}

{!! $product->offer !!} {!! __('EGP') !!}
{!! optional($product->unit)->title !!}

{!! __('The price') !!} {!! $product->price !!} {!! __('EGP') !!}
{!! optional($product->unit)->title !!} @endif @if ($quantity > 1) @php $offer = $product->offer ?? $product->price; @endphp

{!! __('Total') !!}

{!! $quantity !!}×{!! $offer !!} = {!! $offer*$quantity !!} {!! __('EGP') !!}
{!! optional($product->unit)->title !!}

@endif
@endif