
<?php $__env->startSection('content'); ?>
<div class="page-content mb-10">
	<div class="shop-default-banner shop-boxed-banner banner d-flex align-items-center mb-6"
		style="background-image: url(web/images/banner/contact.jpg); background-color: #607d8b;background-size: cover;background-position: right;">
		<div class="container banner-content">
			<h3 class="banner-title text-white text font-weight-bolder ls-10">Shopping Cart</h3>
		</div>
	</div>


    <div class="container">
    	<div class="row">
            <?php if($count > 0): ?>
            <div class="col-lg-7">
            	<h4 style="margin-bottom: 0; padding: 5px; text-align: center; background: #15232c; color: white;">Product Info:</h4>
                <div style="width: 100%;overflow: auto;">
                	<table style="border: 1px solid #e1e1e1;">
                		<thead style="background: #e2e2e2;">
                			<tr>
                    			<th style="min-width: 80px;">Image</th>
                    			<th style="text-align: left;min-width: 150px;">Title</th>
                    			<th style="min-width: 80px;">Price</th>
                    			<th style="min-width: 50px;">Qty</th>
                    			<th style="min-width: 80px;">Total</th>
                    			<th style="min-width: 50px;padding-right: 10px;">Action</th>
                    		</tr>
                		</thead>
                		<tbody>
                			<?php $__currentLoopData = $cartpro; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cpro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                			<tr>
                				<td style="text-align: center;"><img style="height: 52px; width: auto;" src="<?php echo e(URL::to($cpro->image)); ?>"></td>
                				<td><?php echo e($cpro->title); ?></td>
                				<td style="text-align: center;"><span style="font-family: system-ui;">৳</span><?php echo e($cpro->price); ?></td>
                				<td style="text-align: center;"><?php echo e($cpro->qty); ?></td>
                				<td style="text-align: center;"><?php echo e($cpro->qty*$cpro->price); ?></td>
                				<td style="text-align: center;"><a href="<?php echo e(url('cdelete/'.$cpro->id)); ?>"><button type="button">x</button></a> </td>

                			</tr>
                			<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                		</tbody>
                	</table>
                </div>
            </div>

            <div class="col-lg-5">
            	
            	<h4 style="margin-bottom: 0; padding: 5px; text-align: center; background: #15232c; color: white;">Customer Info:</h4>
            	<div style="border: 1px solid #e1e1e1;padding: 10px;">
            		<form action="<?php echo e(url('confirmord')); ?>" method="post"><?php echo csrf_field(); ?>

            			<label style="font-weight: 600;">Your Name:</label>
            			<input style="min-height: 38px;margin-bottom: 10px;" type="text" class="form-control" name="name" placeholder="Name" required>

            			<label style="font-weight: 600;">Mobile:</label>
            			<input style="min-height: 38px;margin-bottom: 10px;" type="text" class="form-control" name="mobile" placeholder="Mobile" required>

            			<label style="font-weight: 600;">Address:</label>
            			<textarea style="padding: 10px;border: 1px solid #e1e1e1;min-height: 80px;" rows="3" name="address" placeholder="Address" required></textarea>
            		</form>
            	</div>
            	

            </div>
            <?php endif; ?>
    			
    		</div>
    	</div>
    </div>

</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('web.layout.mainx', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ebs/public_html/resources/views/web/cart.blade.php ENDPATH**/ ?>