관리-도구
편집 파일: 13595c86bb1da0de503298373760f758.php
<?php ($overallRating = getOverallRating($product?->reviews)); ?> <div class="product-single-hover style--card luxury-product-card"> <div class="overflow-hidden position-relative"> <div class=" inline_product clickable d-flex justify-content-center"> <?php if(getProductPriceByType(product: $product, type: 'discount', result: 'value') > 0): ?> <div class="d-flex"> <span class="for-discount-value p-1 pl-2 pr-2 font-bold fs-13"> <span class="direction-ltr d-block"> -<?php echo e(getProductPriceByType(product: $product, type: 'discount', result: 'string')); ?> </span> </span> </div> <?php else: ?> <div class="d-flex justify-content-end"> <span class="for-discount-value-null"></span> </div> <?php endif; ?> <div class="d-flex pb-0"> <a href="<?php echo e(route('product',$product->slug)); ?>" class="w-100 rounded"> <img alt="" src="<?php echo e(getStorageImages(path: $product->thumbnail_full_url, type: 'product')); ?>"> </a> </div> <?php if($product->product_type == 'physical' && $product->current_stock <= 0): ?> <span class="out_fo_stock"><?php echo e(translate('out_of_stock')); ?></span> <?php endif; ?> </div> <div class="single-product-details"> <?php if($overallRating[0] != 0 ): ?> <div class="rating-show justify-content-between text-center"> <span class="d-inline-block font-size-sm text-body"> <?php for($inc=1;$inc<=5;$inc++): ?> <?php if($inc <= (int)$overallRating[0]): ?> <i class="tio-star text-warning"></i> <?php elseif($overallRating[0] != 0 && $inc <= (int)$overallRating[0] + 1.1 && $overallRating[0] > ((int)$overallRating[0])): ?> <i class="tio-star-half text-warning"></i> <?php else: ?> <i class="tio-star-outlined text-warning"></i> <?php endif; ?> <?php endfor; ?> <label class="badge-style">( <?php echo e(count($product->reviews)); ?> )</label> </span> </div> <?php endif; ?> <h3 class="text-center mb-1 letter-spacing-0"> <a href="<?php echo e(route('product',$product->slug)); ?>"> <?php echo e($product['name']); ?> </a> </h3> <div class="justify-content-between text-center"> <h4 class="product-price text-center d-flex flex-wrap justify-content-center align-items-center gap-8 mb-0 letter-spacing-0"> <?php if($product->discount > 0): ?> <del class="category-single-product-price fs-14 font-weight-normal"> <?php echo e(webCurrencyConverter(amount: $product->unit_price)); ?> </del> <?php endif; ?> <span class="text-accent text-dark fs-15"> <?php echo e(webCurrencyConverter(amount: $product->unit_price-(getProductDiscount(product: $product, price: $product->unit_price)) )); ?> </span> </h4> </div> </div> </div> </div> <?php /**PATH /home2/slnssare/public_html/resources/themes/default/web-views/partials/_inline-single-product-without-eye.blade.php ENDPATH**/ ?>