<tr x-data="{ show: true }" x-show="show">
    <td class="product-thumbnail">
        <a href="<?php echo e(route('product.show', $cartItem->model->slug)); ?>">
            <img src="<?php echo e($cartItem->model->image); ?>" alt="<?php echo e($cartItem->model->name); ?>" width="70"/>
        </a>
    </td>
    <td class="product-name">
        <a href="#"><?php echo e($cartItem->model->name); ?></a>
    </td>
    <td class="product-price-cart">
        <span class="amount" style="font-size: 14px;"><?php echo e(format_amount($cartItem->model->price,true)); ?></span>
    </td>
    <td class="product-quantity" style="font-size: 14px;">
        <div class="d-flex align-items-center justify-content-between">
            <span class="text-uppercase text-gray headings-font-family"></span>
            <a wire:click.prevent="decreaseQuantity('<?php echo e($cartItem->rowId); ?>')" style="cursor: pointer;">
                <i class="fas fa-caret-left"></i>
            </a>

            <input wire:input="increaseQuantity('<?php echo e($cartItem->rowId); ?>', '<?php echo e($cartItem->id); ?>',$event.target.value)"
                   class=" text-center"
                   type="number"
                   min="1"
                   value="<?php echo e($itemQuantity); ?>">
            <a wire:click.prevent="increaseQuantity('<?php echo e($cartItem->rowId); ?>', '<?php echo e($cartItem->id); ?>')" style="cursor: pointer;">
                <i class="fas fa-caret-right"></i>
            </a>
        </div>
    </td>
    <td>
        <p class="mb-0"><?php echo e(format_amount($cartItem->model->price  * ($cartItem->qty),true)); ?></p>
    </td>
    <td>
        <a wire:click.prevent="removeFromCart('<?php echo e($cartItem->rowId); ?>')"
           x-on:click="show = false"
           style="cursor: pointer;">
            <i class="fas fa-trash-alt text-muted"></i>
        </a>
    </td>
</tr>




<?php /**PATH /home2/lekruu/public_html/resources/views/livewire/frontend/cart/cart-item-component.blade.php ENDPATH**/ ?>