| PRODUCT | PRICE | QUANTITY | TOTAL | ||
|---|---|---|---|---|---|
| × |
@if (count($attrs) > 0)
|
@php
$attrs = [];
@endphp
@foreach ($item['variation']->variation_attributes as $attr)
@php
$attrName = $attr->attribute->attribute->name ?? '';
$attrValue = $attr->attribute->name ?? '';
$attrs[] = $attrName . ': ' . $attrValue;
@endphp
@endforeach
{{ $item['product']->product_name }} @if (count($attrs) > 0) ({{ implode(', ', $attrs) }}) @endif | ₹{{ number_format($price, 0, '.', ',') }} | {{-- @dd($item['product']) --}}
@if ($item['quantity'] + 1 > $item['variation']->stock)
@else
@endif
|
₹{{ number_format((int) $price * (int) $item['quantity'], 0, '.', ',') }} |
| SUBTOTAL | ₹{{ $totalPriceProduct }} |
|---|---|
| COUPON |
|
| SHIPPING |
|
| TOTAL |
@if (count($cart_items) != 0) ₹{{ $subTotal }} @else ₹0 @endif |