{{ $product['name'] }}
{{--![{{ $product['image'] }}]({{ $product['id'] != 616 ? asset('images/' . $product['image'] . '.webp') : asset($design . '/images/gift_card_img.svg') }})
-
@if ($product['id'] != 616)
@if (count($product['aktiv']) > 0)
-
{!!__('text.product_active')!!}
- @foreach ($product['aktiv'] as $aktiv) {{ $aktiv['name'] }} @endforeach
@endif
- {!!__('text.product_pack1_1')!!} {{__('text.product_pack2_1')}}{{ random_int(10, 40) }}{{__('text.product_pack3_1')}} @endif
-
{{__('text.product_diseases')}}
- @foreach ($product['disease'] as $disease) {{ ucfirst($disease['name']) }} @endforeach
@endif
@if (!empty($product['analog']))
-
{{ $product['name'] }} {!!__('text.product_analogs')!!}
- @foreach ($product['analog'] as $analog) {{ $analog['name'] }} @endforeach
@endif
@if ($product['id'] != 616)
@if (!empty($product['sinonim']))
-
{{ $product['name'] }} {!!__('text.product_others')!!}
- @foreach ($product['sinonim'] as $sinonim) @php $sinonim['url'] = str_replace('.', ',', $sinonim['url']); @endphp {{ $sinonim['name'] }} @endforeach
@endif
@endif
{{ $product['desc'] }}
@foreach ($product['packs'] as $key => $dosage)
@endif
-
@php
$prev_dosage = 0;
@endphp
@foreach ($dosage as $item)
@if ($loop->last)
@continue
@endif
@if ($loop->iteration != 1 && $key != $prev_dosage)
@endif
@if ($key != $prev_dosage)
-
@if (!in_array($product['id'], [616, 619, 620, 483, 484, 501, 615])) {{ "{$product['name']} $key" }}@if ($loop->parent->iteration == 1 && $product['rec_name'] != 'none'), {{__('text.product_need_more')}} {{ $product['rec_name'] }} @endif @else {{ $product['name'] }} @endif
{{__('text.product_package_title')}} {{__('text.product_price_per_pill_title')}} {{__('text.product_price_title')}} {{ "{$item['num']} {$product['type']}" }} @if ($product['id'] != 616) @if ($item['price'] >= 300) {{__('text.cart_free_express')}} @elseif($item['price'] < 300 && $item['price'] >= 200) {{__('text.cart_free_regular')}} @endif @endif {{ $Currency::convert(round($item['price'] / $item['num'], 2), false, true) }} @if ($loop->remaining != 1 && $product['id'] != 616) {{ $Currency::convert($dosage['max_pill_price'] * $item['num'], true) }} -{{ ceil(100 - ($item['price'] / ($dosage['max_pill_price'] * $item['num'])) * 100) }}% @endif @if ($product['id'] != 616) @if (ceil(100 - ($item['price'] / ($dosage['max_pill_price'] * $item['num'])) * 100) == 0) {{ $Currency::convert($item['price'], true) }} @else {{__('text.cart_only')}} {{ $Currency::convert($item['price'], true) }} @endif @else {{ $Currency::convert($item['price'], true) }} @endif
{!! $product['full_desc'] !!}
@endif
@if ($product['id'] == 616)
{{__('text.gift_card_title')}}
- {{__('text.gift_card_text1')}}
- {{__('text.gift_card_text2')}}
{{__('text.recc_text')}}
@foreach ($recommendation as $product_data)
@if ($loop->iteration == 7)
@break
@endif
{{ $product_data['name'] }}
@foreach ($product_data['aktiv'] as $aktiv)
{{ $aktiv['name'] }}
@endforeach
{{ $Currency::convert($product_data['price'], false, true) }}
@if ($product_data['discount'] != 0)
-{{ $product_data['discount'] }}%
@endif
@endforeach
{{ $product_data['name'] }}
@foreach ($product_data['aktiv'] as $aktiv) {{ $aktiv['name'] }} @endforeach
{{ $Currency::convert($product_data['price'], false, true) }}