@extends('themes.basic.layouts.single') @section('noindex', true) @section('header_title', translate('Your Cart')) @section('title', translate('Your Cart')) @section('breadcrumbs', Breadcrumbs::render('cart')) @if ($cartItems->count() > 0) @section('header_v3', true) @endif @if (@$settings->item->support_status) @php $supportPeriods = supportPeriods(); @endphp @if ($supportPeriods->count() > 0) @section('container', 'container-custom') @endif @endif @section('content') @if ($cartItems->count() > 0)
@csrf
@foreach ($cartItems as $cartItem) @php $item = $cartItem->item; @endphp
@csrf
@if (@$settings->item->support_status && $item->isSupported() && $supportPeriods->count() > 0)
@endif
@if ($cartItem->isLicenseTypeRegular()) @if ($item->isOnDiscount()) {{ getAmount($item->getRegularPrice(), 2, '.', '', true) }} {{ getAmount($item->price->regular, 2, '.', '', true) }} @else {{ getAmount($item->getRegularPrice(), 2, '.', '', true) }} @endif @else @if ($item->isOnDiscount() && $item->isExtendedOnDiscount()) {{ getAmount($item->getExtendedPrice(), 2, '.', '', true) }} {{ getAmount($item->price->extended, 2, '.', '', true) }} @else {{ getAmount($item->getExtendedPrice(), 2, '.', '', true) }} @endif @endif
@endforeach
{{ $cartItems->links() }}

{{ translate('Your Cart Total') }}

{{ getAmount($cartTotal, 2) }}

@csrf
@else

{{ translate('Your Cart is Empty') }}

{{ translate('Your cart is currently empty. Start adding items to make your shopping experience complete!') }}

@include('themes.basic.partials.browse-items-button')
@endif @endsection