85 lines
No EOL
3.9 KiB
PHP
85 lines
No EOL
3.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($product['title']); ?></h1>
|
|
</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('')); ?>">Home</a></li>
|
|
<li class="breadcrumb-item"><a href="<?php echo e(url('shop')); ?>">Shop</a></li>
|
|
<li class="breadcrumb-item active"><?php echo e($product['title']); ?></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="product-details">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="product-images col-lg-6">
|
|
<?php if($product['sale'] === 1): ?>
|
|
<div class="ribbon-info text-uppercase">On Sale!</div>
|
|
<?php endif; ?>
|
|
<div class="ribbon-primary text-uppercase"><?php echo e($product['stock'] .' Items Left!'); ?></div>
|
|
<div class="item">
|
|
<img src="<?php echo e(url('images') .'/'.$product['image']); ?>" alt="">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<div class="details col-lg-6">
|
|
<div class="d-flex align-items-center justify-content-between flex-column flex-sm-row">
|
|
<ul class="price list-inline no-margin">
|
|
<?php if($product['sale'] === 1): ?>
|
|
<li class="list-inline-item current"> $<span class="_current"><?php echo e($product['price']); ?></span></li>
|
|
<li class="list-inline-item original">$<?php echo e($product['original_price']); ?></li>
|
|
<?php else: ?>
|
|
<li class="list-inline-item current">$<?php echo e($product['price']); ?></li>
|
|
<?php endif; ?>
|
|
</ul>
|
|
<div class="review d-flex align-items-center">
|
|
<ul class="rate list-inline">
|
|
<li class="list-inline-item"><i class="fa fa-star-o text-primary"></i></li>
|
|
<li class="list-inline-item"><i class="fa fa-star-o text-primary"></i></li>
|
|
<li class="list-inline-item"><i class="fa fa-star-o text-primary"></i></li>
|
|
<li class="list-inline-item"><i class="fa fa-star-o text-primary"></i></li>
|
|
<li class="list-inline-item"><i class="fa fa-star-o text-primary"></i></li>
|
|
</ul><span class="text-muted">No reviews</span>
|
|
</div>
|
|
</div>
|
|
|
|
<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 justify-content-center justify-content-lg-start">
|
|
<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="product-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="icon-cart">Add to Cart</i>
|
|
</button>
|
|
</li>
|
|
<li class="list-inline-item"><a href="#" class="btn btn-template-outlined wide"> <i class="fa fa-heart-o"></i>Add to wishlist</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<?php $__env->stopSection(); ?>
|
|
|
|
<?php echo $__env->make('master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
|