109 lines
No EOL
5.9 KiB
PHP
109 lines
No EOL
5.9 KiB
PHP
<?php $__env->startSection('main_content'); ?>
|
|
|
|
<section class="hero hero-page gray-bg padding-small">
|
|
<div class="container">
|
|
<div class="row d-flex">
|
|
<div class="col-lg-9 order-2 order-lg-1">
|
|
<h1><?php echo e($cat_url); ?></h1><p class="lead text-muted">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.</p>
|
|
</div>
|
|
<div class="col-lg-3 text-right order-1 order-lg-2">
|
|
<ul class="breadcrumb justify-content-lg-end">
|
|
<li class="breadcrumb-item"><a href="<?php echo e(url('shop')); ?>">shop</a></li>
|
|
<li class="breadcrumb-item active"><?php echo e($cat_url); ?></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<br><br><br>
|
|
<div class="row">
|
|
<?php if(count($products) > 0): ?>
|
|
|
|
<?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
|
|
|
<div class="item col-xl-3 col-lg-4 col-md-6">
|
|
<div class="product is-gray">
|
|
<div class="image d-flex align-items-center justify-content-center">
|
|
<img src="<?php echo e(asset('images').'/'.$product['image']); ?>" alt="product" class="img-fluid">
|
|
<div class="hover-overlay d-flex align-items-center justify-content-center">
|
|
<div class="CTA d-flex align-items-center justify-content-center">
|
|
<a class="add-to-cart-btn" data-id="<?php echo e($product['id']); ?>"><i class="fa fa-shopping-cart add-to-cart" ></i></a>
|
|
<a href="<?php echo e(url('shop/' .$cat_url . '/'. $product['url'])); ?>" class="visit-product active">
|
|
<i class="icon-search"></i>View Detils</a>
|
|
<a href="#" data-toggle="modal" data-target="#<?php echo e($product['id']); ?>" class="quick-view">
|
|
<i class="fa fa-arrows-alt"></i></a></div>
|
|
</div>
|
|
</div>
|
|
<div class="title"><small class="text-muted"><?php echo e($product['title']); ?></small><a href="<?php echo e(url('shop/' .$cat_url . '/'. $product['url'])); ?>">
|
|
<h3 class="h6 text-uppercase no-margin-bottom"><?php echo e($product['url']); ?></h3></a></div>
|
|
</div>
|
|
</div>
|
|
|
|
<br>
|
|
<div id="<?php echo e($product['id']); ?>" tabindex="-1" role="dialog" aria-hidden="true" class="modal fade overview">
|
|
<div role="document" class="modal-dialog">
|
|
<div class="modal-content">
|
|
<button type="button" data-dismiss="modal" aria-label="Close" class="close">
|
|
<span aria-hidden="true"><i class="icon-close"></i></span></button>
|
|
<div class="modal-body">
|
|
<?php if($product['sale'] === 1): ?>
|
|
<div class="ribbon-info text-uppercase">30% OFF!</div>
|
|
<?php endif; ?>
|
|
<div class="row d-flex align-items-center">
|
|
<div class="image col-lg-5"><img src="<?php echo e(asset('images').'/'.$product['image']); ?>" alt="..." class="img-fluid d-block">
|
|
</div>
|
|
<div class="details col-lg-7">
|
|
<h2><?php echo e($product['url']); ?></h2>
|
|
<ul class="price list-inline">
|
|
<?php if($product['sale'] === 1): ?>
|
|
<li class="list-inline-item current"> $<?php echo e($product['price'] * 0.7); ?></li>
|
|
<li class="list-inline-item original">$<?php echo e($product['price']); ?></li>
|
|
<?php else: ?>
|
|
<li class="list-inline-item current">$<?php echo e($product['price']); ?></li>
|
|
|
|
<?php endif; ?>
|
|
</ul>
|
|
<ul class="price list-inline">
|
|
</ul>
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco</p>
|
|
<div class="d-flex align-items-center">
|
|
<div class="quantity d-flex align-items-center">
|
|
<div class="dec-btn">-</div>
|
|
<input type="text" value='1' class="quantity-no">
|
|
<div class="inc-btn">+</div>
|
|
</div>
|
|
|
|
<select id="size" class="bs-select">
|
|
<option value="small">Small</option>
|
|
<option value="meduim">Medium</option>
|
|
<option value="large">Large</option>
|
|
<option value="x-large">X-Large</option>
|
|
</select>
|
|
</div>
|
|
|
|
<ul class="CTAs list-inline">
|
|
<li class="list-inline-item">
|
|
<button data-id="<?php echo e($product['id']); ?>" class="btn btn-template wide add-to-cart-btn" name="button">
|
|
<i class="fa fa-shopping-cart"></i>Add to Cart</a></li>
|
|
</button>
|
|
<li class="list-inline-item">
|
|
<div class="d-flex align-items-center">
|
|
</div>
|
|
<ul class="CTAs list-inline">
|
|
<li class="list-inline-item"><a href="<?php echo e(url('shop') .'/'.$cat_url.'/'.$product['url']); ?>" class="visit-product active btn btn-template-outlined wide">View Category</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
|
<?php endif; ?>
|
|
|
|
|
|
</div>
|
|
<?php $__env->stopSection(); ?>
|
|
|
|
<?php echo $__env->make('master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
|