@if (session()->has('message'))
Success:Your shopping card has been updated.
@endif {!! Form::open(array('url' => '/shopping-cart/update', 'method' => 'post', 'id' => 'pageform', 'class' => 'row-fluid bill-info')) !!} @if ($cart->isEmpty() || ($cart_count == 0)) @else @foreach($cart as $carts) @if(empty($carts->product_price)) $carts->product_price = 0; @endif @if(empty($carts->total)) $carts->total = 0; @endif @endforeach @endif
Product Price Quantity Total
Your Shopping Cart is Empty
@if($carts->fldTempCartFrameInfo != "") {!! Html::image('https://pod.cloud.graphikservices.com/renderEMF/render?imgUrl='.url(PRODUCT_IMAGE_PATH.$carts->fldProductSlug.'/'.SMALL_IMAGE.$carts->image).'&imgHI='.$image_height.'&imgWI='.$image_width.'&maxW=200&maxH=200&m1b=1&off=0.375&sku='.$carts->fldTempCartFrameInfo.'&frameW='.$carts->fldTempCartMatBorderSize) !!} @else {!! Html::image(PRODUCT_IMAGE_PATH.$carts->fldProductSlug.'/'.SMALL_IMAGE.$carts->image) !!} @endif

{{ $carts->product_name }}

Frame: {{$carts->fldTempCartFrameDesc}}
Border Size: {{$carts->fldTempCartImageSize}}
${{ number_format($carts->product_price,2) }}
{!! Form::hidden('cartId[]',$carts->temp_cart_id) !!}
${{ number_format($carts->total,2) }}
{!! Form::text('coupon','',array('id'=>'coupon','placeholder'=>'Enter Code','class'=>'text text-small')) !!} {!! Form::submit('UPDATE CART',array('class'=>'uk-button uk-button-grey uk-button-primary','name'=>'update'))!!}
@if ((!$cart->isEmpty()) || ($cart_count > 0))

Cart Total

SUBTOTAL
$ {{ number_format($cart[0]->subtotal,2) }}
Discount
$ 0.00
TOTAL
$ {{ number_format($cart[0]->subtotal,2) }}
{!! Form::hidden('total',$cart[0]->subtotal) !!} {!! Form::submit('Proceed to Checkout',array('class'=>'uk-button uk-button-grey uk-button-small uk-button-primary full-width text-uppercase','name'=>'checkout'))!!}
@endif {!! Form::close() !!}