@if ($cartView)
{{-- UPDATE CART --}}
@endif
@if ($addressView)
{{-- @dd($addressView) --}}
@endif
| Product | Price | Quantity | Total | |
|---|---|---|---|---|
{{ $item['product']->product_name }}@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@if (count($attrs) > 0) ({{ implode(', ', $attrs) }}) @endif |
₹{{ number_format($price, 2, '.', ',') }} |
{{--
{{-- @dd($item) --}}
|
{{-- @dd($price) --}}
{{-- @dd($item['quantity'], $item) --}}
₹{{ number_format((int) $price * (int) $item['quantity'], 2, '.', ',') }} |