HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.shooperm.com/storage/framework/views/add385e320819976526899df6c3394b791555db3.php
<?php
    $current_url = url()->current();
?>
<?php if($current_url == url('/cart') || $current_url == url('/checkout')): ?>
<?php else: ?>
    <!-- side_chartView_total::start  -->
    <?php if($items > 0): ?>
        <div class="side_chartView_total d-flex align-items-center add_to_cart  gj-cursor-pointer ">
            <span class="remove_sidebar_cart gj-cursor-pointer d-inline-flex align-items-center justify-content-center" id="remove_cart_sidebar">
                <i class="ti-close"></i>
            </span>
            <div class="icon_lock">
                <img src="<?php echo e(url('/')); ?>/public/frontend/amazy/img/svg/lock_icon.svg" alt="">
            </div>
            <div class="cart_view_text">
                <span><?php echo e($items); ?> Items</span>
                <h5 class="lh-1"><?php echo e(single_price($carts->sum('total_price'))); ?></h5>
            </div>
        </div>
    <?php endif; ?>
    <!-- side_chartView_total::end  -->


    <!-- shoping_cart::start  -->
    <div class="shoping_wrapper <?php echo e($items < 1?'d-none':''); ?>">
        <!-- <div class="dark_overlay"></div> -->
        <div class="shoping_cart">
            <div class="shoping_cart_inner">
                <div class="cart_header d-flex justify-content-between">
                    <div class="cart_header_text">
                        <h4><?php echo e(__('amazy.Shoping Cart')); ?></h4>
                        <p><?php echo e($items); ?> <?php echo e(__('amazy.Item’s selected')); ?></p>
                    </div>
                    
                    <div class="chart_close">   
                        <i class="ti-close"></i>
                    </div>
                </div>
                <?php
                    $subtotal = 0;
                    $base_url = url('/');
                    $current_url = url()->current();
                    $just_path = trim(str_replace($base_url,'',$current_url));
                ?>
                <?php $__currentLoopData = $carts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $cart): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php
                        $subtotal += $cart->price * $cart->qty;
                    ?>
                    <?php if($cart->product_type == "gift_card"): ?>
                        <div class="single_cart">
                            <div class="thumb d-flex align-items-center gap_10 mr_15">
                                
                                <div class="thumb_inner">
                                    <img src="<?php echo e(showImage(@$cart->giftCard->thumbnail_image)); ?>" alt="">
                                </div>
                            </div>
                            <div class="cart_content flex-fill">
                                <a href="<?php echo e(route('frontend.gift-card.show',$cart->giftCard->sku)); ?>">
                                    <h5><?php echo e(textLimit(@$cart->giftCard->name, 20)); ?></h5>
                                </a>
                                <div class="cart_content_text d-flex align-items-center gap_10 flex-fill flex-wrap">
                                    <div class="product_number_count style_2" data-target="amountc-1">
                                        <span class="count_single_item inumber_decrement"> <i class="ti-minus"></i></span>
                                        <input id="amountc-1" class="count_single_item input-number" type="text" value="<?php echo e($cart->qty); ?>">
                                        <span class="count_single_item number_increment"> <i class="ti-plus"></i></span>
                                    </div>
                                    <p><span class="prise" ><?php echo e(single_price($cart->total_price)); ?></span> </p>
                                </div>
                                
                            </div>
                            <?php if($just_path != '/checkout'): ?>
                                <div class="cart_trash_icon d-flex align-items-center  justify-content-end cursor_pointer" id="submenu_cart_btn_<?php echo e($cart->id); ?>">
                                    <img class="remove_from_submenu_btn" data-id="<?php echo e($cart->id); ?>" data-product_id="<?php echo e($cart->product_id); ?>" data-btn="#submenu_cart_btn_<?php echo e($cart->id); ?>" src="<?php echo e(url('/')); ?>/public/frontend/amazy/img/svg/trash.svg" alt="">
                                </div>
                            <?php endif; ?>
                        </div>
                    <?php else: ?>
                        <div class="single_cart">
                            <div class="thumb d-flex align-items-center gap_10 mr_15">
                                
                                <div class="thumb_inner">
                                    <img src="
                                    <?php if(@$cart->product->product->product->product_type == 1): ?>
                                        <?php echo e(showImage(@$cart->product->product->product->thumbnail_image_source)); ?>

                                    <?php else: ?>
                                        <?php echo e(showImage(@$cart->product->sku->variant_image?@$cart->product->sku->variant_image:@$cart->product->product->product->thumbnail_image_source)); ?>

                                    <?php endif; ?>
                                    " alt="">
                                </div>
                            </div>
                            <div class="cart_content flex-fill">
                                <a href="<?php echo e(singleProductURL($cart->seller->slug, $cart->product->product->slug)); ?>">
                                    <h5><?php echo e(textLimit(@$cart->product->product->product_name, 20)); ?></h5>
                                </a>
                                <div class="cart_content_text d-flex align-items-center gap_10 flex-fill flex-wrap">
                                    <div class="product_number_count style_2" data-target="amountc-1">
                                        <button id="sidebar_cart_minus_<?php echo e($cart->id); ?>" type="button" class="count_single_item inumber_decrement cart_qty_sidebar" value="-" data-value="-" data-id="<?php echo e($cart->id); ?>" data-product-id="<?php echo e($cart->product_id); ?>" data-qty="#sidebar_cart_qty_<?php echo e($cart->id); ?>" data-qty-minus-btn-id="#sidebar_cart_plus_<?php echo e($cart->id); ?>" data-maximum-qty="<?php echo e(@$cart->product->product->product->max_order_qty); ?>" data-minimum-qty="<?php echo e(@$cart->product->product->product->minimum_order_qty); ?>" data-stock-manage="<?php echo e(@$cart->product->product->stock_manage); ?>" data-product-stock="<?php echo e(@$cart->product->product_stock); ?>"> <i class="ti-minus"></i></button>
                                        <input id="sidebar_cart_qty_<?php echo e($cart->id); ?>" class="count_single_item input-number" type="text" value="<?php echo e($cart->qty); ?>" readonly>
                                        <button id="sidebar_cart_plus_<?php echo e($cart->id); ?>" type="button" class="count_single_item number_increment cart_qty_sidebar" value="+" data-value="+" data-id="<?php echo e($cart->id); ?>" data-product-id="<?php echo e($cart->product_id); ?>" data-qty="#sidebar_cart_qty_<?php echo e($cart->id); ?>" data-qty-plus-btn-id="#sidebar_cart_plus_<?php echo e($cart->id); ?>" data-maximum-qty="<?php echo e(@$cart->product->product->product->max_order_qty); ?>" data-minimum-qty="<?php echo e(@$cart->product->product->product->minimum_order_qty); ?>" data-stock-manage="<?php echo e(@$cart->product->product->stock_manage); ?>" data-product-stock="<?php echo e(@$cart->product->product_stock); ?>"> <i class="ti-plus"></i></button>
                                    </div>
                                    <p><span class="prise" ><?php echo e(single_price($cart->total_price)); ?></span> </p>
                                </div>
                                
                            </div>
                            <?php if($just_path != '/checkout'): ?>
                                <div class="cart_trash_icon d-flex align-items-center  justify-content-end cursor_pointer" id="submenu_cart_btn_<?php echo e($cart->id); ?>">
                                    <img class="remove_from_submenu_btn" data-id="<?php echo e($cart->id); ?>" data-product_id="<?php echo e($cart->product_id); ?>" data-btn="#submenu_cart_btn_<?php echo e($cart->id); ?>" src="<?php echo e(url('/')); ?>/public/frontend/amazy/img/svg/trash.svg" alt="">
                                </div>
                            <?php endif; ?>
                        </div>
                    <?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <div class="shoping_cart_subtotal d-flex justify-content-between align-items-center">
                <h4 class="m-0"><?php echo e(__('common.subtotal')); ?></h4>
                <span><?php echo e(single_price($subtotal)); ?></span>
            </div>
            <div class="view_checkout_btn d-flex justify-content-end mb_30 flex-column gap_10">
                <a href="<?php echo e(url('/cart')); ?>" class="amaz_primary_btn style2 text-uppercase "><?php echo e(__('defaultTheme.view_shopping_cart')); ?></a>
                <a href="<?php echo e(url('/checkout')); ?>" class="amaz_primary_btn style2 text-uppercase "><?php echo e(__('defaultTheme.proceed_to_checkout')); ?></a>
            </div>
        </div>
    </div>
    <!-- shoping_cart::end  -->
<?php endif; ?><?php /**PATH /www/wwwroot/www.shooperm.com/resources/views/frontend/amazy/partials/_cart_details_submenu.blade.php ENDPATH**/ ?>