|
{{ $cart->product['name'] }}
@if (isset($cart->options) && count($cart->options) > 0)
@foreach ($cart->options as $cartItem)
{!! $cartItem->input_label !!}:
@if ($cartItem->input_type === 'file' && $cartItem->input_value)
@php
$decoded = json_decode($cartItem->input_value, true);
$fileUrls = is_array($decoded) ? $decoded : explode(',', $cartItem->input_value);
@endphp
@foreach ($fileUrls as $index => $fileUrl)
View File {{ $index + 1 }}
@if (!$loop->last) | @endif
@endforeach
@else
{{ $cartItem->selected_label }}
@endif
@endforeach
@endif
{!! $cart['summary'] !!}
@if (checkCustomerLogged())
shipping_address_id == null ? '' : 'checked' }}>
@else
@endif
|
@php
$originalUnitPrice = $cart['real_price'];
$discountedUnitPrice =
collect(
session('applied_coupon')['discounted_products'] ?? [],
)->firstWhere('id', encrypt_decrypt('encrypt', $cart->id))[
'new_unit_price'
] ?? $originalUnitPrice;
@endphp
{{-- @if ($cart['real_price'] == $cart['price'])
@if ($originalUnitPrice != $discountedUnitPrice)
${{ number_format($originalUnitPrice) }}
${{ number_format($discountedUnitPrice) }}
@endif
@endif --}}
@if ($cart['real_price'] != $cart['price'])
${{ number_format($cart['real_price'],2) }}
${{ number_format($cart['price'],2) }}
@else
${{ number_format($originalUnitPrice,2) }}
@endif
|
|
${{ number_format($cart['amount'],2) }} |
|
@if ($cart->get_free_quantity > 0)