Current File : //home/tradevaly/prioyshi.com/project/resources/views/includes/product/sellers-product.blade.php
                               
								
								{{-- If This product belongs to vendor then apply this --}}
                                @if($prod->user_id != 0)

                                {{-- check  If This vendor status is active --}}
                                @if($prod->user->is_vendor == 2)

															<div class="single-box">
																<div class="left-area">
																	<img src="{{ $prod->photo ? asset('assets/images/thumbnails/'.$prod->thumbnail):asset('assets/images/noimage.png') }}" alt="">
																</div>
																<div class="right-area">
																		<h4 class="price">{{ $prod->showPrice() }} <del>{{ $prod->showPreviousPrice() }}</del> </h4>
																	<div class="stars">
																		<div class="ratings">
																			<div class="empty-stars"></div>
																			<div class="full-stars" style="width:{{App\Models\Rating::ratings($prod->id)}}%"></div>
																		</div>
																	</div>
																	<p class="text"><a href="{{ route('front.product',$prod->slug) }}">{{ strlen($prod->name) > 65 ? substr($prod->name,0,65).'...' : $prod->name }}</a></p>

																	<ul class="action-meta">
																			<li>
																					@if(Auth::guard('web')->check())
														
																					<span href="javascript:;" class="wish add-to-wish"
																						data-href="{{ route('user-wishlist-add',$prod->id) }}" data-toggle="tooltip"
																						data-placement="top" title="{{ $langg->lang54 }}"><i class="far fa-heart"></i>
																					</span>
														
																					@else
														
																					<span href="javascript:;" class="wish" rel-toggle="tooltip" title="{{ $langg->lang54 }}"
																						data-toggle="modal" id="wish-btn" data-target="#comment-log-reg"
																						data-placement="top">
																						<i class="far fa-heart"></i>
																					</span>
														
																					@endif
																			</li>
																			<li>
																				<span  class="cart-btn quick-view" rel-toggle="tooltip" title="{{ $langg->lang55 }}" href="javascript:;" data-href="{{ route('product.quick',$prod->id) }}" data-toggle="modal" data-target="#quickview" data-placement="top">
																						<i class="fas fa-shopping-basket"></i>
																				</span>
																			</li>
																			<li>
																					<span href="javascript:;" class="compear add-to-compare"
																					data-href="{{ route('product.compare.add',$prod->id) }}" data-toggle="tooltip"
																					data-placement="top" title="{{ $langg->lang57 }}" >
																					<i class="fas fa-random"></i>
																				</span>
																			</li>
																		</ul>																	
																</div>
															</div>


								@endif

                                {{-- If This product belongs admin and apply this --}}

								@else 

										<div class="single-box">
											<div class="left-area">
												<img src="{{ $prod->photo ? asset('assets/images/thumbnails/'.$prod->thumbnail):asset('assets/images/noimage.png') }}" alt="">
											</div>
											<div class="right-area">
													<h4 class="price">{{ $prod->showPrice() }} <del>{{ $prod->showPreviousPrice() }}</del> </h4>
												<div class="stars">
													<div class="ratings">
														<div class="empty-stars"></div>
														<div class="full-stars" style="width:{{App\Models\Rating::ratings($prod->id)}}%"></div>
													</div>
												</div>
												<p class="text"><a href="{{ route('front.product',$prod->slug) }}">{{ strlen($prod->name) > 65 ? substr($prod->name,0,65).'...' : $prod->name }}</a></p>

												<ul class="action-meta">
														<li>
																@if(Auth::guard('web')->check())
									
																<span href="javascript:;" class="wish add-to-wish"
																	data-href="{{ route('user-wishlist-add',$prod->id) }}" data-toggle="tooltip"
																	data-placement="top" title="{{ $langg->lang54 }}"><i class="far fa-heart"></i>
																</span>
									
																@else
									
																<span href="javascript:;" class="wish" rel-toggle="tooltip" title="{{ $langg->lang54 }}"
																	data-toggle="modal" id="wish-btn" data-target="#comment-log-reg"
																	data-placement="top">
																	<i class="far fa-heart"></i>
																</span>
									
																@endif
														</li>
														<li>
															<span  class="cart-btn quick-view" rel-toggle="tooltip" title="{{ $langg->lang55 }}" href="javascript:;" data-href="{{ route('product.quick',$prod->id) }}" data-toggle="modal" data-target="#quickview" data-placement="top">
																	<i class="fas fa-shopping-basket"></i>
															</span>
														</li>
														<li>
																<span href="javascript:;" class="compear add-to-compare"
																data-href="{{ route('product.compare.add',$prod->id) }}" data-toggle="tooltip"
																data-placement="top" title="{{ $langg->lang57 }}" >
																<i class="fas fa-random"></i>
															</span>
														</li>
													</ul>																	
											</div>
										</div>

								@endif