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/928626a3ca56134f64ba0c4c5055888a3120ccad.php
<div class="cart">
    <!--<i class="fa-solid fa-basket-shopping"></i>-->
    <svg xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" class="e-font-icon-svg e-fas-shopping-basket" viewBox="0 0 576 512" xmlns="http://www.w3.org/2000/svg" width="576" height="512"><path d="M576 216v16c0 13.255-10.745 24-24 24h-8l-26.113 182.788C514.509 462.435 494.257 480 470.37 480H105.63c-23.887 0-44.139-17.565-47.518-41.212L32 256h-8c-13.255 0-24-10.745-24-24v-16c0-13.255 10.745-24 24-24h67.341l106.78-146.821c10.395-14.292 30.407-17.453 44.701-7.058 14.293 10.395 17.453 30.408 7.058 44.701L170.477 192h235.046L326.12 82.821c-10.395-14.292-7.234-34.306 7.059-44.701 14.291-10.395 34.306-7.235 44.701 7.058L484.659 192H552c13.255 0 24 10.745 24 24zM312 392V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24zm112 0V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24zm-224 0V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24z" fill="#FFFFFF"></path></svg>
    
    <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 /home/armgroup/libs/resources/views/livewire/frontend/header/desktop-shopping-cart.blade.php ENDPATH**/ ?>