@php $cart = Session::has('cart') ? Session::get('cart') : []; $total = 0; $option_price = 0; $cartTotal = 0; @endphp
| {{ __('Product Name') }} | {{ __('Product Price') }} | {{ __('Quantity') }} | {{ __('Subtotal') }} | {{ __('Clear Cart') }} |
|---|---|---|---|---|
{{ Str::limit($item['name'], 45) }}@foreach ($item['attribute']['option_name'] as $optionkey => $option_name) {{ $item['attribute']['names'][$optionkey] }}: {{ $option_name }} ({{ PriceHelper::setCurrencyPrice($item['attribute']['option_price'][$optionkey]) }}) @endforeach |
{{ PriceHelper::setCurrencyPrice($item['main_price']) }} |
@if ($item['item_type'] == 'normal')
|
{{ PriceHelper::setCurrencyPrice($item['main_price'] * $item['qty']) }} |