D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
drhagerpharmacy.com
/
storage
/
framework
/
views
/
Filename :
a0722fe9fa848c32fa7cffc43eb6d87e.php
back
Copy
<?php if(isset($product)): ?> <?php ($overallRating = getOverallRating($product?->reviews)); ?> <div class="product-single-hover style--category shadow-none rounded"> <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="d-block rounded"> <img alt="" class="border border-black-50" src="<?php echo e(getStorageImages(path: $product->thumbnail_full_url, type: 'product')); ?>"> </a> </div> <div class="quick-view"> <div class="d-none d-md-flex gap-2 align-items-center quick-view-tag"> <?php if($product->product_type == 'digital'): ?> <div class="bg-white btn-circle" style="--size: 26px" data-toggle="tooltip" title="<?php echo e(translate('Digital_Product')); ?>" data-placement="left"> <img class="h-16px aspect-1 svg" src="<?php echo e(theme_asset(path: "public/assets/front-end/img/icons/digital-product.svg")); ?>" alt=""> </div> <?php else: ?> <div class="bg-white btn-circle" style="--size: 26px" data-toggle="tooltip" title="<?php echo e(translate('Physical_Product')); ?>" data-placement="left"> <img class="h-16px aspect-1 svg" src="<?php echo e(theme_asset(path: "public/assets/front-end/img/icons/physical-product.svg")); ?>" alt=""> </div> <?php endif; ?> </div> <a class="btn-circle stopPropagation action-product-quick-view" href="javascript:" data-product-id="<?php echo e($product->id); ?>"> <i class="czi-eye align-middle"></i> </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 echo e(Session::get('direction') === "rtl" ? 'rtl' : ''); ?>"> <?php if($overallRating[0] != 0 ): ?> <div class="rating-show justify-content-between mb-2"> <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="mb-2 letter-spacing-0"> <a href="<?php echo e(route('product',$product->slug)); ?>" class="text-capitalize fw-semibold"> <?php echo e($product['name']); ?> </a> </h3> <div class="mb-0"> <h4 class="product-price d-flex flex-wrap gap-8 align-items-center row-gap-0 mb-0 letter-spacing-0"> <?php if(getProductPriceByType(product: $product, type: 'discount', result: 'value') > 0): ?> <del class="category-single-product-price fs-14 fw-bold"> <?php echo e(webCurrencyConverter(amount: $product->unit_price)); ?> </del> <?php endif; ?> <span class="text-accent text-dark fs-15"> <?php echo e(getProductPriceByType(product: $product, type: 'discounted_unit_price', result: 'string')); ?> </span> </h4> </div> </div> </div> </div> <?php endif; ?> <?php /**PATH /home/forge/drhagerpharmacy.com/resources/themes/default/web-views/partials/_category-single-product.blade.php ENDPATH**/ ?>