@if(count($package_cart)>0 || count($product_cart)>0)
@if(count($product_cart)>0) @if($product_cart) @foreach ($product_cart as $key=>$data) @if($data['child']) @endif @if(get_related_products($data['item_id'])) @endif @endforeach
Product Quantity
cart-product

{{$data['item_name'] }}

@if($data['attribute']) @foreach($data['attribute'] as $att_k => $att_v) {{$att_k}}: {{get_attribute_name($att_v)}} @endforeach @endif
@foreach($data['child'] as $key2 => $child_val) @endforeach

{{$child_val['item_name']}}

@if($child_val['attribute']) @foreach($child_val['attribute'] as $att_k => $att_v) {{$att_k}}: {{get_attribute_name($att_v)}} @endforeach @endif

Related Products

@foreach(get_related_products($data['item_id']) as $id => $rel_pro)
product-img product-img @if ($rel_pro['attributes']) @endif
{{$rel_pro['product_name']}}
@endforeach
@endif @endif @if(count($package_cart)>0) @foreach ($package_cart as $key=>$val) @endforeach
Package Quantity
@foreach ($val['products'] as $key1=>$prdata) @endforeach
@endif @if(count($package_cart)>0 || count($product_cart)>0) @endif
@endif @if(empty($package_cart) && empty($product_cart))

Your cart is currently empty.

Continue Shopping
@endif