
@if(isset($view))
@foreach($view as $viewdata)


<div class="col-md-12 pt-2 pb-2 border-bottom">
	<div class="row">
		<div class="col-md-3 col-3">
			<a href=""><img src="{{asset('public/productImage')}}/{{$viewdata->image}}" class="img-fluid"></a>
		</div>

		<div class="col-md-9 col-9">
			<strong class="text-dark">{{ substr($viewdata->product_name, 0, 30) }}... <span>{{ $viewdata->size ?? '' }} - {{ $viewdata->color ?? '' }}</span> </strong>
			<a onclick="delete_product('{{$viewdata->id}}')"><i class="fa fa-trash-o text-dark float-end" uk-tooltip="title: Remove; pos:bottom"></i></a><br>

			<span>৳ {{$viewdata->current_price}} X {{$viewdata->quantity}}</span><br>
		{{-- 	<form id='myform' method='POST' action='' class="mt-2">
				<input type='button' value='-' class='qtyminus' field='quantity' />
				<input type='text' name='quantity' min="1" value='{{$viewdata->quantity}}' class='qty' />
				<input type='button' value='+' class='qtyplus' onclick="AddCart('{{ $viewdata->id }}')" field='quantity' />
			</form> --}}
		</div>
	</div>
</div>

@endforeach
@endif
