@extends('layouts.app') @section('content')
| Product | Price | Quantity | Total | ||
|---|---|---|---|---|---|
| × |
|
{{$cart->product->name}}
{{--
|
@if(checkDiscountedPrice($cart->product, true))
|
{{$cart->quantity}}
{{-- |
{!! getPrice($cart->quantity * (checkDiscountedPrice($cart->product))) !!} | @php $total = $total + checkDiscountedPrice($cart->product) * $cart->quantity; @endphp
|
|
|||||
| Subtotal | {!! getPrice($total) !!} |
|---|---|
| Shipping | Free shipping |
| Total | {!! getPrice($total) !!} |