@if (isset($cart_data))
@foreach ($cart_data as $data)
{{ $data['item_name'] ?: '' }}
Commissions available. Will not be exactly the same. All original
work..
@php
if ($data['item_quantity']) {
$total = $total + $data['item_quantity'] * $data['item_price'];
} else {
$total = $total + $data['item_price'];
}
@endphp
@if ($data['item_quantity'])
$ {{ number_format($data['item_quantity'] * $data['item_price'], 0) }}
@else
$ {{ number_format($data['item_price']), 0 }}
@endif
@endforeach
@endif
@if (isset($printifyCart))
@foreach ($printifyCart as $printify)
{{ $printify['product_name'] ?: '' }}
Commissions available. Will not be exactly the same. All original
work..
@php
if ($printify['quantity']) {
$total = $total + $printify['quantity'] * $printify['price'];
} else {
$total = $total + $printify['price'];
}
@endphp
@if ($printify['quantity'])
$ {{ number_format($printify['quantity'] * $printify['price'], 0) }}
@else
$ {{ number_format($printify['price']), 0 }}
@endif
@endforeach
@endif
@if (isset($printFullcart))
@foreach ($printFullcart as $printful)
{{ $printful['product_name'] ?: '' }}
Commissions available. Will not be exactly the same. All original
work..
@php
if ($printful['quantity']) {
$total = $total + $printful['quantity'] * $printful['price'];
} else {
$total = $total + $printful['price'];
}
@endphp
@if ($printful['quantity'])
$ {{ number_format($printful['quantity'] * $printful['price'], 0) }}
@else
$ {{ number_format($printful['price']), 0 }}
@endif
@endforeach
@endif
Subtotal Shipping
$ {{ number_format($total) ?? '00' }}
Calculated at next step
-
Total
-
$ {{ number_format($total) ?: '' }}