HEX
Server: LiteSpeed
System: Linux sv4.hami.host 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: armgroup (1008)
PHP: 8.2.32
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, mail, socket_create, socket_create_listen, socket_create_pair, link, dl, openlog, syslog, stream_socket_server, curl_multi_init
Upload Files
File: /home/armgroup/libs/storage/framework/views/9d3e2710c818b07fce98c3e3e91ad653f503a179.php
<div class="cart">
    <i class="fa-solid fa-basket-shopping"></i>
    <span class="cart-badge"><?php echo e(\Gloudemans\Shoppingcart\Facades\Cart::count()); ?></span>
    <div class="cart-dropdown">
        <div class="cart-header">
            <h4>
                <a href="<?php echo e(route('cart.index')); ?>">
                    <i class="fas fa-shopping-cart"></i>
                        سبد خرید شما
                </a> 
            </h4>
            <p class="cart-count"><?php echo e(\Gloudemans\Shoppingcart\Facades\Cart::count()); ?> محصول در سبد خرید</p>
        </div>
        <div class="cart-items">
            <?php $__currentLoopData = $carts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cart): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php $product = $products->find($cart->id); ?>
                <div class="cart-item">
                    <div class="cart-item-image">
                        <img src="<?php echo e(asset($product->image)); ?>" alt="<?php echo e($product->name); ?>">
                    </div>
                    <div class="cart-item-details">
                        <div class="cart-item-name">
                            <?php echo e($product->name); ?>

                            <?php if(count($cart->options)): ?>
                                <span class="text-secondary">(<?php echo e($cart->options['name']); ?>)</span>
                            <?php endif; ?>
                        </div>
                        <div class="cart-item-info">
                            <span class="cart-item-quantity">تعداد: <?php echo e($cart->qty); ?></span>
                            <?php if($cart->name != 'none'): ?>
                                <del class="text-danger"><?php echo e(number_format($cart->name * $cart->qty)); ?></del>
                            <?php endif; ?>
                            <?php echo e(number_format($cart->price * $cart->qty)); ?> <span class="currency"> ت</span>

                            <!-- <span class="cart-item-price">5,600,000 تومان</span> -->
                        </div>
                    </div>
                    <button class="cart-item-remove" wire:click.prevent="remove('<?php echo e($cart->rowId); ?>')" type="button">
                        <i class="fas fa-times"></i>
                    </button>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
        <div class="cart-footer">
            <div class="cart-total">
                <span>مجموع:</span>
                <span><?php echo e(\Gloudemans\Shoppingcart\Facades\Cart::subtotal(0)); ?> تومان</span>
            </div>
            <div class="cart-buttons">
                <a href="<?php echo e(route('cart.index')); ?>" class="cart-btn view-cart">
                    <i class="fas fa-shopping-cart"></i>
                    مشاهده سبد
                </a>
                <a href="<?php echo e(route('cart.index')); ?>" class="cart-btn checkout">
                    <i class="fas fa-credit-card"></i>
                    تسویه حساب
                </a>
            </div>
        </div>
    </div>
</div><?php /**PATH C:\xampp\armshop\resources\views/livewire/frontend/header/desktop-shopping-cart.blade.php ENDPATH**/ ?>