Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/job-board.corals.io/resources/themes/compo/partials/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/job-board.corals.io/resources/themes/compo/partials/product_grid_item.blade.php
<div class="card product-grid-box">
    <div class="card-body">
        <div class="head">
            <img src="{{ $product->image }}" alt="{{ $product->name }}" class="mx-auto img-fluid"
                 style="max-height: 150px;width: auto;">
            @if($product->discount)
                <div class="product-badge">{{ $product->discount }}% Off</div>
            @endif
        </div>
        <div class="body">
            <a class="product-title"
               href="{{ url('shop/'.$product->slug) }}">{{ \Str::limit($product->name , 45) }} </a>
            <p class="product-price">
                @if($product->discount)
                    <del>{{ \Payments::currency($product->regular_price) }}</del>
                @endif
                {!! $product->price !!}
            </p>
            <span class="product-rating">
                   @if(\Settings::get('ecommerce_rating_enable',true))
                    @include('partials.components.rating',['rating'=> $product->averageRating(1)[0],'rating_count'=>null])
                @endif
                </span>
            <div class="product-buttons">
                @if(\Settings::get('ecommerce_wishlist_enable', true))
                    @include('partials.components.wishlist',['wishlist'=> $product->inWishList() ])
                @endif
                @if(!$product->isSimple || $product->attributes()->count())
                    @if($product->external_url)
                        <a href="{{ $product->external_url }}" target="_blank" class="btn btn-outline-primary btn-sm"
                           title="Buy Product">
                            @lang('corals-compo::labels.partial.buy_product')
                        </a>
                    @else
                        <a href="{{ url('shop/'.$product->slug) }}" class="btn btn-primary btn-sm">
                            @lang('corals-compo::labels.partial.add_to_cart')
                        </a>
                    @endif
                @else
                    @php $sku = $product->activeSKU(true); @endphp
                    @if($sku->stock_status == "in_stock")
                        @if($product->external_url)
                            <a href="{{ $product->external_url }}" target="_blank"
                               class="btn btn-outline-primary btn-sm"
                               title="Buy Product">
                                @lang('corals-compo::labels.partial.buy_product')
                            </a>
                        @else
                            <a href="{{ url('cart/'.$product->hashed_id.'/add-to-cart/'. $sku->hashed_id) }}"
                               data-action="post" data-page_action="updateCart"
                               class="btn btn-primary btn-sm">@lang('corals-compo::labels.partial.add_to_cart')
                            </a>
                        @endif
                    @else
                        <a href="#" class="btn btn-sm btn-outline-danger" title="Out Of Stock">
                            <i class="fa fa-shopping-cart"></i>
                            @lang('corals-compo::labels.partial.out_stock')
                        </a>
                    @endif
                @endif
            </div>
        </div>
    </div>
</div>


Spamworldpro Mini