/home/brandsfa/www/storage/framework/views/6f4546ef525c2176e39f1926ad3ea8be.php
<?php ($overallRating = getOverallRating($product->reviews)); ?>


<div class="product-single-hover rtl">
    <div class=" box-product-outer">
        <div class="box-product">
            <div class="img-wrapper" style="height: 222px;">
                <a href="<?php echo e(route('product',$product->slug)); ?>">
                    <img alt="<?php echo e(Str::limit($product['name'], 23)); ?>" src="<?php echo e(getValidImage(path: 'storage/app/public/product/thumbnail/'.$product['thumbnail'], type: 'product')); ?>">
                </a>
                
            <?php if($product->discount > 0): ?>
                <div class="tags">
                    <?php if($product->discount_type == 'percent'): ?>
                        <span class="label-tags"><span class="label label-danger">-<?php echo e(round($product->discount,(!empty($decimal_point_settings) ? $decimal_point_settings: 0))); ?>%</span></span>
                    <?php elseif($product->discount_type =='flat'): ?>
                        <span class="label-tags"><span class="label label-danger">-<?php echo e(webCurrencyConverter(amount: $product->discount)); ?></span></span>
                    <?php endif; ?>
                </div>
            <?php endif; ?>

            </div>
            <div class="rating px-2">
                <?php if($overallRating[0] != 0 ): ?>
                        <?php for($inc=1;$inc<=5;$inc++): ?>
                            <?php if($inc <= (int)$overallRating[0]): ?>
                                <i class="ace-icon fa fa-star"></i>
                            <?php elseif($overallRating[0] != 0 && $inc <= (int)$overallRating[0] + 1.1 && $overallRating[0] > ((int)$overallRating[0])): ?>
                                <i class="ace-icon fa fa-star-half-o"></i>
                            <?php else: ?>
                                <i class="ace-icon fa fa-star-o"></i>
                            <?php endif; ?>
                        <?php endfor; ?>
                        
                        <a href="#">(<?php echo e(count($product->reviews)); ?>)</a>
                <?php endif; ?>
            </div>
            <h6 class="h_45 px-2"><a href="<?php echo e(route('product',$product->slug)); ?>"><?php echo e(Str::limit($product['name'], 23)); ?></a></h6>
            <div class="price px-2">
                <div> 
                    <?php if($product->discount > 0): ?>
                        <span class="price-old"><?php echo e(webCurrencyConverter(amount: $product->unit_price)); ?></span>  
                    <?php endif; ?>
                    
                     <?php echo e(webCurrencyConverter(amount:
                            $product->unit_price-(getProductDiscount(product: $product, price: $product->unit_price))
                    )); ?> 
                </div>
                
            </div>
            <div class="p-md-2 p-2 text-left">
        		<a href="<?php echo e(route('product', $product->slug)); ?>" class="addbtn mr-2 p-1 add-to-cart fw-600 w-100 text-center rounded" tabindex="0">
        			<span class="d-block"> Buy Now</span>
        		</a>
        	</div>
            
        </div>
    </div>
</div>
<?php /**PATH /home/amkworld/public_html/resources/themes/default/web-views/partials/_feature-product.blade.php ENDPATH**/ ?>