관리-도구
편집 파일: 90790040b041ace3adf390ebf72cec13f884eebc.php
<div class="row no-gutters"> <div class="col-lg-6 col-md-12 col-sm-12 col-xs-12"> <!-- Product Slider --> <div class="product-gallery"> <div class="quickview-slider-active"> <div class="single-slider"> <img src="<?php echo e(asset('storage/app/'. $product->image->file_path)); ?>" alt="#"> </div> <?php if(isset($product->gallery_images)): ?> <?php $__currentLoopData = $product->gallery_images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gallery_image): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="single-slider"> <img src="<?php echo e(asset('storage/app/'. $gallery_image->file_path)); ?>" alt="#"> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </div> </div> <!-- End Product slider --> </div> <div class="col-lg-6 col-md-12 col-sm-12 col-xs-12"> <div class="quickview-content"> <h2><?php echo e($product->translation->name); ?></h2> <div class="quickview-ratting-review"> <div class="quickview-ratting-wrap"> <div class="quickview-ratting"> <?php echo xss_clean(show_rating($product->reviews->avg('rating'), 'i')); ?> </div> <a href="#"> (<?php echo e($product->reviews->count().' '._lang('customer review')); ?>)</a> </div> <div class="quickview-stock"> <?php if($product->manage_stock == 1 && $product->in_stock == 1): ?> <span><i class="fa fa-check-circle-o"></i> <?php echo e(_lang('in stock')); ?></span> <?php endif; ?> <?php if($product->in_stock == 0): ?> <span><i class="fa fa-times-circle"></i> <?php echo e(_lang('Out Of Stock')); ?></span> <?php endif; ?> </div> </div> <?php if($product->product_type != 'variable_product'): ?> <?php if($product->special_price != '' || (int) $product->special_price != 0 ): ?> <h3> <s><?php echo xss_clean(show_price($product->price)); ?></s> <span class="ac-price"><?php echo xss_clean(show_price($product->special_price)); ?></span> </h3> <?php else: ?> <h3 class="ac-price"><?php echo xss_clean(show_price($product->price)); ?></h3> <?php endif; ?> <?php else: ?> <?php if($product->variation_prices[0]->special_price != '' || (int) $product->variation_prices[0]->special_price != 0 ): ?> <h3> <span class="ac-price"><?php echo xss_clean(show_price($product->variation_prices[0]->special_price)); ?></span> <s><?php echo xss_clean(show_price($product->variation_prices[0]->price)); ?></s> </h3> <?php else: ?> <h3 class="ac-price"><?php echo xss_clean(show_price($product->variation_prices[0]->price)); ?></h3> <?php endif; ?> <?php endif; ?> <div class="quickview-peragraph"> <p><?php echo e($product->translation->short_description); ?></p> </div> <!-- Product Options --> <?php if(! $product->product_options->isEmpty()): ?> <div class="size"> <form action="<?php echo e(url('products/get_variation_price/'.$product->id)); ?>" id="product-variation"> <?php echo csrf_field(); ?> <?php $__currentLoopData = $product->product_options; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product_option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="product_options"> <h6><?php echo e($product_option->name); ?></h6> <select name="product_option[]" class="select_product_option"> <?php $__currentLoopData = $product_option->items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($item->id); ?>"><?php echo e($item->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </form> </div> <div class="clearfix"></div> <?php endif; ?> <div class="quantity"> <!-- Input Order --> <div class="input-group"> <div class="button minus"> <button type="button" class="btn btn-primary btn-number" disabled="disabled" data-type="minus" data-field="quantity"> <i class="ti-minus"></i> </button> </div> <input type="text" name="quantity" class="input-number" data-min="1" data-max="1000" value="1"> <div class="button plus"> <button type="button" class="btn btn-primary btn-number" data-type="plus" data-field="quantity"> <i class="ti-plus"></i> </button> </div> </div> <!--/ End Input Order --> </div> <div class="add-to-cart"> <?php if($product->in_stock == 1): ?> <a href="<?php echo e(url('add_to_cart/'.$product->id)); ?>" data-type="<?php echo e($product->product_type); ?>" class="btn add_to_cart"><?php echo e(_lang('Add to Cart')); ?></a> <?php else: ?> <a href="#" class="btn disabled"><?php echo e(_lang('Add to Cart')); ?></a> <?php endif; ?> <a href="<?php echo e(wishlist_url($product)); ?>" class="btn min btn-wishlist"><i class="ti-heart"></i></a> </div> </div> </div> </div> <script src="<?php echo e(asset('public/theme/default/js/product-options.js?v=1.1')); ?>"></script> <script src="<?php echo e(asset('public/theme/default/js/cart.js?v=1.1')); ?>"></script> <script> <?php if($product->gallery_images->count() > 0): ?> $('.quickview-slider-active').owlCarousel({ items:1, autoplay:true, autoplayTimeout:5000, smartSpeed: 400, autoplayHoverPause:true, nav:true, loop:true, merge:true, dots:false, navText: ['<i class=" ti-arrow-left"></i>', '<i class=" ti-arrow-right"></i>'], }); <?php endif; ?> </script> <?php /**PATH /home/customamgdigital/saintsaccessories.custom.amgdigitalagency.com/resources/views/theme/saintsaccessories/components/quick_shop.blade.php ENDPATH**/ ?>