<table class="table mb-0">
    <tbody>
    <tr>
        <th>Product</th>
        <th>Quantity</th>
        <th>Product Price</th>
        <th> Tax</th>
        <th>Total</th>

        <th></th>
    </tr>
    <?php $__currentLoopData = $carts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cart): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr class="cart_row">
            <td>
                <div class="prod_data d-flex">
                    <a >
                        <img src="<?php echo e(asset($cart->product->image)); ?>" alt="" class="prod_img"/>
                    </a>
                    <div class="txt pt-2">
                        <h6 class="name fw-bold"><?php echo e($cart->product->code); ?></h6>
                        <p class="categ mb-0"><?php echo e($cart->product->category->descriptions()->name); ?> <?php if($cart->choice_id): ?> - <?php echo e($cart->choice->attribute->choiceAttr->choice->currentLangauge->name); ?> - <?php echo e($cart->choice->choice->currentLangauge->name); ?> <?php endif; ?></p>
                    </div>
                </div>
            </td>

            <td>
                <div class="quantity-container">
                    <div class="add-more">
                        <span class="qt-minus" data-id="<?php echo e($cart->id); ?>"><i class="fas fa-minus"></i></span>
                        <span id="cart<?php echo e($cart->id); ?>" class="qt"><?php echo e($cart->count); ?></span>
                        <span class="qt-plus" data-id="<?php echo e($cart->id); ?>"><i class="fas fa-plus"></i></span>
                    </div>
                </div>
            </td>
            <td>
                <h4 class="price mb-0"><b class="color-primary" id="product_cost<?php echo e($cart->id); ?>"><?php echo e($cart->product->cost * $cart->count); ?></b> <small class="fs-6"><?php echo e($currency->abbr); ?></small></h4>
            </td>
            <?php if($tax['valid']): ?>
                <td>
                    <h4 class="price mb-0"><b class="color-primary" id="tax_value<?php echo e($cart->id); ?>"><?php echo e($tax['value'] * $cart->count); ?></b> <small class="fs-6"><?php echo e($currency->abbr); ?></small></h4>
                </td>
            <?php endif; ?>
            <td>
                <h4 class="price mb-0" id="product_cost_total<?php echo e($cart->id); ?>">
                    <b class="color-primary" id="product_total<?php echo e($cart->id); ?>"><?php echo e(($cart->product->cost + ($tax['valid'] ? $tax['value'] : 0) ) * $cart->count); ?> </b>
                    <small class="fs-6"><?php echo e($currency->abbr); ?></small>
                </h4>
            </td>
            <td>
                <a style="cursor: pointer" onclick="deleteCart(this)" data-id="<?php echo e($cart->id); ?>" class="butn sm_butn white_butn fs-5"><i class="fal fa-trash-alt mx-0"></i></a>
            </td>
        </tr>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
</table>
<?php /**PATH /Applications/MAMP/htdocs/city/resources/views/web/pages/components/cart/cart.blade.php ENDPATH**/ ?>