<?php if(count($carts)): ?>
    <table class="table">
        <thead>
        <tr>
            <th><?php echo e(__('web.product_image')); ?></th>
            <th><?php echo e(__('web.product_name')); ?></th>
            <th><?php echo e(__('web.quantity')); ?></th>
            <th><?php echo e(__('web.total')); ?></th>
            <th></th>
        </tr>
        </thead>
        <tbody>
        <?php $__currentLoopData = $carts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr class="cart_card_row">

                <td>
                    <img src="<?php echo e(asset($row['product_image'])); ?>" class="prodImg" alt=""/>
                </td>
                <td>
                    <h4 class="name fs-6 mb-1">   <?php echo e($row['product_name']); ?>   </h4>
                    <span class="codeProd fs-6"><?php echo e($row['product_code']); ?></span>
                </td>
                <td>
                    <div class="qty-container">
                        <button style="background-color: transparent;
                                        padding: 10px 13px;
                                        font-size: 12px;
                                        height: 38px;
                                        width: 45px;
                                        transition: 0.3s;
                                        color: #777;
                                        margin-right: -1px;
                                        box-shadow: none !important;" class="btn-light" onclick="qtyDecrease(this)" action-id="<?php echo e(route('cart.update',$row['id'])); ?>" data-id="<?php echo e($row['id']); ?>" type="button"><i class="fa fa-minus"></i></button>
                        <input type="text" id="qty<?php echo e($row['id']); ?>" name="qty" value="<?php echo e($row['count']); ?>" class="input-qty"/>
                        <button style="background-color: transparent;
                                        padding: 10px 13px;
                                        font-size: 12px;
                                        height: 38px;
                                        width: 45px;
                                        transition: 0.3s;
                                        color: #777;
                                        margin-left: -1px;
                                        box-shadow: none !important;" class="btn-light" onclick="qtyIncrease(this)" action-id="<?php echo e(route('cart.update',$row['id'])); ?>" data-id="<?php echo e($row['id']); ?>" type="button"><i class="fa fa-plus"></i></button>
                    </div>
                </td>
                <td><b><?php echo e($row['product_cost']); ?> <?php echo e(__('web.sar')); ?></b></td>
                <td>
                    <button type="button" class="delete_butn butn sm_butn rounded-circle gray_butn mx-auto"  onclick="deleteCartItem(this)" action-id="<?php echo e(route('cart.destroy',$row['id'])); ?>">
                        <i class="fa-regular fa-x mx-0"></i>
                    </button>
                </td>
            </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
    </table>

    <script src="<?php echo e(url('')); ?>/assets/web/js/custom/product.js"></script>

<?php else: ?>
    <?php echo $__env->make('web.pages.components.not_found',['message'=>__('web.not_found_product_cart')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
<?php /**PATH /Applications/MAMP/htdocs/flower/resources/views/web/pages/cart/products.blade.php ENDPATH**/ ?>