                        <?php $__currentLoopData = $itemall; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
							<div class="col-sm-6 col-md-4 col-lg-3 p-b-50">
								<div class="block2">
									<div class="block2-img wrap-pic-w of-hidden pos-relative block2-labelne2w">
										<?php if($data->image ==''): ?> 
										<img src="<?php echo e(asset('front/images/item-02.jpg')); ?>" alt="IMG-PRODUCT">
										<?php else: ?>
										<img src="<?php echo e(url('uploads/'.$data->image)); ?>" alt="IMG-PRODUCT">
										<?php endif; ?>
										<div class="block2-overlay trans-0-4">
										<?php if($data->stock=='0'): ?>
											<div class="block2-btn-addcart w-size1 trans-0-4">												   	
												<button data-id="<?php echo e($data->id); ?>" class="flex-c-m size1 bg4 bo-rad-23 s-text1 trans-0-4 addtocartpost" disabled><i class="fa fa-times" aria-hidden="true"></i> &nbsp;Out Of Stock</button>    																												
											</div>
										<?php else: ?>
											<?php if($data->hasattributes =='yes'): ?> 
											<div class="block2-btn-addcart2 w-size1 trans-0-4">																							        
												<button type="button" data-id="<?php echo e($data->id); ?>" class="flex-c-m size1 bg4 bo-rad-23 hov1 s-text1 trans-0-4 add-cart-item-attr">Add to Cart</button>																																		  																							
											</div>
											<?php else: ?>
											<div class="block2-btn-addcart w-size1 trans-0-4">												   	
												<button data-id="<?php echo e($data->id); ?>" data-name="<?php echo e($data->name); ?>" class="flex-c-m size1 bg4 bo-rad-23 hov1 s-text1 trans-0-4 addtocartpost">Add to Cart</button>    																												
											</div>
											<?php endif; ?>
										
										<?php endif; ?>
										</div>
									</div>

									<div class="block2-txt p-t-20" style="text-align:center">
										<a href="/productdetails/<?php echo e($data->slug); ?>" class="block2-name dis-block s-text3 p-b-5"><?php echo e($data->name); ?></a>										
										<span class="block2-price m-text6 p-r-5">Rs. <?php echo e($data->sell_price); ?></span>
									</div>
								</div>
							</div>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


