@if ($loading) @if ($productsCheckout && count($productsCheckout) > 0)
@php $totalPrice = 0; @endphp @if (count(session()->get('my_cart')) > 0) @foreach (getCartPrices($payment_method, $promo_code) as $products) @foreach ($products as $product) @php $slug = '#'; $totalPrice += $product['prices']['price_with_tax']; $title = langContent('title'); $itemStatamic = Statamic\Facades\Entry::query() ->where($title, $product['title']) ->first(); if ($itemStatamic) { if ($itemStatamic->blueprint == 'product') { $slug = URL::to('/product/' . $itemStatamic->slug); } else { $slug = URL::to('/offer/' . $itemStatamic->slug); } } @endphp @endforeach @endforeach @endif
{{ __('messages.I agree') }}
({{ __('messages.Please agree to the terms and conditions before paying') }})
@if (auth('customers')->user()) @else @endif

{{ __('messages.Discount coupon') }}

@if (session()->get('promo')) @php $promoSession = session()->get('promo') ; @endphp @if ($promoSession['status'] == 'success') @elseif ($promoSession['status'] == 'error') @endif @endif

{{ __('messages.Quantity') }}

{{ count($productsCheckout) }}

{{ __('messages.Discount coupon') }}


{{ __('messages.Total') }}

{{ $totalPrice }} {{ __("messages.$currency") }}

{{ __('messages.Credit card payment through') }}

{{ __('messages.Payment by installments through') }}

{{ __('messages.Payment by installments through') }}

@if ($tamara_message)
{{ $tamara_message }} {{ __('messages.click here') }}
@endif
@else

{{ __('messages.Your shopping cart is empty') }}

@endif @else {{-- Loading --}}
@for ($i = 0; $i < 3; $i++) @endfor
@endif @livewire('model-terms-component')