{Ninja-Shell}
Home
Info
Upload
Command
View /etc/passwd
cPanel Reset Password
Filename: /var/www//arsu/storage/framework//views///4a6cafefc694b825d7c80f1cd25703e91d84e3c2.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; ?> <!-- Viewport--> <?php if($product['meta_image'] != null): ?> <meta property="og:image" content="<?php echo e(asset('storage/app/public/product/meta')); ?>/<?php echo e($product->meta_image); ?>" /> <meta property="twitter:card" content="<?php echo e(asset('storage/app/public/product/meta')); ?>/<?php echo e($product->meta_image); ?>" /> <?php else: ?> <meta property="og:image" content="<?php echo e(asset('storage/app/public/product/thumbnail')); ?>/<?php echo e($product->thumbnail); ?>" /> <meta property="twitter:card" content="<?php echo e(asset('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 $product['meta_description']; ?>"> <meta property="og:description" content="<?php echo $product['meta_description']; ?>"> <?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])); ?>"> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <!-- breadcrumb area start --> <section class="breadcrumb__area include-bg pt-30 pb-30 mb-50 breadcrumb__style-2 include-bg pt-30 pb-30" > <div class="container"> <div class="breadcrumb__content p-relative z-index-1"> <div class="breadcrumb__list js_breadcrumb_reduce_length_on_mobile"> <span> <a href="<?php echo e(route('home')); ?>">Home</a> </span> <span> <a href="<?php echo e(route('products')); ?>">Products</a> </span> <span> <a href="<?php echo e(route('products', ['id' => $product->category?->id, 'data_from' => 'category', 'page' => 1])); ?>"><?php echo e($product->category?->name); ?></a> </span> <span> <?php echo e($product['name']); ?> </span> </div> </div> </div> </section> <!-- breadcrumb area end --> <?php $overallRating = \App\CPU\ProductManager::get_overall_rating($product->reviews); ?> <!-- product details area start --> <section class="tp-product-details-area "> <div class="tp-product-details-top pb-115"> <div class="container"> <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="row"> <div class="col-xl-7 col-lg-6"> <div class="tp-product-details-thumb-wrapper tp-tab d-sm-flex"> <nav> <div class="nav nav-tabs flex-sm-column " id="productDetailsNavThumb" role="tablist"> <?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): ?> <button class="nav-link <?php echo e($key == 0 ? 'active' : ''); ?>" id="nav-<?php echo e($photo->color); ?>-tab" data-bs-toggle="tab" data-bs-target="#nav-<?php echo e($photo->color); ?>" type="button" role="tab" aria-controls="nav-<?php echo e($photo->color); ?>" aria-selected="true"> <img id="preview-img<?php echo e($photo->color); ?>" src="<?php echo e(asset("storage/app/public/product/$photo->image_name")); ?>" onerror="this.src='<?php echo e(asset('public/assets/front-end/img/image-place-holder.png')); ?>'" alt=""> </button> <?php else: ?> <button class="nav-link <?php echo e($key == 0 ? 'active' : ''); ?>" id="nav-<?php echo e($key); ?>-tab" data-bs-toggle="tab" data-bs-target="#nav-<?php echo e($key); ?>" type="button" role="tab" aria-controls="nav-<?php echo e($key); ?>" aria-selected="true"> <img id="preview-img<?php echo e($key); ?>" src="<?php echo e(asset("storage/app/public/product/$photo->image_name")); ?>" onerror="this.src='<?php echo e(asset('public/assets/front-end/img/image-place-holder.png')); ?>'" alt=""> </button> <?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(); ?> <button class="nav-link <?php echo e($key == 0 ? 'active' : ''); ?>" id="nav-<?php echo e($key); ?>-tab" data-bs-toggle="tab" data-bs-target="#nav-<?php echo e($key); ?>" type="button" role="tab" aria-controls="nav-<?php echo e($key); ?>" aria-selected="true"> <img id="preview-img<?php echo e($key); ?>" onerror="this.src='<?php echo e(asset('public/assets/front-end/img/image-place-holder.png')); ?>'" src="<?php echo e(asset("storage/app/public/product/$photo")); ?>" alt=""> </button> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php endif; ?> </div> </nav> <div class="tab-content m-img" id="productDetailsNavContent"> <?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="tab-pane fade show <?php echo e($key == 0 ? 'active' : ''); ?>" id="nav-<?php echo e($key); ?>" role="tabpanel" aria-labelledby="nav-<?php echo e($key); ?>-tab" tabindex="0"> <div class="tp-product-details-nav-main-thumb"> <img onerror="this.src='<?php echo e(asset('public/assets/front-end/img/image-place-holder.png')); ?>'" src="<?php echo e(asset("storage/app/public/product/$photo->image_name")); ?>" alt=""> </div> </div> <?php else: ?> <div class="tab-pane fade show <?php echo e($key == 0 ? 'active' : ''); ?>" id="nav-<?php echo e($key); ?>" role="tabpanel" aria-labelledby="nav-<?php echo e($key); ?>-tab" tabindex="0"> <div class="tp-product-details-nav-main-thumb"> <img onerror="this.src='<?php echo e(asset('public/assets/front-end/img/image-place-holder.png')); ?>'" src="<?php echo e(asset("storage/app/public/product/$photo->image_name")); ?>" alt=""> </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="tab-pane fade show <?php echo e($key == 0 ? 'active' : ''); ?>" id="nav-<?php echo e($key); ?>" role="tabpanel" aria-labelledby="nav-<?php echo e($key); ?>-tab" tabindex="0"> <div class="tp-product-details-nav-main-thumb"> <img onerror="this.src='<?php echo e(asset('public/assets/front-end/img/image-place-holder.png')); ?>'" src="<?php echo e(asset("storage/app/public/product/$photo")); ?>" alt=""> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php endif; ?> </div> </div> </div> <!-- col end --> <div class="col-xl-5 col-lg-6"> <div class="tp-product-details-wrapper"> <div class="tp-product-details-category"> <span><?php echo e($product->category?->name); ?></span> </div> <h3 class="tp-product-details-title"><?php echo e($product['name']); ?></h3> <!-- inventory details --> <div class="tp-product-details-inventory d-flex align-items-center mb-10"> <div class="tp-product-details-stock mb-10"> <?php if($product['product_type'] == 'physical' && $product['current_stock'] <= 0): ?> <span class="text-danger"><?php echo e(\App\CPU\translate('out_of_stock')); ?></span> <?php else: ?> <span>In Stock</span> <?php endif; ?> </div> <div class="tp-product-details-rating-wrapper d-flex align-items-center mb-10"> <div class="tp-product-details-rating"> <?php for($inc = 0; $inc < 5; $inc++): ?> <?php if($inc < $overallRating[0]): ?> <span><i class="fa-solid fa-star"></i></span> <?php else: ?> <span style="color: black"><i class="fa-solid fa-star"></i></span> <?php endif; ?> <?php endfor; ?> </div> <div class="tp-product-details-reviews"> <span>(<?php echo e($overallRating[1]); ?> <?php echo e(\App\CPU\translate('Reviews')); ?>)</span> </div> </div> </div> <!-- price --> <div class="tp-product-details-price-wrapper mb-20"> <span class="tp-product-details-price old-price"> <?php if($product->discount > 0): ?> <?php echo e(\App\CPU\Helpers::currency_converter($product->unit_price)); ?> <?php endif; ?> </span> <span class="tp-product-details-price new-price"> <?php echo e(\App\CPU\Helpers::get_price_range($product)); ?> </span> </div> <!-- variations --> <div class="tp-product-details-variation"> <!-- single item --> <?php if(count(json_decode($product->colors)) > 0): ?> <div class="tp-product-details-variation-item"> <h4 class="tp-product-details-variation-title"> <?php echo e(\App\CPU\translate('color')); ?> : </h4> <div class="tp-product-details-variation-list"> <?php $__currentLoopData = json_decode($product->colors); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $color): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <button type="button" class="color tp-color-variation-btn <?php if($key == 0): ?> active <?php endif; ?>" onclick="quick_view_preview_image_by_color('<?php echo e(str_replace('#', '', $color)); ?>')"> <span data-bg-color="<?php echo e($color); ?>"></span> <span class="tp-color-variation-tootltip"><?php echo e($color); ?></span> <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; ?>> </button> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php endif; ?> <?php $qty = 0; foreach (json_decode($product->variation) as $key => $variation) { $qty += $variation->qty; } ?> <?php $__currentLoopData = json_decode($product->choice_options); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $choice): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="bb-product-attribute-swatch text-swatches-wrapper attribute-swatches-wrapper" data-type="text" data-slug="size"> <h4 class="bb-product-attribute-swatch-title"><?php echo e($choice->title); ?>:</h4> <ul class="bb-product-attribute-swatch-list text-swatch attribute-swatch"> <?php $__currentLoopData = $choice->options; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li data-slug="<?php echo e($option); ?>" data-id="<?php echo e($option); ?>" class="bb-product-attribute-swatch-item attribute-swatch-item"> <label> <input id="<?php echo e($choice->name); ?>-<?php echo e($option); ?>" name="<?php echo e($choice->name); ?>" data-slug="<?php echo e($option); ?>" type="radio" value="<?php echo e($option); ?>" class="product-filter-item" <?php if($key == 0): ?> checked <?php endif; ?>> <span><?php echo e($option); ?></span> </label> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <!-- actions --> <div class="tp-product-details-action-wrapper"> <div id="chosen_price_div"> <div class="d-flex justify-content-center-- align-items-center <?php echo e(Session::get('direction') === 'rtl' ? 'ml-2' : 'mr-2'); ?> mb-2"> <div class="product-description-label"> <strong><?php echo e(\App\CPU\translate('total_price')); ?></strong> : </div> <strong id="chosen_price"></strong> </div> </div> <h3 class="tp-product-details-action-title">Quantity</h3> <div class="tp-product-details-action-item-wrapper d-flex align-items-center"> <div class="tp-product-details-quantity"> <div class="tp-product-quantity mb-15 mr-15"> <span class="tp-cart-minus"> <svg width="11" height="2" viewBox="0 0 11 2" fill="none" xmlns="../../../www.w3.org/2000/svg.html"> <path d="M1 1H10" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /> </svg> </span> <input class="tp-cart-input input-number" type="text" name="quantity" value="<?php echo e($product->minimum_order_qty ?? 1); ?>" product-type="<?php echo e($product->product_type); ?>" min="<?php echo e($product->minimum_order_qty ?? 1); ?>" max="100"> <span class="tp-cart-plus"> <svg width="11" height="12" viewBox="0 0 11 12" fill="none" xmlns="../../../www.w3.org/2000/svg.html"> <path d="M1 6H10" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /> <path d="M5.5 10.5V1.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /> </svg> </span> </div> </div> <div class="tp-product-details-add-to-cart mb-15 w-100"> <button type="button" class="tp-product-details-add-to-cart-btn w-100" onclick="addToCart()"><?php echo e(\App\CPU\translate('Add To Cart')); ?></button> </div> </div> <button type="button" class="tp-product-details-buy-now-btn w-100" onclick="buy_now()"><?php echo e(\App\CPU\translate('Buy Now')); ?></button> </div> <div class="tp-product-details-action-sm"> <button type="button" class="tp-product-details-action-sm-btn" onclick="addWishlist('<?php echo e($product['id']); ?>')"> <svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="../../../www.w3.org/2000/svg.html"> <path fill-rule="evenodd" clip-rule="evenodd" d="M2.33541 7.54172C3.36263 10.6766 7.42094 13.2113 8.49945 13.8387C9.58162 13.2048 13.6692 10.6421 14.6635 7.5446C15.3163 5.54239 14.7104 3.00621 12.3028 2.24514C11.1364 1.8779 9.77578 2.1014 8.83648 2.81432C8.64012 2.96237 8.36757 2.96524 8.16974 2.81863C7.17476 2.08487 5.87499 1.86999 4.69024 2.24514C2.28632 3.00549 1.68259 5.54167 2.33541 7.54172ZM8.50115 15C8.4103 15 8.32018 14.9784 8.23812 14.9346C8.00879 14.8117 2.60674 11.891 1.29011 7.87081C1.28938 7.87081 1.28938 7.8701 1.28938 7.8701C0.462913 5.33895 1.38316 2.15812 4.35418 1.21882C5.7492 0.776121 7.26952 0.97088 8.49895 1.73195C9.69029 0.993159 11.2729 0.789057 12.6401 1.21882C15.614 2.15956 16.5372 5.33966 15.7115 7.8701C14.4373 11.8443 8.99571 14.8088 8.76492 14.9332C8.68286 14.9777 8.592 15 8.50115 15Z" fill="currentColor" /> <path d="M8.49945 13.8387L8.42402 13.9683L8.49971 14.0124L8.57526 13.9681L8.49945 13.8387ZM14.6635 7.5446L14.5209 7.4981L14.5207 7.49875L14.6635 7.5446ZM12.3028 2.24514L12.348 2.10211L12.3478 2.10206L12.3028 2.24514ZM8.83648 2.81432L8.92678 2.93409L8.92717 2.9338L8.83648 2.81432ZM8.16974 2.81863L8.25906 2.69812L8.25877 2.69791L8.16974 2.81863ZM4.69024 2.24514L4.73548 2.38815L4.73552 2.38814L4.69024 2.24514ZM8.23812 14.9346L8.16727 15.0668L8.16744 15.0669L8.23812 14.9346ZM1.29011 7.87081L1.43266 7.82413L1.39882 7.72081H1.29011V7.87081ZM1.28938 7.8701L1.43938 7.87009L1.43938 7.84623L1.43197 7.82354L1.28938 7.8701ZM4.35418 1.21882L4.3994 1.36184L4.39955 1.36179L4.35418 1.21882ZM8.49895 1.73195L8.42 1.85949L8.49902 1.90841L8.57801 1.85943L8.49895 1.73195ZM12.6401 1.21882L12.6853 1.0758L12.685 1.07572L12.6401 1.21882ZM15.7115 7.8701L15.5689 7.82356L15.5686 7.8243L15.7115 7.8701ZM8.76492 14.9332L8.69378 14.8011L8.69334 14.8013L8.76492 14.9332ZM2.19287 7.58843C2.71935 9.19514 4.01596 10.6345 5.30013 11.744C6.58766 12.8564 7.88057 13.6522 8.42402 13.9683L8.57487 13.709C8.03982 13.3978 6.76432 12.6125 5.49626 11.517C4.22484 10.4185 2.97868 9.02313 2.47795 7.49501L2.19287 7.58843ZM8.57526 13.9681C9.12037 13.6488 10.4214 12.8444 11.7125 11.729C12.9999 10.6167 14.2963 9.17932 14.8063 7.59044L14.5207 7.49875C14.0364 9.00733 12.7919 10.4 11.5164 11.502C10.2446 12.6008 8.9607 13.3947 8.42364 13.7093L8.57526 13.9681ZM14.8061 7.59109C15.1419 6.5613 15.1554 5.39131 14.7711 4.37633C14.3853 3.35729 13.5989 2.49754 12.348 2.10211L12.2576 2.38816C13.4143 2.75381 14.1347 3.54267 14.4905 4.48255C14.8479 5.42648 14.8379 6.52568 14.5209 7.4981L14.8061 7.59109ZM12.3478 2.10206C11.137 1.72085 9.72549 1.95125 8.7458 2.69484L8.92717 2.9338C9.82606 2.25155 11.1357 2.03494 12.2577 2.38821L12.3478 2.10206ZM8.74618 2.69455C8.60221 2.8031 8.40275 2.80462 8.25906 2.69812L8.08043 2.93915C8.33238 3.12587 8.67804 3.12163 8.92678 2.93409L8.74618 2.69455ZM8.25877 2.69791C7.225 1.93554 5.87527 1.71256 4.64496 2.10213L4.73552 2.38814C5.87471 2.02742 7.12452 2.2342 8.08071 2.93936L8.25877 2.69791ZM4.64501 2.10212C3.39586 2.49722 2.61099 3.35688 2.22622 4.37554C1.84299 5.39014 1.85704 6.55957 2.19281 7.58826L2.478 7.49518C2.16095 6.52382 2.15046 5.42513 2.50687 4.48154C2.86175 3.542 3.58071 2.7534 4.73548 2.38815L4.64501 2.10212ZM8.50115 14.85C8.43415 14.85 8.36841 14.8341 8.3088 14.8023L8.16744 15.0669C8.27195 15.1227 8.38645 15.15 8.50115 15.15V14.85ZM8.30897 14.8024C8.19831 14.7431 6.7996 13.9873 5.26616 12.7476C3.72872 11.5046 2.07716 9.79208 1.43266 7.82413L1.14756 7.9175C1.81968 9.96978 3.52747 11.7277 5.07755 12.9809C6.63162 14.2373 8.0486 15.0032 8.16727 15.0668L8.30897 14.8024ZM1.29011 7.72081C1.31557 7.72081 1.34468 7.72745 1.37175 7.74514C1.39802 7.76231 1.41394 7.78437 1.42309 7.8023C1.43191 7.81958 1.43557 7.8351 1.43727 7.84507C1.43817 7.8504 1.43869 7.85518 1.43898 7.85922C1.43913 7.86127 1.43923 7.8632 1.43929 7.865C1.43932 7.86591 1.43934 7.86678 1.43936 7.86763C1.43936 7.86805 1.43937 7.86847 1.43937 7.86888C1.43937 7.86909 1.43937 7.86929 1.43938 7.86949C1.43938 7.86959 1.43938 7.86969 1.43938 7.86979C1.43938 7.86984 1.43938 7.86992 1.43938 7.86994C1.43938 7.87002 1.43938 7.87009 1.28938 7.8701C1.13938 7.8701 1.13938 7.87017 1.13938 7.87025C1.13938 7.87027 1.13938 7.87035 1.13938 7.8704C1.13938 7.8705 1.13938 7.8706 1.13938 7.8707C1.13938 7.8709 1.13938 7.87111 1.13938 7.87131C1.13939 7.87173 1.13939 7.87214 1.1394 7.87257C1.13941 7.87342 1.13943 7.8743 1.13946 7.8752C1.13953 7.87701 1.13962 7.87896 1.13978 7.88103C1.14007 7.88512 1.14059 7.88995 1.14151 7.89535C1.14323 7.90545 1.14694 7.92115 1.15585 7.93861C1.16508 7.95672 1.18114 7.97896 1.20762 7.99626C1.2349 8.01409 1.26428 8.02081 1.29011 8.02081V7.72081ZM1.43197 7.82354C0.623164 5.34647 1.53102 2.26869 4.3994 1.36184L4.30896 1.0758C1.23531 2.04755 0.302663 5.33142 1.14679 7.91665L1.43197 7.82354ZM4.39955 1.36179C5.7527 0.932384 7.22762 1.12136 8.42 1.85949L8.57791 1.60441C7.31141 0.820401 5.74571 0.619858 4.30881 1.07585L4.39955 1.36179ZM8.57801 1.85943C9.73213 1.14371 11.2694 0.945205 12.5951 1.36192L12.685 1.07572C11.2763 0.632908 9.64845 0.842602 8.4199 1.60447L8.57801 1.85943ZM12.5948 1.36184C15.4664 2.27018 16.3769 5.34745 15.5689 7.82356L15.8541 7.91663C16.6975 5.33188 15.7617 2.04893 12.6853 1.07581L12.5948 1.36184ZM15.5686 7.8243C14.9453 9.76841 13.2952 11.4801 11.7526 12.7288C10.2142 13.974 8.80513 14.7411 8.69378 14.8011L8.83606 15.0652C8.9555 15.0009 10.3826 14.2236 11.9413 12.9619C13.4957 11.7037 15.2034 9.94602 15.8543 7.91589L15.5686 7.8243ZM8.69334 14.8013C8.6337 14.8337 8.56752 14.85 8.50115 14.85V15.15C8.61648 15.15 8.73201 15.1217 8.83649 15.065L8.69334 14.8013Z" fill="currentColor" /> <path fill-rule="evenodd" clip-rule="evenodd" d="M12.8384 6.93209C12.5548 6.93209 12.3145 6.71865 12.2911 6.43693C12.2427 5.84618 11.8397 5.34743 11.266 5.1656C10.9766 5.07361 10.8184 4.76962 10.9114 4.48718C11.0059 4.20402 11.3129 4.05023 11.6031 4.13934C12.6017 4.45628 13.3014 5.32371 13.3872 6.34925C13.4113 6.64606 13.1864 6.90622 12.8838 6.92993C12.8684 6.93137 12.8538 6.93209 12.8384 6.93209Z" fill="currentColor" /> <path d="M12.8384 6.93209C12.5548 6.93209 12.3145 6.71865 12.2911 6.43693C12.2427 5.84618 11.8397 5.34743 11.266 5.1656C10.9766 5.07361 10.8184 4.76962 10.9114 4.48718C11.0059 4.20402 11.3129 4.05023 11.6031 4.13934C12.6017 4.45628 13.3014 5.32371 13.3872 6.34925C13.4113 6.64606 13.1864 6.90622 12.8838 6.92993C12.8684 6.93137 12.8538 6.93209 12.8384 6.93209" stroke="currentColor" stroke-width="0.3" /> </svg> <?php echo e(\App\CPU\translate('Add To Wishlist')); ?> </button> </div> <div class="tp-product-details-query"> <div class="tp-product-details-query-item d-flex align-items-center"> <span><?php echo e(\App\CPU\translate('SKU')); ?>: </span> <p><?php echo e($product['code']); ?></p> </div> <div class="tp-product-details-query-item d-flex align-items-center"> <span><?php echo e(\App\CPU\translate(key: 'Category')); ?>: </span> <p><a href="<?php echo e(route('products', ['id' => $product->category?->id, 'data_from' => 'category', 'page' => 1])); ?>"><?php echo e($product->category?->name); ?></a> </p> </div> <div class="tp-product-details-query-item d-flex align-items-center"> <span><?php echo e(\App\CPU\translate('Tags')); ?>: </span> <p> <?php $__currentLoopData = $product->tags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo e($tag->name); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </p> </div> </div> <div class="tp-product-details-social"> <span><?php echo e(\App\CPU\translate(key: 'Share')); ?>: </span> <a href="javascript:" onclick="shareOnFacebook('<?php echo e(route('product', $product->slug)); ?>', 'facebook.com/sharer/sharer.php?u='); return false;"><i class="fa-brands fa-facebook-f"></i></a> <a href="javascript:" onclick="shareOnFacebook('<?php echo e(route('product', $product->slug)); ?>', 'twitter.com/intent/tweet?text='); return false;"><i class="fa-brands fa-twitter"></i></a> <a href="javascript:" onclick="shareOnFacebook('<?php echo e(route('product', $product->slug)); ?>', 'linkedin.com/shareArticle?mini=true&url='); return false;"><i class="fa-brands fa-linkedin-in"></i></a> <a href="javascript:" onclick="shareOnFacebook('<?php echo e(route('product', $product->slug)); ?>', 'api.whatsapp.com/send?text='); return false;"><i class="fa-brands fa-whatsapp"></i></a> </div> <!-- <div class="tp-product-details-msg mb-15"> <ul> <li>30 days easy returns</li> <li>Order yours before 2.30pm for same day dispatch</li> </ul> </div> <div class="tp-product-details-payment d-flex align-items-center flex-wrap justify-content-between"> <p>Guaranteed safe <br> & secure checkout</p> </div> --> </div> </div> </div> </form> </div> </div> <div class="tp-product-details-bottom pb-140"> <div class="container"> <div class="row"> <div class="col-xl-12"> <div class="tp-product-details-tab-nav tp-tab"> <nav> <div class="nav nav-tabs justify-content-center p-relative tp-product-tab" id="navPresentationTab" role="tablist"> <button class="nav-link active" id="nav-description-tab" data-bs-toggle="tab" data-bs-target="#nav-description" type="button" role="tab" aria-controls="nav-description" aria-selected="true">Description</button> <button class="nav-link" id="nav-review-tab" data-bs-toggle="tab" data-bs-target="#nav-review" type="button" role="tab" aria-controls="nav-review" aria-selected="false">Reviews ( <?php echo e($reviews_of_product->total()); ?> )</button> <span id="productTabMarker" class="tp-product-details-tab-line"></span> </div> </nav> <div class="tab-content" id="navPresentationTabContent"> <div class="tab-pane fade show active" id="nav-description" role="tabpanel" aria-labelledby="nav-description-tab" tabindex="0"> <div class="tp-product-details-desc-wrapper pt-80 tp-pro-details-ct"> <?php if($product->video_url != null): ?> <div class="col-12 mb-4"> <iframe width="420" height="315" src="<?php echo e($product->video_url); ?>"> </iframe> </div> <?php endif; ?> <div></div> <?php echo $product['details']; ?> </div> </div> <div class="tab-pane fade" id="nav-review" role="tabpanel" aria-labelledby="nav-review-tab" tabindex="0"> <div class="tp-product-details-review-wrapper pt-60"> <div class="row"> <div class="col-lg-6"> <div class="tp-product-details-review-statics"> <!-- number --> <div class="tp-product-details-review-number d-inline-block mb-50"> <h3 class="tp-product-details-review-number-title">Customer reviews </h3> <div class="tp-product-details-review-summery d-flex align-items-center"> <div class="tp-product-details-review-summery-value"> <span><?php echo e($overallRating[0]); ?></span> </div> <div class="tp-product-details-review-summery-rating d-flex align-items-center"> <?php if(round($overallRating[0]) == 5): ?> <?php for($i = 0; $i < 5; $i++): ?> <span><i class="fa-solid fa-star"></i></span> <?php endfor; ?> <?php endif; ?> <?php if(round($overallRating[0]) == 4): ?> <?php for($i = 0; $i < 4; $i++): ?> <span><i class="fa-solid fa-star"></i></span> <?php endfor; ?> <span style="color: black"><i class="fa-solid fa-star"></i></span> <?php endif; ?> <?php if(round($overallRating[0]) == 3): ?> <?php for($i = 0; $i < 3; $i++): ?> <span><i class="fa-solid fa-star"></i></span> <?php endfor; ?> <?php for($j = 0; $j < 2; $j++): ?> <span style="color: black"><i class="fa-solid fa-star"></i></span> <?php endfor; ?> <?php endif; ?> <?php if(round($overallRating[0]) == 2): ?> <?php for($i = 0; $i < 2; $i++): ?> <span><i class="fa-solid fa-star"></i></span> <?php endfor; ?> <?php for($j = 0; $j < 3; $j++): ?> <span style="color: black"><i class="fa-solid fa-star"></i></span> <?php endfor; ?> <?php endif; ?> <?php if(round($overallRating[0]) == 1): ?> <?php for($i = 0; $i < 4; $i++): ?> <span style="color: black"><i class="fa-solid fa-star"></i></span> <?php endfor; ?> <span><i class="fa-solid fa-star"></i></span> <?php endif; ?> <?php if(round($overallRating[0]) == 0): ?> <?php for($i = 0; $i < 5; $i++): ?> <span style="color: black"><i class="fa-solid fa-star"></i></span> <?php endfor; ?> <?php endif; ?> <p>( <?php echo e($reviews_of_product->total()); ?> Reviews)</p> </div> </div> <div class="tp-product-details-review-rating-list"> <!-- single item --> <div class="tp-product-details-review-rating-item d-flex align-items-center"> <span>5 Start</span> <div class="tp-product-details-review-rating-bar"> <span class="tp-product-details-review-rating-bar-inner" data-width="<?php echo $widthRating = $rating[0] != 0 ? ($rating[0] / $overallRating[1]) * 100 : 0; ?>%"></span> </div> <div class="tp-product-details-review-rating-percent"> <span><?php echo $widthRating = $rating[0] != 0 ? ($rating[0] / $overallRating[1]) * 100 : 0; ?>%</span> </div> </div> <!-- end single item --> <!-- single item --> <div class="tp-product-details-review-rating-item d-flex align-items-center"> <span>4 Start</span> <div class="tp-product-details-review-rating-bar"> <span class="tp-product-details-review-rating-bar-inner" data-width="<?php echo $widthRating = $rating[1] != 0 ? ($rating[1] / $overallRating[1]) * 100 : 0; ?>%"></span> </div> <div class="tp-product-details-review-rating-percent"> <span><?php echo $widthRating = $rating[1] != 0 ? ($rating[1] / $overallRating[1]) * 100 : 0; ?>%</span> </div> </div> <!-- end single item --> <!-- single item --> <div class="tp-product-details-review-rating-item d-flex align-items-center"> <span>3 Start</span> <div class="tp-product-details-review-rating-bar"> <span class="tp-product-details-review-rating-bar-inner" data-width="<?php echo $widthRating = $rating[2] != 0 ? ($rating[2] / $overallRating[1]) * 100 : 0; ?>%"></span> </div> <div class="tp-product-details-review-rating-percent"> <span><?php echo $widthRating = $rating[2] != 0 ? ($rating[2] / $overallRating[1]) * 100 : 0; ?>%</span> </div> </div> <!-- end single item --> <!-- single item --> <div class="tp-product-details-review-rating-item d-flex align-items-center"> <span>2 Start</span> <div class="tp-product-details-review-rating-bar"> <span class="tp-product-details-review-rating-bar-inner" data-width="<?php echo $widthRating = $rating[3] != 0 ? ($rating[3] / $overallRating[1]) * 100 : 0; ?>%"></span> </div> <div class="tp-product-details-review-rating-percent"> <span><?php echo $widthRating = $rating[3] != 0 ? ($rating[3] / $overallRating[1]) * 100 : 0; ?>%</span> </div> </div> <!-- end single item --> <!-- single item --> <div class="tp-product-details-review-rating-item d-flex align-items-center"> <span>1 Start</span> <div class="tp-product-details-review-rating-bar"> <span class="tp-product-details-review-rating-bar-inner" data-width="<?php echo $widthRating = $rating[4] != 0 ? ($rating[4] / $overallRating[1]) * 100 : 0; ?>%"></span> </div> <div class="tp-product-details-review-rating-percent"> <span><?php echo $widthRating = $rating[4] != 0 ? ($rating[4] / $overallRating[1]) * 100 : 0; ?>%</span> </div> </div> <!-- end single item --> </div> </div> <!-- reviews --> <div class="tp-product-details-review-list pr-110"> <h3 class="tp-product-details-review-title">Rating & Review</h3> <div id="product-review-list"> <?php if(count($product->reviews) == 0): ?> <div class="card"> <div class="card-body"> <h6 class="text-danger text-center m-0"> <?php echo e(\App\CPU\translate('product_review_not_available')); ?> </h6> </div> </div> <?php endif; ?> </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" style="background: <?php echo e($web_config['primary_color']); ?>;" onclick="load_review()"><?php echo e(\App\CPU\translate('view more')); ?></button> </div> </div> <?php endif; ?> </div> </div> </div> <!-- end col --> <?php if(auth('customer')->id() !== null && auth('customer')->id() == ''): ?> <div class="col-lg-6"> <div class="tp-product-details-review-form"> <h3 class="tp-product-details-review-form-title">Review this product </h3> <p>Your email address will not be published. Required fields are marked *</p> <form action="#"> <div class="tp-product-details-review-form-rating d-flex align-items-center"> <p>Your Rating :</p> <div class="tp-product-details-review-form-rating-icon d-flex align-items-center"> <span><i class="fa-solid fa-star"></i></span> <span><i class="fa-solid fa-star"></i></span> <span><i class="fa-solid fa-star"></i></span> <span><i class="fa-solid fa-star"></i></span> <span><i class="fa-solid fa-star"></i></span> </div> </div> <div class="tp-product-details-review-input-wrapper"> <div class="tp-product-details-review-input-box"> <div class="tp-product-details-review-input"> <textarea id="msg" name="msg" placeholder="Write your review here..."></textarea> </div> <div class="tp-product-details-review-input-title"> <label for="msg">Your Review</label> </div> </div> <div class="tp-product-details-review-input-box"> <div class="tp-product-details-review-input"> <input name="name" id="name" type="text" placeholder="Shahnewaz Sakil"> </div> <div class="tp-product-details-review-input-title"> <label for="name">Your Name</label> </div> </div> <div class="tp-product-details-review-input-box"> <div class="tp-product-details-review-input"> <input name="email" id="email" type="email" placeholder="example@mail.com"> </div> <div class="tp-product-details-review-input-title"> <label for="email">Your Email</label> </div> </div> </div> <div class="tp-product-details-review-btn-wrapper"> <button class="tp-product-details-review-btn">Submit</button> </div> </form> </div> </div> <?php endif; ?> </div> </div> </div> </div> </div> </div> </div> </div> </div> </section> <!-- product details area end --> <section class="tp-related-product pb-50"> <div class="container"> <div class="tp-section-title-wrapper-6 text-center mb-40"> <h4 class="breadcrumb__title pt-50 pb-50"><?php echo e(\App\CPU\translate('related_products')); ?></h4> </div> <div class="row"> <div class="tp-product-related-slider"> <div class="tp-product-related-slider-active swiper-container mb-10 swiper-container-initialized swiper-container-horizontal swiper-container-pointer-events"> <div class="swiper-wrapper" id="swiper-wrapper-b77f59cdda9bad2f" aria-live="polite" style="transform: translate3d(0px, 0px, 0px);"> <?php $__currentLoopData = $relatedProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $relatedProduct): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="swiper-slide swiper-slide-active" role="group" aria-label="1 / 4" style="width: 306px; margin-right: 24px;"> <?php echo $__env->make('web-views.partials._product-card-1', [ 'product' => $relatedProduct, 'decimal_point_settings' => $decimal_point_settings, ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span> </div> <div class="tp-related-swiper-scrollbar tp-swiper-scrollbar" style="display: none;"> <div class="tp-swiper-scrollbar-drag" style="transform: translate3d(0px, 0px, 0px); width: 0px;"> </div> </div> </div> </div> </div> </section> <?php $__env->stopSection(); ?> <?php $__env->startPush('script'); ?> <script type="text/javascript"> cartQuantityInitialize(); getVariantPrice(); $('#add-to-cart-form input').on('change', function() { getVariantPrice(); }); function showInstaImage(link) { $("#attachment-view").attr("src", link); $('#show-modal-view').modal('toggle') } function focus_preview_image_by_color(key) { $('a[href="#image' + key + '"]')[0].click(); } </script> <script> $(document).ready(function() { load_review(); }); let load_review_count = 1; function load_review() { $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="_token"]').attr('content') } }); $.ajax({ type: "post", url: '<?php echo e(route('review-list-product')); ?>', data: { product_id: <?php echo e($product->id); ?>, offset: load_review_count }, success: function(data) { $('#product-review-list').append(data.productReview) if (data.not_empty == 0 && load_review_count > 2) { toastr.info('<?php echo e(\App\CPU\translate('no more review remain to load')); ?>', { CloseButton: true, ProgressBar: true }); console.log('iff'); } } }); load_review_count++ } </script> <script> $('#contact-seller').on('click', function(e) { // $('#seller_details').css('height', '200px'); $('#seller_details').animate({ 'height': '276px' }); $('#msg-option').css('display', 'block'); }); $('#sendBtn').on('click', function(e) { e.preventDefault(); let msgValue = $('#msg-option').find('textarea').val(); let data = { message: msgValue, shop_id: $('#msg-option').find('textarea').attr('shop-id'), seller_id: $('.msg-option').find('.seller_id').attr('seller-id'), } if (msgValue != '') { $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="_token"]').attr('content') } }); $.ajax({ type: "post", url: '<?php echo e(route('messages_store')); ?>', data: data, success: function(respons) { /* console.log('send successfully'); */ toastr.success("<?php echo e(translate('send_successfully')); ?>", { CloseButton: true, ProgressBar: true }); } }); $('#chatInputBox').val(''); $('#msg-option').css('display', 'none'); $('#contact-seller').find('.contact').attr('disabled', ''); $('#seller_details').animate({ 'height': '125px' }); $('#go_to_chatbox').css('display', 'block'); } else { console.log('say something'); } }); $('#cancelBtn').on('click', function(e) { e.preventDefault(); $('#seller_details').animate({ 'height': '114px' }); $('#msg-option').css('display', 'none'); }); </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.front-end.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/arsu/resources/themes/default/web-views/products/details.blade.php ENDPATH**/ ?>
./Ninja\.