/home/brandsfa/www/storage/framework/views/82ed0421a3b5e9bdf37ef39ee79398ed.php
<?php $__env->startSection('title', $product['name']); ?>
<?php $__env->startPush('css_or_js'); ?>
<meta name="description" content="<?php echo e($product->slug); ?>">
<meta name="keywords" content="<?php $__currentLoopData = explode(' ',$product['name']); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $keyword): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo e($keyword.' , '); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>">
<?php if($product->added_by=='seller'): ?>
<meta name="author" content="<?php echo e($product->seller->shop?$product->seller->shop->name:$product->seller->f_name); ?>">
<?php elseif($product->added_by=='admin'): ?>
<meta name="author" content="<?php echo e($web_config['name']->value); ?>">
<?php endif; ?>
<?php if($product['meta_image']!=null): ?>
<meta property="og:image" content="<?php echo e(dynamicStorage(path: "storage/app/public/product/meta")); ?>/<?php echo e($product->meta_image); ?>"/>
<meta property="twitter:card"
content="<?php echo e(dynamicStorage(path: "storage/app/public/product/meta")); ?>/<?php echo e($product->meta_image); ?>"/>
<?php else: ?>
<meta property="og:image" content="<?php echo e(dynamicStorage(path: "storage/app/public/product/thumbnail")); ?>/<?php echo e($product->thumbnail); ?>"/>
<meta property="twitter:card"
content="<?php echo e(dynamicStorage(path: "storage/app/public/product/thumbnail/")); ?>/<?php echo e($product->thumbnail); ?>"/>
<?php endif; ?>
<?php if($product['meta_title']!=null): ?>
<meta property="og:title" content="<?php echo e($product->meta_title); ?>"/>
<meta property="twitter:title" content="<?php echo e($product->meta_title); ?>"/>
<?php else: ?>
<meta property="og:title" content="<?php echo e($product->name); ?>"/>
<meta property="twitter:title" content="<?php echo e($product->name); ?>"/>
<?php endif; ?>
<meta property="og:url" content="<?php echo e(route('product',[$product->slug])); ?>">
<?php if($product['meta_description']!=null): ?>
<meta property="twitter:description" content="<?php echo Str::limit($product['meta_description'], 55); ?>">
<meta property="og:description" content="<?php echo Str::limit($product['meta_description'], 55); ?>">
<?php else: ?>
<meta property="og:description"
content="<?php $__currentLoopData = explode(' ',$product['name']); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $keyword): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo e($keyword.' , '); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>">
<meta property="twitter:description"
content="<?php $__currentLoopData = explode(' ',$product['name']); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $keyword): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo e($keyword.' , '); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>">
<?php endif; ?>
<meta property="twitter:url" content="<?php echo e(route('product',[$product->slug])); ?>">
<link rel="stylesheet" href="<?php echo e(theme_asset(path: 'public/assets/front-end/css/product-details.css')); ?>"/>
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<div class="__inline-23">
<div class="container mt-4 rtl text-align-direction">
<div class="row <?php echo e(Session::get('direction') === "rtl" ? '__dir-rtl' : ''); ?>">
<div class="col-lg-12 col-12">
<div class="row">
<div class="col-lg-6 col-md-4 col-12">
<div class="cz-product-gallery">
<div class="cz-preview">
<div id="sync1" class="owl-carousel owl-theme product-thumbnail-slider">
<?php if($product->images!=null && json_decode($product->images)>0): ?>
<?php if(json_decode($product->colors) && $product->color_image): ?>
<?php $__currentLoopData = json_decode($product->color_image); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $photo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($photo->color != null): ?>
<div
class="product-preview-item d-flex align-items-center justify-content-center <?php echo e($key==0?'active':''); ?>"
id="image<?php echo e($photo->color); ?>">
<img class="cz-image-zoom img-responsive w-100"
src="<?php echo e(getValidImage(path: 'storage/app/public/product/'.$photo->image_name, type: 'product')); ?>"
data-zoom="<?php echo e(getValidImage(path: 'storage/app/public/product/'.$photo->image_name, type: 'product')); ?>"
alt="<?php echo e(translate('product')); ?>" width="">
<div class="cz-image-zoom-pane"></div>
</div>
<?php else: ?>
<div
class="product-preview-item d-flex align-items-center justify-content-center <?php echo e($key==0?'active':''); ?>"
id="image<?php echo e($key); ?>">
<img class="cz-image-zoom img-responsive w-100"
src="<?php echo e(getValidImage(path: 'storage/app/public/product/'.$photo->image_name, type: 'product')); ?>"
data-zoom="<?php echo e(getValidImage(path: 'storage/app/public/product/'.$photo->image_name, type: 'product')); ?>"
alt="<?php echo e(translate('product')); ?>" width="">
<div class="cz-image-zoom-pane"></div>
</div>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php else: ?>
<?php $__currentLoopData = json_decode($product->images); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $photo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div
class="product-preview-item d-flex align-items-center justify-content-center <?php echo e($key==0?'active':''); ?>"
id="image<?php echo e($key); ?>">
<img class="cz-image-zoom img-responsive w-100"
src="<?php echo e(getValidImage(path: 'storage/app/public/product/'.$photo, type: 'product')); ?>"
data-zoom="<?php echo e(getValidImage(path: 'storage/app/public/product/'.$photo, type: 'product')); ?>"
alt="<?php echo e(translate('product')); ?>" width="">
<div class="cz-image-zoom-pane"></div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
<div class="d-flex flex-column gap-3">
<button type="button" data-product-id="<?php echo e($product['id']); ?>"
class="btn __text-18px border wishList-pos-btn d-sm-none product-action-add-wishlist">
<i class="fa <?php echo e(($wishlistStatus == 1?'fa-heart':'fa-heart-o')); ?> wishlist_icon_<?php echo e($product['id']); ?> web-text-primary"
aria-hidden="true"></i>
</button>
<div class="sharethis-inline-share-buttons share--icons text-align-direction">
</div>
</div>
<div class="cz">
<div class="table-responsive __max-h-515px" data-simplebar>
<div class="d-flex">
<div id="sync2" class="owl-carousel owl-theme product-thumb-slider">
<?php if($product->images!=null && json_decode($product->images)>0): ?>
<?php if(json_decode($product->colors) && $product->color_image): ?>
<?php $__currentLoopData = json_decode($product->color_image); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $photo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($photo->color != null): ?>
<div class="">
<a class="product-preview-thumb color-variants-preview-box-<?php echo e($photo->color); ?> <?php echo e($key==0?'active':''); ?> d-flex align-items-center justify-content-center"
id="preview-img<?php echo e($photo->color); ?>"
href="#image<?php echo e($photo->color); ?>">
<img alt="<?php echo e(translate('product')); ?>"
src="<?php echo e(getValidImage(path: 'storage/app/public/product/'.$photo->image_name, type: 'product')); ?>">
</a>
</div>
<?php else: ?>
<div class="">
<a class="product-preview-thumb <?php echo e($key==0?'active':''); ?> d-flex align-items-center justify-content-center"
id="preview-img<?php echo e($key); ?>" href="#image<?php echo e($key); ?>">
<img alt="<?php echo e(translate('product')); ?>"
src="<?php echo e(getValidImage(path: 'storage/app/public/product/'.$photo->image_name, type: 'product')); ?>">
</a>
</div>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php else: ?>
<?php $__currentLoopData = json_decode($product->images); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $photo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="">
<a class="product-preview-thumb <?php echo e($key==0?'active':''); ?> d-flex align-items-center justify-content-center"
id="preview-img<?php echo e($key); ?>" href="#image<?php echo e($key); ?>">
<img alt="<?php echo e(translate('product')); ?>"
src="<?php echo e(getValidImage(path: 'storage/app/public/product/'.$photo, type: 'product')); ?>">
</a>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-6 col-md-8 col-12 mt-md-0 mt-sm-3 web-direction">
<div class="details __h-100">
<span class="mb-2 __inline-24"><?php echo e($product->name); ?></span>
<div class="d-flex flex-wrap align-items-center mb-2 pro">
<div class="star-rating me-2">
<?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; ?>
</div>
<span
class="d-inline-block align-middle mt-1 <?php echo e(Session::get('direction') === "rtl" ? 'ml-md-2 ml-sm-0' : 'mr-md-2 mr-sm-0'); ?> fs-14 text-muted">(<?php echo e($overallRating[0]); ?>)</span>
<span
class="font-regular font-for-tab d-inline-block font-size-sm text-body align-middle mt-1 <?php echo e(Session::get('direction') === "rtl" ? 'mr-1 ml-md-2 ml-1 pr-md-2 pr-sm-1 pl-md-2 pl-sm-1' : 'ml-1 mr-md-2 mr-1 pl-md-2 pl-sm-1 pr-md-2 pr-sm-1'); ?>"><span class="web-text-primary"><?php echo e($overallRating[1]); ?></span> <?php echo e(translate('reviews')); ?></span>
<span class="__inline-25"></span>
<span
class="font-regular font-for-tab d-inline-block font-size-sm text-body align-middle mt-1 <?php echo e(Session::get('direction') === "rtl" ? 'mr-1 ml-md-2 ml-1 pr-md-2 pr-sm-1 pl-md-2 pl-sm-1' : 'ml-1 mr-md-2 mr-1 pl-md-2 pl-sm-1 pr-md-2 pr-sm-1'); ?>"><span class="web-text-primary"><?php echo e($countOrder); ?></span> <?php echo e(translate('orders')); ?> </span>
<span class="__inline-25"> </span>
<span
class="font-regular font-for-tab d-inline-block font-size-sm text-body align-middle mt-1 <?php echo e(Session::get('direction') === "rtl" ? 'mr-1 ml-md-2 ml-0 pr-md-2 pr-sm-1 pl-md-2 pl-sm-1' : 'ml-1 mr-md-2 mr-0 pl-md-2 pl-sm-1 pr-md-2 pr-sm-1'); ?> text-capitalize"> <span class="web-text-primary countWishlist-<?php echo e($product->id); ?>"> <?php echo e($countWishlist); ?></span> <?php echo e(translate('wish_listed')); ?> </span>
</div>
<div class="mb-3">
<span class="font-weight-normal text-accent d-flex align-items-end gap-2">
<?php echo getPriceRangeWithDiscount(product: $product); ?>
</span>
</div>
<form id="add-to-cart-form" class="mb-2">
<?php echo csrf_field(); ?>
<input type="hidden" name="id" value="<?php echo e($product->id); ?>">
<div
class="position-relative <?php echo e(Session::get('direction') === "rtl" ? 'ml-n4' : 'mr-n4'); ?> mb-2">
<?php if(count(json_decode($product->colors)) > 0): ?>
<div class="flex-start align-items-center mb-2">
<div
class="product-description-label m-0 text-dark font-bold"><?php echo e(translate('color')); ?>
:
</div>
<div>
<ul class="list-inline checkbox-color mb-0 flex-start ms-2 ps-0">
<?php $__currentLoopData = json_decode($product->colors); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $color): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li>
<input type="radio"
id="<?php echo e($product->id); ?>-color-<?php echo e(str_replace('#','',$color)); ?>"
name="color" value="<?php echo e($color); ?>"
<?php if($key == 0): ?> checked <?php endif; ?>>
<label style="background: <?php echo e($color); ?>;"
class="focus-preview-image-by-color shadow-border"
for="<?php echo e($product->id); ?>-color-<?php echo e(str_replace('#','',$color)); ?>"
data-toggle="tooltip"
data-key="<?php echo e(str_replace('#','',$color)); ?>"
data-colorid="preview-box-<?php echo e(str_replace('#','',$color)); ?>">
<span class="outline"></span></label>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
</div>
<?php endif; ?>
<?php
$qty = 0;
if(!empty($product->variation)){
foreach (json_decode($product->variation) as $key => $variation) {
$qty += $variation->qty;
}
}
?>
</div>
<?php $__currentLoopData = json_decode($product->choice_options); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $choice): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="row flex-start mx-0 align-items-center">
<div
class="product-description-label text-dark font-bold <?php echo e(Session::get('direction') === "rtl" ? 'pl-2' : 'pr-2'); ?> text-capitalize mb-2"><?php echo e($choice->title); ?>
:
</div>
<div>
<div class="list-inline checkbox-alphanumeric checkbox-alphanumeric--style-1 mb-0 mx-1 flex-start row ps-0">
<?php $__currentLoopData = $choice->options; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div>
<div class="for-mobile-capacity">
<input type="radio"
id="<?php echo e($choice->name); ?>-<?php echo e($option); ?>"
name="<?php echo e($choice->name); ?>" value="<?php echo e($option); ?>"
<?php if($index == 0): ?> checked <?php endif; ?> >
<label class="__text-12px"
for="<?php echo e($choice->name); ?>-<?php echo e($option); ?>"><?php echo e($option); ?></label>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<div class="mt-3">
<div class="product-quantity d-flex flex-column __gap-15">
<div class="d-flex align-items-center gap-3">
<div class="product-description-label text-dark font-bold mt-0">
<?php echo e(translate('quantity')); ?> :
</div>
<div class="d-flex justify-content-center align-items-center quantity-box border rounded border-base web-text-primary">
<span class="input-group-btn">
<button class="btn btn-number __p-10 web-text-primary" type="button"
data-type="minus" data-field="quantity"
disabled="disabled">
-
</button>
</span>
<input type="text" name="quantity"
class="form-control input-number text-center cart-qty-field __inline-29 border-0 "
placeholder="<?php echo e(translate('1')); ?>"
value="<?php echo e($product->minimum_order_qty ?? 1); ?>"
data-producttype="<?php echo e($product->product_type); ?>"
min="<?php echo e($product->minimum_order_qty ?? 1); ?>"
max="<?php echo e($product['product_type'] == 'physical' ? $product->current_stock : 100); ?>">
<span class="input-group-btn">
<button class="btn btn-number __p-10 web-text-primary" type="button"
data-producttype="<?php echo e($product->product_type); ?>"
data-type="plus" data-field="quantity">
+
</button>
</span>
</div>
<input type="hidden" class="product-generated-variation-code" name="product_variation_code">
<input type="hidden" value="" class="in_cart_key form-control w-50" name="key">
</div>
<div id="chosen_price_div">
<div
class="d-none d-sm-flex justify-content-start align-items-center me-2">
<div
class="product-description-label text-dark font-bold text-capitalize">
<strong><?php echo e(translate('total_price')); ?></strong> :
</div>
<strong id="chosen_price" class="text-base"></strong>
<small
class="ms-2 font-regular">
(<small><?php echo e(translate('tax')); ?> : </small>
<small id="set-tax-amount"></small>)
</small>
</div>
</div>
</div>
</div>
<div class="__btn-grp mt-2 mb-3 d-none d-sm-flex" style="display:none !important;">
<?php if(($product->added_by == 'seller' && ($sellerTemporaryClose || (isset($product->seller->shop) && $product->seller->shop->vacation_status && $currentDate >= $sellerVacationStartDate && $currentDate <= $sellerVacationEndDate))) ||
($product->added_by == 'admin' && ($inHouseTemporaryClose || ($inHouseVacationStatus && $currentDate >= $inHouseVacationStartDate && $currentDate <= $inHouseVacationEndDate)))): ?>
<button class="btn btn-secondary" type="button" disabled>
<?php echo e(translate('buy_now')); ?>
</button>
<button class="btn btn--primary string-limit" type="button" disabled>
<?php echo e(translate('add_to_cart')); ?>
</button>
<?php else: ?>
<button
class="btn btn-secondary element-center btn-gap-<?php echo e(Session::get('direction') === "rtl" ? 'left' : 'right'); ?> action-buy-now-this-product"
type="button">
<span class="string-limit"><?php echo e(translate('buy_now')); ?></span>
</button>
<button class="btn btn--primary element-center btn-gap-<?php echo e(Session::get('direction') === "rtl" ? 'left' : 'right'); ?> action-add-to-cart-form"
type="button" data-update-text="<?php echo e(translate('update_cart')); ?>" data-add-text="<?php echo e(translate('add_to_cart')); ?>">
<span class="string-limit"><?php echo e(translate('add_to_cart')); ?></span>
</button>
<?php endif; ?>
<button type="button" data-product-id="<?php echo e($product['id']); ?>"
class="btn __text-18px border d-none d-sm-block product-action-add-wishlist">
<i class="fa <?php echo e(($wishlistStatus == 1?'fa-heart':'fa-heart-o')); ?> wishlist_icon_<?php echo e($product['id']); ?> web-text-primary"
aria-hidden="true"></i>
<span
class="fs-14 text-muted align-bottom countWishlist-<?php echo e($product['id']); ?>"><?php echo e($countWishlist); ?></span>
</button>
<?php if(($product->added_by == 'seller' && ($sellerTemporaryClose || (isset($product->seller->shop) && $product->seller->shop->vacation_status && $currentDate >= $sellerVacationStartDate && $currentDate <= $sellerVacationEndDate))) ||
($product->added_by == 'admin' && ($inHouseTemporaryClose || ($inHouseVacationStatus && $currentDate >= $inHouseVacationStartDate && $currentDate <= $inHouseVacationEndDate)))): ?>
<div class="alert alert-danger" role="alert">
<?php echo e(translate('this_shop_is_temporary_closed_or_on_vacation._You_cannot_add_product_to_cart_from_this_shop_for_now')); ?>
</div>
<?php endif; ?>
</div>
<div class="row no-gutters d-none flex-start d-flex">
<div class="col-12">
<?php if(($product['product_type'] == 'physical')): ?>
<h5 class="text-danger out-of-stock-element d--none"><?php echo e(translate('out_of_stock')); ?></h5>
<?php endif; ?>
</div>
</div>
</form>
<div class="d-flex gap-3 justify-content-center">
<?php if(($product->added_by == 'seller' && ($sellerTemporaryClose || (isset($product->seller->shop) && $product->seller->shop->vacation_status && $currentDate >= $sellerVacationStartDate && $currentDate <= $sellerVacationEndDate))) ||
($product->added_by == 'admin' && ($inHouseTemporaryClose || ($inHouseVacationStatus && $currentDate >= $inHouseVacationStartDate && $currentDate <= $inHouseVacationEndDate)))): ?>
<button
class="btn btn-secondary btn-gap-<?php echo e(Session::get('direction') === "rtl" ? 'left' : 'right'); ?>"
type="button" disabled style="width: 50%;">
<?php echo e(translate('buy_now')); ?>
</button>
<button
class="btn btn--primary string-limit btn-gap-<?php echo e(Session::get('direction') === "rtl" ? 'left' : 'right'); ?>"
type="button" disabled style="width: 50%;">
<?php echo e(translate('add_to_cart')); ?>
</button>
<?php else: ?>
<button
class="btn btn-secondary btn-gap-<?php echo e(Session::get('direction') === "rtl" ? 'left' : 'right'); ?> action-buy-now-this-product" type="button" style="width: 50%;">
<span class="string-limit"><?php echo e(translate('buy_now')); ?></span>
</button>
<button
class="btn btn--primary string-limit btn-gap-<?php echo e(Session::get('direction') === "rtl" ? 'left' : 'right'); ?> action-add-to-cart-form"
type="button" style="width: 50%;">
<span class="string-limit"><?php echo e(translate('add_to_cart')); ?></span>
</button>
<?php endif; ?>
</div>
<div class="">
<?php ($whatsapp = getWebConfig(name: 'whatsapp')); ?>
<a href="tel:<?php echo e($whatsapp['phone']); ?>" id="product-details-cal-now-button" class="btn btn-block mt-2 text-xl py-2 !h-auto" style=" background:#4D278E !important; color:#fff !important;">
<div class="d-flex justify-content-center align-items-center">
<div class="mr-2 button-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="2rem" height="2rem" fill="currentColor" class="bi bi-telephone" viewBox="0 0 16 16">
<path d="M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"></path>
</svg>
</div>
<div>
Call Now ☎️ +<?php echo e($whatsapp['phone']); ?>
</div>
</div>
</a>
<?php if(isset($whatsapp['status']) && $whatsapp['status'] == 1 ): ?>
<a href="https://wa.me/<?php echo e($whatsapp['phone']); ?>?text=Hello%20there!" target="_blank" style="background-color: #4BE159; border:none;" class="btn btn-block mt-2 text-xl py-2 !h-auto c-no-radius text-white">
<div class="d-flex justify-content-center align-items-center">
<div class="px-2">
<svg xmlns="http://www.w3.org/2000/svg" width="2rem" height="2rem" fill="currentColor" class="bi bi-whatsapp" viewBox="0 0 16 16">
<path d="M13.601 2.326A7.85 7.85 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.9 7.9 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.9 7.9 0 0 0 13.6 2.326zM7.994 14.521a6.6 6.6 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.56 6.56 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73 0 0 0-.529.247c-.182.198-.691.677-.691 1.654s.71 1.916.81 2.049c.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232"></path>
</svg>
</div>
<div class="">
<strong><?php echo e(translate('Chat_with_us_on_WhatsApp')); ?></strong>
</div>
</div>
</a>
<?php endif; ?>
</div>
<div class="alert alert-info mb-5 mt-5 text-xs" style="color: #0c5460; background-color: #d1ecf1; border-color: #bee5eb;">
সতর্কবার্তা:
আমাদের ওয়েবসাইটে ইচ্ছাকৃতভাবে ফেইক অর্ডার করে আমাদের ক্ষতিগ্রস্ত করার চেষ্টা করলে, কঠোর আইনি পদক্ষেপ গ্রহণ করা হবে।
এটা মনে রাখুন:
প্রতিটি অর্ডার আমরা নিবিড়ভাবে পর্যবেক্ষণ করি।
ফেইক অর্ডার শনাক্ত হলে, আপনার আইপি ঠিকানা এবং অন্যান্য পরিচয় সংক্রান্ত তথ্য সংগ্রহ করা হবে।
এর ফলস্বরূপ, আমরা আপনার বিরুদ্ধে আইনানুগ ব্যবস্থা গ্রহণ করবো, যা আপনাকে অর্থদণ্ড ও আইনি জটিলতার মধ্যে ফেলতে পারে।
আমাদের ব্যবসা ও সেবা রক্ষার্থে আমরা কোনো প্রকার সহানুভূতি দেখাবো না।
</div>
</div>
</div>
</div>
<div class="row">
<div class="mt-4 rtl col-12 text-align-direction">
<div class="row">
<div class="col-12">
<div>
<div
class="px-4 pb-3 mb-3 mr-0 mr-md-2 bg-white __review-overview __rounded-10 pt-3">
<ul class="nav nav-tabs nav--tabs d-flex justify-content-center mt-3"
role="tablist">
<li class="nav-item">
<a class="nav-link __inline-27 active " href="#overview"
data-toggle="tab" role="tab">
<?php echo e(translate('overview')); ?>
</a>
</li>
<li class="nav-item">
<a class="nav-link __inline-27" href="#reviews" data-toggle="tab"
role="tab">
<?php echo e(translate('reviews')); ?>
</a>
</li>
</ul>
<div class="tab-content px-lg-3">
<div class="tab-pane fade show active text-justify" id="overview"
role="tabpanel">
<div class="row pt-2 specification">
<?php if($product->video_url != null && (str_contains($product->video_url, "youtube.com/embed/"))): ?>
<div class="col-12 mb-4">
<iframe width="420" height="315"
src="<?php echo e($product->video_url); ?>">
</iframe>
</div>
<?php endif; ?>
<?php if($product['details']): ?>
<div
class="text-body col-lg-12 col-md-12 overflow-scroll fs-13 text-justify details-text-justify">
<?php echo $product['details']; ?>
</div>
<?php endif; ?>
</div>
<?php if(!$product['details'] && ($product->video_url == null || !(str_contains($product->video_url, "youtube.com/embed/")))): ?>
<div>
<div class="text-center text-capitalize py-5">
<img class="mw-90"
src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/icons/nodata.svg')); ?>"
alt="">
<p class="text-capitalize mt-2">
<small><?php echo e(translate('product_details_not_found')); ?>
!</small>
</p>
</div>
</div>
<?php endif; ?>
</div>
<div class="tab-pane fade" id="reviews" role="tabpanel">
<?php if(count($product->reviews)==0 && $productReviews->total() == 0): ?>
<div>
<div class="text-center text-capitalize">
<img class="mw-100"
src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/icons/empty-review.svg')); ?>"
alt="">
<p class="text-capitalize">
<small><?php echo e(translate('No_review_given_yet')); ?>!</small>
</p>
</div>
</div>
<?php else: ?>
<div class="row pt-2 pb-3">
<div class="col-lg-4 col-md-5 ">
<div
class=" row d-flex justify-content-center align-items-center">
<div
class="col-12 d-flex justify-content-center align-items-center">
<h2 class="overall_review mb-2 __inline-28">
<?php echo e($overallRating[0]); ?>
</h2>
</div>
<div
class="d-flex justify-content-center align-items-center star-rating ">
<?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; ?>
</div>
<div
class="col-12 d-flex justify-content-center align-items-center mt-2">
<span class="text-center">
<?php echo e($productReviews->total()); ?> <?php echo e(translate('ratings')); ?>
</span>
</div>
</div>
</div>
<div class="col-lg-8 col-md-7 pt-sm-3 pt-md-0">
<div
class="d-flex align-items-center mb-2 font-size-sm">
<div
class="__rev-txt"><span
class="d-inline-block align-middle text-body"><?php echo e(translate('excellent')); ?></span>
</div>
<div class="w-0 flex-grow">
<div class="progress text-body __h-5px">
<div class="progress-bar web--bg-primary"
role="progressbar"
style="width: <?php echo $widthRating = ($rating[0] != 0) ? ($rating[0] / $overallRating[1]) * 100 : (0); ?>%;"
aria-valuenow="60" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
<div class="col-1 text-body">
<span
class=" <?php echo e(Session::get('direction') === "rtl" ? 'mr-3 float-left' : 'ml-3 float-right'); ?> ">
<?php echo e($rating[0]); ?>
</span>
</div>
</div>
<div
class="d-flex align-items-center mb-2 text-body font-size-sm">
<div
class="__rev-txt"><span
class="d-inline-block align-middle "><?php echo e(translate('good')); ?></span>
</div>
<div class="w-0 flex-grow">
<div class="progress __h-5px">
<div class="progress-bar web--bg-primary" role="progressbar"
style="width: <?php echo $widthRating = ($rating[1] != 0) ? ($rating[1] / $overallRating[1]) * 100 : (0); ?>%; background-color: #a7e453;"
aria-valuenow="27" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
<div class="col-1">
<span
class="<?php echo e(Session::get('direction') === "rtl" ? 'mr-3 float-left' : 'ml-3 float-right'); ?>">
<?php echo e($rating[1]); ?>
</span>
</div>
</div>
<div
class="d-flex align-items-center mb-2 text-body font-size-sm">
<div
class="__rev-txt"><span
class="d-inline-block align-middle "><?php echo e(translate('average')); ?></span>
</div>
<div class="w-0 flex-grow">
<div class="progress __h-5px">
<div class="progress-bar web--bg-primary" role="progressbar"
style="width: <?php echo $widthRating = ($rating[2] != 0) ? ($rating[2] / $overallRating[1]) * 100 : (0); ?>%; background-color: #ffda75;"
aria-valuenow="17" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
<div class="col-1">
<span
class="<?php echo e(Session::get('direction') === "rtl" ? 'mr-3 float-left' : 'ml-3 float-right'); ?>">
<?php echo e($rating[2]); ?>
</span>
</div>
</div>
<div
class="d-flex align-items-center mb-2 text-body font-size-sm">
<div
class="__rev-txt "><span
class="d-inline-block align-middle"><?php echo e(translate('below_Average')); ?></span>
</div>
<div class="w-0 flex-grow">
<div class="progress __h-5px">
<div class="progress-bar web--bg-primary" role="progressbar"
style="width: <?php echo $widthRating = ($rating[3] != 0) ? ($rating[3] / $overallRating[1]) * 100 : (0); ?>%; background-color: #fea569;"
aria-valuenow="9" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
<div class="col-1">
<span
class="<?php echo e(Session::get('direction') === "rtl" ? 'mr-3 float-left' : 'ml-3 float-right'); ?>">
<?php echo e($rating[3]); ?>
</span>
</div>
</div>
<div
class="d-flex align-items-center text-body font-size-sm">
<div
class="__rev-txt"><span
class="d-inline-block align-middle "><?php echo e(translate('poor')); ?></span>
</div>
<div class="w-0 flex-grow">
<div class="progress __h-5px">
<div class="progress-bar web--bg-primary" role="progressbar"
style="width: <?php echo $widthRating = ($rating[4] != 0) ? ($rating[4] / $overallRating[1]) * 100 : (0); ?>%;"
aria-valuenow="4" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
<div class="col-1">
<span
class="<?php echo e(Session::get('direction') === "rtl" ? 'mr-3 float-left' : 'ml-3 float-right'); ?>">
<?php echo e($rating[4]); ?>
</span>
</div>
</div>
</div>
</div>
<div class="row pb-4 mb-3">
<div class="__inline-30">
<span
class="text-capitalize"><?php echo e(translate('Product_review')); ?></span>
</div>
</div>
<?php endif; ?>
<div class="row pb-4">
<div class="col-12" id="product-review-list">
<?php echo $__env->make('web-views.partials._product-reviews', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<?php if(count($product->reviews) > 2): ?>
<div class="col-12">
<div
class="card-footer d-flex justify-content-center align-items-center">
<button class="btn text-white view_more_button web--bg-primary">
<?php echo e(translate('view_more')); ?>
</button>
</div>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="bottom-sticky bg-white d-sm-none">
<div class="d-flex flex-column gap-1 py-2">
<div class="d-flex justify-content-center align-items-center fs-13">
<div class="product-description-label text-dark font-bold"><strong
class="text-capitalize"><?php echo e(translate('total_price')); ?></strong> :
</div>
<strong id="chosen_price_mobile" class="text-base"></strong>
<small class="ml-2 font-regular">
(<small><?php echo e(translate('tax')); ?> : </small>
<small id="set-tax-amount-mobile"></small>)
</small>
</div>
</div>
</div>
<?php if(count($relatedProducts)>0): ?>
<div class="container rtl text-align-direction">
<div class="card __card border-0">
<div class="card-body">
<div class="row flex-between">
<div class="ms-1">
<h4 class="text-capitalize font-bold fs-16"><?php echo e(translate('similar_products')); ?></h4>
</div>
<div class="view_all d-flex justify-content-center align-items-center">
<div>
<?php ($category=json_decode($product['category_ids'])); ?>
<?php if($category): ?>
<a class="text-capitalize view-all-text web-text-primary me-1"
href="<?php echo e(route('products',['id'=> $category[0]->id,'data_from'=>'category','page'=>1])); ?>"><?php echo e(translate('view_all')); ?>
<i class="czi-arrow-<?php echo e(Session::get('direction') === "rtl" ? 'left mr-1 ml-n1 mt-1 ' : 'right ml-1 mr-n1'); ?>"></i>
</a>
<?php endif; ?>
</div>
</div>
</div>
<div class="row g-3 mt-1">
<?php $__currentLoopData = $relatedProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $relatedProduct): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="col-xl-2 col-sm-3 col-6">
<?php echo $__env->make('web-views.partials._inline-single-product-without-eye',['product'=>$relatedProduct,'decimal_point_settings'=>$decimalPointSettings], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div>
<?php endif; ?>
<div class="modal fade rtl text-align-direction" id="show-modal-view" tabindex="-1" role="dialog" aria-labelledby="show-modal-image"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-body flex justify-content-center">
<button class="btn btn-default __inline-33 dir-end-minus-7px"
data-dismiss="modal">
<i class="fa fa-close"></i>
</button>
<img class="element-center" id="attachment-view" src="" alt="">
</div>
</div>
</div>
</div>
</div>
<?php echo $__env->make('layouts.front-end.partials.modal._chatting',['seller'=>$product->seller, 'user_type'=>$product->added_by], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="modal fade" id="remove-wishlist-modal">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header border-0">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body pb-5">
<div class="text-center">
<img src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/icons/remove-wishlist.png')); ?>" alt="<?php echo e(translate('wishlist')); ?>">
<h6 class="font-semibold mt-3 mb-4 mx-auto __max-w-220">
<?php echo e(translate('Product_has_been_removed_from_wishlist')); ?> ?
</h6>
</div>
<div class="d-flex gap-3 justify-content-center">
<a href="javascript:" class="btn btn--primary __rounded-10" data-dismiss="modal">
<?php echo e(translate('Okay')); ?>
</a>
</div>
</div>
</div>
</div>
</div>
<span id="route-review-list-product" data-url="<?php echo e(route('review-list-product')); ?>"></span>
<span id="products-details-page-data" data-id="<?php echo e($product['id']); ?>"></span>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('script'); ?>
<script src="<?php echo e(theme_asset(path: 'public/assets/front-end/js/product-details.js')); ?>"></script>
<script type="text/javascript" async="async"
src="https://platform-api.sharethis.com/js/sharethis.js#property=5f55f75bde227f0012147049&product=sticky-share-buttons"></script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.front-end.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/brandsfa/public_html/resources/themes/default/web-views/products/details.blade.php ENDPATH**/ ?>