@include('design_1.web.components.rate', ['rate' => $item->getRate(), 'rateClassName' => 'mt-12'])
@if($itemType == 'product')
@if($item->price > 0)
@php
$itemPriceWithActiveDiscountPrice = $item->getPriceWithActiveDiscountPrice();
@endphp
@if($itemPriceWithActiveDiscountPrice < $item->price)
{{ ($itemPriceWithActiveDiscountPrice > 0) ? handlePrice($itemPriceWithActiveDiscountPrice, true, true, false, null, true, 'store') : trans('public.free') }}
{{ handlePrice($item->price, true, true, false, null, true, 'store') }}
@else
{{ handlePrice($item->price, true, true, false, null, true, 'store') }}
@endif
@else
{{ trans('public.free') }}
@endif
@else
@if($item->price > 0)
@if($item->bestTicket() < $item->price)
{{ handlePrice($item->bestTicket(), true, true, false, null, true, $taxType) }}
{{ handlePrice($item->price, true, true, false, null, true, $taxType) }}
@else
{{ handlePrice($item->price, true, true, false, null, true, $taxType) }}
@endif
@else
{{ trans('public.free') }}
@endif
@endif