Al-HUWAITI Shell
Al-huwaiti


Server : nginx/1.18.0
System : Linux localhost 6.14.3-x86_64-linode168 #1 SMP PREEMPT_DYNAMIC Mon Apr 21 19:47:55 EDT 2025 x86_64
User : www-data ( 33)
PHP Version : 8.0.16
Disable Function : 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_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /var/www/ecommerce/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/ecommerce/storage/framework/views/a40894e53b166b377060bd385499d14d63194377.php
<!-- Single Weekly Product Card -->
<div class="col-12 col-md-6 mt-4">
    <div class="card horizontal-product-card">
        <div class="card-body d-flex align-items-center">
            <div class="product-thumbnail-side">
                <?php if($product->created_at->diffInDays() < 10): ?>
                    <!-- Badge--><span class="badge rounded-pill badge-success">New</span>
                <?php endif; ?>

                <?php if($product->discount): ?>
                    <!-- Badge--><span class="badge rounded-pill badge-danger">-<?php echo e($product->discount); ?>%</span>
                    
                <?php endif; ?>

                <?php if(auth()->check()): ?>
                    <?php if($inWishProducts->where('product_id', $product->id)->isEmpty()): ?>
                        <a title="Wishlist"
                            class="wishlist-btn"
                            href="<?php echo e(route('add-to-wishlist', $product->slug)); ?>"
                            data-id="<?php echo e($product->id); ?>"
                            title="Add to Wishlist"
                        >
                            <i class=" ti-heart "></i>
                        </a>
                    <?php else: ?>
                        <a href="#0" style="color: #3CC78F !important" type="button"
                            class="wishlist-btn"
                            data-id="<?php echo e($product->id); ?>"
                            title="Added to Wishlist"
                        >
                            <i class=" ti-heart "></i>
                        </a>
                    <?php endif; ?>
                <?php else: ?>
                    <!-- Wishlist Button-->
                    <a class="wishlist-btn"
                        href="<?php echo e(route('login.form', [
                            'redirect_uri' => route('add-to-wishlist', $product->slug),
                        ])); ?>"
                        data-id="<?php echo e($product->id); ?>"
                    >
                        <i class=" ti-heart "></i>
                        
                    </a>
                <?php endif; ?>

                <!-- Thumbnail --><a class="product-thumbnail d-block" href="<?php echo e(route('product-detail', $product->slug)); ?>">
                    <?php
                        $photo = explode(',', $product->photo);
                    ?>
                    <img class="mb-2"
                        src="<?php echo e(Helper::imagePath($photo[0])); ?>"
                        alt="<?php echo e($photo[0]); ?>"
                    />
                </a>
            </div>
            <div class="product-description">
                <!-- Product Title --><a class="product-title d-block" href="<?php echo e(route('product-detail', $product->slug)); ?>"><?php echo e($product->title); ?></a>

                <!-- Price -->
                <p class="sale-price">
                    <?php if($product->discount): ?>
                        <?php echo config('shop.currency_symbol'); ?> <?php echo e(number_format($product->discounted_price, 2)); ?>

                        <span><?php echo config('shop.currency_symbol'); ?> <?php echo e(number_format($product->price, 2)); ?></span>
                    <?php else: ?>
                        <?php echo config('shop.currency_symbol'); ?> <?php echo e(number_format($product->price, 2)); ?>

                    <?php endif; ?>
                </p>

                <!-- Rating -->
                <div class="product-rating"><i class="fa fa-star"></i><?php echo e(ceil($product->reviews->avg('rate'))); ?> (<?php echo e($product->reviews->count()); ?>)</div>
                <!-- Buy Now Button --><a class="btn btn-success btn-sm" href="<?php echo e(route('add-to-cart', $product->slug)); ?>"><i
                        class="me-1 ti-plus"></i> Buy Now</a>
            </div>
        </div>
    </div>
</div>
<?php /**PATH /var/www/ecommerce/resources/views/frontend/partials/list-product.blade.php ENDPATH**/ ?>

Al-HUWAITI Shell