ヤミRoot VoidGate
User / IP
:
216.73.217.162
Host / Server
:
15.235.182.215 / pollibazaar.com
System
:
Linux asia.cbnex.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
pollibazaar
/
public_html
/
storage
/
framework
/
views
/
Viewing: 40116247dc67a4744e52a00e22f4a95a.php
<?php $__env->startSection('title', $product['name']); ?> <?php $__env->startPush('css_or_js'); ?> <?php echo $__env->make(VIEW_FILE_NAMES['product_seo_meta_content_partials'], ['metaContentData' => $product?->seoInfo, 'productDetails' => $product], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <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 my-4 rtl text-align-direction"> <div class="row g-3 <?php echo e(Session::get('direction') === "rtl" ? '__dir-rtl' : ''); ?>"> <div class="col-lg-9"> <div class="h-100 d-flex flex-column gap-4 pb-2"> <div class="card card-body flex-grow-0"> <div class="row g-3"> <div class="col-lg-5 col-md-4"> <div class="pd-img-wrap position-relative"> <div class="swiper-container quickviewSlider2 border rounded aspect-1"> <div class="swiper-wrapper"> <?php $imageSources = ($product->product_type === 'physical' && !empty($product->color_image) && count($product->color_images_full_url) > 0) ? $product->color_images_full_url : $product->images_full_url; ?> <?php $__currentLoopData = $imageSources; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $photo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $imagePath = isset($photo['image_name']) ? getStorageImages(path: $photo['image_name'], type: 'backend-product') : getStorageImages(path: $photo, type: 'backend-product'); $colorCode = $photo['color'] ?? ''; ?> <div class="swiper-slide position-relative" data-color="<?php echo e($colorCode); ?>"> <div class="easyzoom easyzoom--overlay is-ready"> <a href="<?php echo e($imagePath); ?>"> <img class="rounded h-100 aspect-1" alt="" src="<?php echo e($imagePath); ?>"> </a> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <div class="cz-product-gallery-icons"> <div class="d-flex flex-column gap-12px pt-3"> <?php if($product->product_type == "physical"): ?> <div class="bg-white btn-circle border" style="--size: 35px" 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 else: ?> <div class="bg-white btn-circle border" style="--size: 35px" 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 endif; ?> <button type="button" data-product-id="<?php echo e($product['id']); ?>" class="btn __text-18px border position-static rounded-circle 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> <div class="wishlist-tooltip" x-placement="top"> <div class="arrow"></div> <div class="inner"> <span class="add"><?php echo e(translate('added_to_wishlist')); ?></span> <span class="remove"><?php echo e(translate('removed_from_wishlist')); ?></span> </div> </div> </button> <div class="share_dropdown_wrapper"> <button type="button" class="btn btn-outline-primary btn-circle p-0 share_btn" style="--size: 35px" tabindex="0"> <i class="fa fa-share-alt"></i> </button> <div class="share_dropdown bg-white d-flex gap-3 align-items-center flex-column"> <a href="#" class="flex-shrink-0 btn btn-circle p-0 bg-facebook text-white share-on-social-media share_btn facebook" style="--size: 20px" data-action="<?php echo e(route('product',$product->slug)); ?>" data-social-media-name="facebook.com/sharer/sharer.php?u="> <i class="czi-facebook lh-1 fs-10"></i> </a> <a href="#" class="flex-shrink-0 btn btn-circle p-0 bg-twitter text-white share-on-social-media share_btn twitter" style="--size: 20px" data-action="<?php echo e(route('product',$product->slug)); ?>" data-social-media-name="twitter.com/intent/tweet?text="> <i class="czi-twitter lh-1 fs-10"></i> </a> <a href="#" class="flex-shrink-0 btn btn-circle p-0 bg-linkedin text-white share-on-social-media share_btn linkedin" style="--size: 20px" data-action="<?php echo e(route('product',$product->slug)); ?>" data-social-media-name="linkedin.com/shareArticle?mini=true&url="> <i class="czi-linkedin lh-1 fs-10"></i> </a> <a href="#" class="flex-shrink-0 btn btn-circle p-0 bg-whatsapp text-white share-on-social-media share_btn whatsapp" style="--size: 20px" data-action="<?php echo e(route('product',$product->slug)); ?>" data-social-media-name="api.whatsapp.com/send?text="> <i class="fa fa-whatsapp lh-1 fs-10"></i> </a> </div> </div> </div> </div> <div class="mt-3 user-select-none"> <div class="quickviewSliderThumb2 swiper-container position-relative active-border"> <div class="swiper-wrapper auto-item-width justify-content-start"> <?php $__currentLoopData = $imageSources; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $photo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $imagePath = isset($photo['image_name']) ? getStorageImages(path: $photo['image_name'], type: 'backend-product') : getStorageImages(path: $photo, type: 'backend-product'); ?> <div class="swiper-slide position-relative rounded border" role="group"> <img class="aspect-1" alt="" src="<?php echo e($imagePath); ?>"> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="swiper-button-next swiper-quickview-button-next"></div> <div class="swiper-button-prev swiper-quickview-button-prev"></div> </div> </div> </div> </div> <div class="col-lg-7 col-md-8 mt-md-0 mt-sm-3 web-direction"> <div class="details __h-100 product-cart-option-container p-0"> <h2 class="mb-4 __inline-24"><?php echo e($product->name); ?></h2> <div class="d-flex flex-wrap align-items-center gap-3 mb-4 pro"> <?php if($overallRating[0] !=0): ?> <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 fs-14 text-muted">(<?php echo e($overallRating[0]); ?>)</span> <span class="font-weight-normal fs-14 font-for-tab d-inline-block font-size-sm text-body align-middle"> <a href="#reviews" class="font-weight-normal fs-14 font-for-tab d-inline-block font-size-sm text-body align-middle" data-toggle="tab" role="tab"> <span class="web-text-primary fw-semibold"><?php echo e($overallRating[1]); ?></span> <?php echo e(translate('reviews')); ?> </a> </span> <span class="border-middle-14px"></span> <?php endif; ?> <span class="font-weight-normal fs-14 font-for-tab d-inline-block font-size-sm text-body align-middle"> <span class="web-text-primary fw-semibold fw-semibold"><?php echo e($countOrder); ?></span> <?php echo e(translate('orders')); ?> </span> <span class="border-middle-14px"></span> <span class="font-weight-normal fs-14 font-for-tab d-inline-block font-size-sm text-body align-middle text-capitalize"> <span class="web-text-primary fw-semibold countWishlist-<?php echo e($product->id); ?>"> <?php echo e($countWishlist); ?></span> <?php echo e(translate('wish_listed')); ?> </span> </div> <?php if($product['product_type'] == 'digital'): ?> <div class="digital-product-authors mb-2"> <?php if(count($productPublishingHouseInfo['data']) > 0): ?> <div class="d-flex align-items-center g-2 me-2"> <span class="text-capitalize digital-product-author-title"><?php echo e(translate('Publishing_House')); ?> :</span> <div class="item-list"> <?php $__currentLoopData = $productPublishingHouseInfo['data']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $publishingHouseName): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a href="<?php echo e(route('products', ['publishing_house_id' => $publishingHouseName['id'], 'product_type' => 'digital', 'page'=>1])); ?>" class="text-base"> <?php echo e($publishingHouseName['name']); ?> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php endif; ?> <?php if(count($productAuthorsInfo['data']) > 0): ?> <div class="d-flex align-items-center g-2 me-2"> <span class="text-capitalize digital-product-author-title"><?php echo e(translate('Author')); ?> :</span> <div class="item-list"> <?php $__currentLoopData = $productAuthorsInfo['data']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $productAuthor): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a href="<?php echo e(route('products',['author_id' => $productAuthor['id'], 'product_type' => 'digital', 'page' => 1])); ?>" class="text-base"> <?php echo e($productAuthor['name']); ?> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php endif; ?> </div> <?php endif; ?> <form class="addToCartDynamicForm add-to-cart-details-form d-flex flex-column gap-4"> <div class=""> <h3 class="font-weight-normal text-accent d-flex align-items-end gap-2 mb-0"> <?php if(getProductPriceByType(product: $product, type: 'discount', result: 'value') > 0): ?> <del class="product-total-unit-price align-middle text-muted fs-18 font-semibold"> <?php echo e(webCurrencyConverter(amount: $product->unit_price)); ?> </del> <?php endif; ?> <span class="discounted-unit-price fs-24 font-bold"> <?php echo e(getProductPriceByType(product: $product, type: 'discounted_unit_price', result: 'string')); ?> </span> </h3> </div> <?php echo csrf_field(); ?> <input type="hidden" name="id" value="<?php echo e($product->id); ?>"> <div class="position-relative"> <?php if(count(json_decode($product->colors)) > 0): ?> <div class="d-flex align-items-center gap-3 my-2"> <div class="product-description-label m-0 text-dark"> <?php echo e(translate('color')); ?> </div> <div> <ul class="list-inline checkbox-color mb-0 p-0 flex-start gap-2"> <?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(str_replace(' ', '', ($product->id. '-color-'. 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(str_replace(' ', '', ($product->id. '-color-'. str_replace('#','',$color)))); ?>" data-toggle="tooltip" data-key="<?php echo e(str_replace('#','',$color)); ?>" data-colorid="preview-box-<?php echo e(str_replace('#','',$color)); ?>" data-title="<?php echo e(getColorNameByCode(code: $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 ($extensionIndex=0); ?> <?php if($product['product_type'] == 'digital' && $product['digital_product_file_types'] && count($product['digital_product_file_types']) > 0 && $product['digital_product_extensions']): ?> <?php $__currentLoopData = $product['digital_product_extensions']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $extensionKey => $extensionGroup): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="row flex-start mx-0 align-items-center gap-3 flex-nowrap"> <div class="product-description-label text-dark text-capitalize flex-shrink-0"> <?php echo e(translate($extensionKey)); ?> </div> <div> <?php if(count($extensionGroup) > 0): ?> <div class="list-inline checkbox-alphanumeric checkbox-alphanumeric--style-1 mb-0 mx-1 flex-start ps-0"> <?php $__currentLoopData = $extensionGroup; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $extension): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="user-select-none"> <div class="for-mobile-capacity"> <input type="radio" hidden id="extension_<?php echo e(str_replace(' ', '-', $extension)); ?>" name="variant_key" value="<?php echo e($extensionKey.'-'.preg_replace('/\s+/', '-', $extension)); ?>" <?php echo e($extensionIndex == 0 ? 'checked' : ''); ?>> <label for="extension_<?php echo e(str_replace(' ', '-', $extension)); ?>" class="__text-12px"> <span class="text-nowrap max-w-180 line--limit-1"><?php echo e($extension); ?></span> </label> </div> </div> <?php ($extensionIndex++); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?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 gap-3 flex-nowrap"> <div class="product-description-label text-dark text-capitalize flex-shrink-0"><?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 class="user-select-none"> <div class="for-mobile-capacity"> <input type="radio" id="<?php echo e(str_replace(' ', '', ($choice->name. '-'. $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(str_replace(' ', '', ($choice->name. '-'. $option))); ?>"> <span class="text-nowrap max-w-180 line--limit-1"><?php echo e($option); ?></span> </label> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <div class=""> <div class="product-quantity d-flex flex-column __gap-15"> <div class="d-flex align-items-center gap-4"> <div class="product-description-label text-dark"> <?php echo e(translate('qty')); ?> </div> <div class="d-flex justify-content-between align-items-center quantity-box border rounded border-base web-text-primary w-130px h-40px overflow-hidden"> <span class="input-group-btn h-100"> <button class="btn btn-number __p-10 web-text-primary bg-ECF1F6 rounded-0 h-100 w-32px" type="button" data-type="minus" data-field="quantity" disabled="disabled"> - </button> </span> <input type="text" name="quantity" class="form-control input-number text-center product-details-cart-qty __inline-29 border-0 w-100 fs-12" placeholder="<?php echo e(translate('1')); ?>" value="<?php echo e($initialProductConfig['quantity'] ?? 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 h-100"> <button class="btn btn-number __p-10 web-text-primary bg-ECF1F6 rounded-0 h-100 w-32px" 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" data-product-id="<?php echo e($product['id']); ?>"> <input type="hidden" value="" class="product-exist-in-cart-list form-control w-50" name="key"> </div> <div class="product-details-chosen-price-section"> <div class="d-none d-sm-flex justify-content-start align-items-center me-2"> <div class="product-description-label fs-20 text-dark font-bold text-capitalize"> <strong><?php echo e(translate('total_price')); ?></strong>: </div> <strong class="text-base product-details-chosen-price-amount fs-20"> <?php echo e(webCurrencyConverter(amount: $initialProductConfig['total_quantity_price'])); ?> </strong> </div> </div> </div> </div> <div class="__btn-grp product-add-and-buy-section-parent"> <?php $isTemporaryClose = false; $isVacationMode = false; $authorType = $product->added_by == 'admin' ? 'inhouse' : ($product->added_by == 'seller' ? 'vendor' : ''); if ($authorType === 'vendor') { $isTemporaryClose = checkVendorAbility(type: $authorType, status: 'temporary_close', vendor: $product->seller->shop); $isVacationMode = !$isTemporaryClose ? checkVendorAbility(type: $authorType, status: 'vacation_status', vendor: $product->seller->shop) : false; } else { $isTemporaryClose = checkVendorAbility(type: $authorType, status: 'temporary_close'); $isVacationMode = !$isTemporaryClose ? checkVendorAbility(type: $authorType, status: 'vacation_status') : false; } ?> <div class="product-add-and-buy-section gap-2 <?php echo $firstVariationQuantity <= 0 ? '' : 'd-flex'; ?>" <?php echo $firstVariationQuantity <= 0 ? 'style="display: none;"' : ''; ?>> <?php if($isTemporaryClose || $isVacationMode): ?> <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 type="button" class="btn btn-secondary element-center btn-gap-<?php echo e(Session::get('direction') === 'rtl' ? 'left' : 'right'); ?> product-buy-now-button" data-form=".add-to-cart-details-form" data-auth="<?php echo e((getWebConfig(name: 'guest_checkout') == 1 || Auth::guard('customer')->check()) ? 'true' : 'false'); ?>" data-route="<?php echo e(route('shop-cart')); ?>" > <span class="string-limit"><?php echo e(translate('buy_now')); ?></span> </button> <button class="btn btn--primary element-center product-add-to-cart-button" type="button" data-form=".add-to-cart-details-form" data-update="<?php echo e(translate('update_cart')); ?>" data-add="<?php echo e(translate('add_to_cart')); ?>" > <span class="string-limit"> <?php echo e($initialProductConfig['first_variant_in_cart'] ? translate('update_cart') : translate('add_to_cart')); ?> </span> </button> <?php endif; ?> </div> <?php if(($product['product_type'] == 'physical')): ?> <div class="product-restock-request-section collapse" <?php echo $firstVariationQuantity <= 0 ? 'style="display: block;"' : ''; ?>> <button type="button" class="btn request-restock-btn btn-outline-primary fw-semibold product-restock-request-button" data-auth="<?php echo e(auth('customer')->check()); ?>" data-form=".addToCartDynamicForm" data-default="<?php echo e(translate('Request_Restock')); ?>" data-requested="<?php echo e(translate('Request_Sent')); ?>" > <?php echo e(translate('Request_Restock')); ?> </button> </div> <?php endif; ?> <button type="button" data-product-id="<?php echo e($product['id']); ?>" class="btn __text-18px border 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> <div class="wishlist-tooltip" x-placement="top"> <div class="arrow"></div> <div class="inner"> <span class="add"><?php echo e(translate('added_to_wishlist')); ?></span> <span class="remove"><?php echo e(translate('removed_from_wishlist')); ?></span> </div> </div> </button> <?php if($product->added_by == 'admin'): ?> <?php if(checkVendorAbility(type: 'inhouse', status: 'temporary_close') || checkVendorAbility(type: 'inhouse', status: 'vacation_status')): ?> <div class="alert alert-danger mt-2" 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; ?> <?php elseif($product->added_by == 'seller'): ?> <?php if(checkVendorAbility(type: 'vendor', status: 'temporary_close', vendor: $product->seller->shop) || checkVendorAbility(type: 'vendor', status: 'vacation_status', vendor: $product->seller->shop)): ?> <div class="alert alert-danger mt-2" 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; ?> <?php endif; ?> </div> </form> </div> </div> </div> </div> <div class="rtl text-align-direction flex-grow-1"> <div class="__review-overview card card-body h-100"> <ul class="nav nav-tabs nav--tabs d-flex justify-content-center gap-2" role="tablist"> <li class="nav-item"> <h2 class="nav-link __inline-27 mb-0 tab_link active" href="#overview" data-toggle="tab" role="tab"> <?php echo e(translate('overview')); ?> </h2> </li> <li class="nav-item"> <h2 class="nav-link __inline-27 mb-0 tab_link" href="#reviews" data-toggle="tab" role="tab"> <?php echo e(translate('reviews')); ?> </h2> </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']): ?> <h4 class="fs-16 fw-bold mb-3"><?php echo e(translate('Detail_Description')); ?></h4> <div class="text-body col-lg-12 col-md-12 overflow-y-auto max-height-500px fs-14 text-justify details-text-justify rich-editor-html-content"> <?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" ? 'me-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" ? 'me-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" ? 'me-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" ? 'me-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" ? 'me-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', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->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 class="col-lg-3"> <?php ($companyReliability = getWebConfig('company_reliability')); ?> <?php if($companyReliability != null): ?> <div class="product-details-shipping-details"> <?php $__currentLoopData = $companyReliability; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($value['status'] == 1 && !empty($value['title'])): ?> <div class="shipping-details-bottom-border"> <div class="px-3 py-3"> <img class="<?php echo e(Session::get('direction') === "rtl" ? 'float-right ml-2' : 'mr-2'); ?> __img-20" src="<?php echo e(getStorageImages(path: imagePathProcessing(imageData: $value['image'],path: 'company-reliability'), type: 'source', source: 'public/assets/front-end/img'.'/'.$value['item'].'.png')); ?>" alt=""> <span><?php echo e(translate($value['title'])); ?></span> </div> </div> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> <?php if(getWebConfig(name: 'business_mode')=='multi'): ?> <div class="__inline-31"> <?php if($product->added_by=='seller'): ?> <?php if(isset($product->seller->shop)): ?> <div class="row position-relative"> <div class="col-12 position-relative"> <a href="<?php echo e(route('vendor-shop',['slug'=> $product?->seller?->shop->slug])); ?>" class="d-block"> <div class="d-flex __seller-author align-items-center"> <div> <img class="__img-60 img-circle" alt="" src="<?php echo e(getStorageImages(path: $product?->seller?->shop->image_full_url, type: 'shop')); ?>"> </div> <div class="ms-2 w-0 flex-grow"> <h2 class="fs-15 mb-2"> <?php echo e($product->seller->shop->name); ?> </h2> <?php if(checkVendorAbility(type: 'vendor', status: 'temporary_close', vendor: $product->seller->shop)): ?> <span class="badge-danger fs-12 px-3 rounded-full small"> <span><?php echo e(translate('Temporary_OFF')); ?></span> </span> <?php elseif(checkVendorAbility(type: 'vendor', status: 'vacation_status', vendor: $product->seller->shop)): ?> <span class="badge-danger fs-12 px-3 rounded-full small"> <span><?php echo e(translate('closed_Now')); ?></span> </span> <?php endif; ?> </div> </div> </a> </div> <div class="col-12 mt-2"> <div class="row d-flex justify-content-between"> <div class="col-6 "> <div class="d-flex justify-content-center align-items-center rounded __h-79px hr-right-before"> <div class="text-center"> <img src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/rating.svg')); ?>" class="mb-2" alt=""> <div class="__text-12px text-base"> <strong><?php echo e($totalReviews); ?></strong> <?php echo e(translate('reviews')); ?> </div> </div> </div> </div> <div class="col-6"> <div class="d-flex justify-content-center align-items-center rounded __h-79px"> <div class="text-center"> <img src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/products.svg')); ?>" class="mb-2" alt=""> <div class="__text-12px text-base"> <strong><?php echo e($productsForReview->total()); ?></strong> <?php echo e(translate('products')); ?> </div> </div> </div> </div> </div> </div> <div class="col-12 position-static mt-3"> <div class="chat_with_seller-buttons"> <?php if(auth('customer')->id()): ?> <button class="btn w-100 d-block text-center web--bg-primary text-white" data-toggle="modal" data-target="#chatting_modal" <?php if(checkVendorAbility(type: 'vendor', status: 'temporary_close', vendor: $product->seller->shop)): ?> disabled <?php endif; ?> > <img class="mb-1" alt="" src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/chat-16-filled-icon.png')); ?>"> <span class="d-none d-sm-inline-block text-capitalize"> <?php echo e(translate('chat_with_vendor')); ?> </span> </button> <?php else: ?> <a href="<?php echo e(route('customer.auth.login')); ?>" class="btn w-100 d-block text-center web--bg-primary text-white"> <img src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/chat-16-filled-icon.png')); ?>" class="mb-1" alt=""> <span class="d-none d-sm-inline-block text-capitalize"> <?php echo e(translate('chat_with_vendor')); ?> </span> </a> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php else: ?> <div class="row position-relative d-flex justify-content-between"> <div class="col-9"> <a href="<?php echo e(route('vendor-shop',['slug' => getInHouseShopConfig(key:'slug')])); ?>" class="row d-flex align-items-center"> <div> <img class="__inline-32" alt="" src="<?php echo e(getStorageImages(path: getInHouseShopConfig(key:'image_full_url'), type: 'shop')); ?>"> </div> <div> <div class="<?php echo e(session('direction') === "rtl" ? 'right' : 'ml-2'); ?> get-view-by-onclick" data-link="<?php echo e(route('vendor-shop',['slug' => getInHouseShopConfig(key:'slug')])); ?>"> <h2 class="font-bold __text-16px mb-1"> <?php echo e(getInHouseShopConfig(key: 'name')); ?> </h2> <?php if(checkVendorAbility(type: 'inhouse', status: 'temporary_close')): ?> <span class="badge-danger fs-12 px-3 rounded-full small"> <span><?php echo e(translate('Temporary_OFF')); ?></span> </span> <?php elseif(checkVendorAbility(type: 'inhouse', status: 'vacation_status')): ?> <span class="badge-danger fs-12 px-3 rounded-full small"> <span><?php echo e(translate('closed_Now')); ?></span> </span> <?php endif; ?> </div> <div class="fs-12 <?php echo e(session('direction') === "rtl" ? 'right' : 'ml-2'); ?>"><?php echo e(translate('Seller_info')); ?></div> </div> </a> </div> <div class="col-12 mt-2"> <div class="row d-flex justify-content-between"> <div class="col-6 "> <div class="d-flex justify-content-center align-items-center rounded __h-79px hr-right-before"> <div class="text-center"> <img src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/rating.svg')); ?>" class="mb-2" alt=""> <div class="__text-12px text-base"> <strong><?php echo e($totalReviews); ?></strong> <?php echo e(translate('reviews')); ?> </div> </div> </div> </div> <div class="col-6"> <div class="d-flex justify-content-center align-items-center rounded __h-79px"> <div class="text-center"> <img src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/products.svg')); ?>" class="mb-2" alt=""> <div class="__text-12px text-base"> <strong><?php echo e($productsForReview->total()); ?></strong> <?php echo e(translate('products')); ?> </div> </div> </div> </div> </div> </div> <div class="col-12 position-static mt-3"> <div class="chat_with_seller-buttons"> <?php if(auth('customer')->id()): ?> <button class="btn w-100 d-block text-center web--bg-primary text-white" data-toggle="modal" data-target="#chatting_modal" <?php echo e(checkVendorAbility(type: 'inhouse', status: 'temporary_close') ? 'disabled' : ''); ?> > <img class="mb-1" alt="" src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/chat-16-filled-icon.png')); ?>"> <span class="d-none d-sm-inline-block text-capitalize"> <?php echo e(translate('chat_with_vendor')); ?> </span> </button> <?php else: ?> <a href="<?php echo e(route('vendor-shop', ['slug' => getInHouseShopConfig(key:'slug')])); ?>" class="btn w-100 d-block text-center web--bg-primary text-white"> <img class="mb-1" alt="" src="<?php echo e(theme_asset(path: 'public/assets/front-end/img/chat-16-filled-icon.png')); ?>"> <span class="d-none d-sm-inline-block text-capitalize"> <?php echo e(translate('chat_with_vendor')); ?> </span> </a> <?php endif; ?> </div> </div> </div> <?php endif; ?> </div> <?php endif; ?> <div class="pt-4 pb-3 d-flex justify-content-between align-items-center"> <h2 class="__text-16px font-bold text-capitalize mb-0"> <?php if(getWebConfig(name: 'business_mode') == 'multi'): ?> <?php echo e(translate('more_from_the_store')); ?> <?php else: ?> <?php echo e(translate('you_may_also_like')); ?> <?php endif; ?> </h2> <?php if($product->added_by == 'seller' && isset($product->seller->shop)): ?> <a href="<?php echo e(route('vendor-shop',['slug'=> $product->seller->shop->slug])); ?>" class="text-primary font-bold __text-14px"> <?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 else: ?> <a href="<?php echo e(route('vendor-shop', ['slug'=> getInHouseShopConfig(key: 'slug')])); ?>" class="text-primary font-bold __text-14px"> <?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> <?php $__currentLoopData = $moreProductFromSeller; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo $__env->make('web-views.partials._seller-products-product-details',['product' => $item, 'decimal_point_settings' => $decimalPointSettings], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> <?php if(count($relatedProducts)>0): ?> <div class="container rtl text-align-direction"> <div class="card __card border-0 mb-4"> <div class="card-body"> <div class="row flex-between align-items-center mb-2"> <div class="ms-1"> <h2 class="text-capitalize font-bold fs-16 mb-0"><?php echo e(translate('similar_products')); ?></h2> </div> <div class="view_all d-flex justify-content-center align-items-center"> <div> <?php if(!empty($product?->category?->slug)): ?> <a class="text-capitalize view-all-text web-text-primary me-1" href="<?php echo e(route('category-products', ['slug' => $product?->category?->slug])); ?>"> <?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], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->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("web-views.products._product-details-sticky", ['productDetails' => $product], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php if($product?->preview_file_full_url['path']): ?> <?php echo $__env->make('web-views.partials._product-preview-modal', ['previewFileInfo' => $previewFileInfo], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php endif; ?> <?php echo $__env->make('layouts.front-end.partials.modal._chatting',['seller'=>$product->seller, 'user_type'=>$product->added_by], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <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> $(document).on('change', 'input[name="color"]', function() { const selectedColor = $(this).val(); const colors = <?php echo json_encode(json_decode($product->colors), 15, 512) ?>; console.log(colors); const colorIndex = colors.indexOf(selectedColor); if (colorIndex !== -1) { const mainSwiper = document.querySelector('.quickviewSlider2').swiper; const thumbSwiper = document.querySelector('.quickviewSliderThumb2').swiper; mainSwiper.slideTo(colorIndex); thumbSwiper.slideTo(colorIndex); } }); </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', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/pollibazaar/public_html/resources/themes/default/web-views/products/details.blade.php ENDPATH**/ ?>
Coded With 💗 by
0x6ick