<tr x-data="{ show: true }" x-show="show">
    <td class="product-thumbnail">
        <?php if($wishlistItem->model->firstMedia): ?>
            <a href="<?php echo e(route('product.show', $wishlistItem->model->slug)); ?>">
                <img src="<?php echo e(asset('storage/images/products/' . $wishlistItem->model->firstMedia->file_name)); ?>"
                     alt="<?php echo e($wishlistItem->model->name); ?>" width="70">
            </a>
        <?php else: ?>
            <img src="<?php echo e(asset('img/no-img.png')); ?>" alt="<?php echo e($wishlistItem->model->name); ?>" width="70"/>
        <?php endif; ?>
    </td>
    <td class="product-name"><a href="<?php echo e(route('product.show', $wishlistItem->model->slug)); ?>"><?php echo e($wishlistItem->model->name); ?></a></td>
    <td class="product-name">
        <a wire:click="moveToCart('<?php echo e($wishlistItem->rowId); ?>')"
           x-on:click="show = false"
           style="cursor: pointer;" class="text-success">
            <?php echo e(__("Move to cart")); ?>

        </a>
    </td>
    <td class="product-price-cart">
        <span class="amount">$<?php echo e(format_amount($wishlistItem->model->price,true)); ?></span>
    </td>
    <td>
        <a wire:click.prevent="removeFromWishlist('<?php echo e($wishlistItem->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/wishlist/wishlist-item-component.blade.php ENDPATH**/ ?>