@extends('front.layout.app') @section('title', 'Cart') @section('content') @if(!empty($page->pageComponents)) @forelse($page->pageComponents as $key => $section) @if($key == 0)
@elseif(!empty($section->pageComponentMedia[0]) && $section->pageComponentMedia[0]->file_type == 'video')
@endif
| Collection Name | Product(s) | QTY | Actual Amount | Discount(%) | Total Amount | Remove Collection |
|---|---|---|---|---|---|---|
|
{{ $item->name }}
|
@php $attributes = array_keys($item->options->products); @endphp
{{ str_replace(['"', '[', ']', '-'], ' ', json_encode($attributes, JSON_PRETTY_PRINT)) }}
|
{{ $item->qty }}
|
${{ $item->options->actual_amount }}
|
{{ $item->options->discount }}
|
${{ $item->price }}
|
| Product Name | Price | QTY | Total |
|---|---|---|---|
{{ $item->model->product_name }}Hybrid Dominant |
${{ (isset($item->price) && $item->price > 0) ? $item->price : $item->model->current_price }} |
|
{{$item->total()}} |
Subtotal ({{ Cart::count() }} items)
${{Cart::total()}}Shipping Fee$0.00
Total$0.00
Proceed to Pay