@extends($design . '.layouts.main') @section('title', $page_properties->title) @section('keywords', $page_properties->keyword) @section('description', $page_properties->description) @section('content')

{{ $product['name'] }}

@foreach ($product['categories'] as $category) {{ $category['name'] }}
@endforeach
@foreach ($product['packs'] as $key => $dosage)

@if ($product['id'] != 616) @if (in_array($product['id'], [619, 620, 483, 484, 501, 615])) {{ $product['name'] }} @else {{ "{$product['name']} $key" }}@if ($loop->iteration == 1 && $product['rec_name'] != 'none'), {{__('text.product_need_more')}} {{ $product['rec_name'] }} @endif @endif @else {{ $product['name'] }} @endif

@foreach ($dosage as $item) @if ($loop->last) @continue @endif @endforeach
{{__('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) {{__('text.cart_only')}} {{ $Currency::convert($item['price'], true) }} @else {{ $Currency::convert($item['price'], true) }} @endif
@csrf
@endforeach
@if ($product['full_desc']) {!! $product['full_desc'] !!} @endif @if ($product['id'] == 616)

{{__('text.gift_card_title')}}

  1. {{__('text.gift_card_text1')}}
  2. {{__('text.gift_card_text2')}}

@endif

{{__('text.recc_text')}}

@foreach ($recommendation as $product_data) @if ($loop->iteration == 7) @break @endif @endforeach
@endsection @section('rewies') @endsection