<div class="row"> <?php if($product->brand): ?> <div class="col-sm-2"> <div class="stock-box"> <span class="label"><strong><?php echo app('translator')->getFromJson('Brand'); ?> </strong>:</span> </div> </div> <div class="col-sm-9"> <div class="stock-box"> <span class="value"> <a href="<?php echo e(route('front.brand.show', [$product->brand->slug])); ?>"><?php echo e($product->brand->name); ?></a> </span> </div> </div> <?php endif; ?> <?php if($product->category): ?> <div class="col-sm-2"> <div class="stock-box"> <span class="label"><strong><?php echo app('translator')->getFromJson('Category'); ?></strong> :</span> </div> </div> <div class="col-sm-9"> <div class="stock-box"> <span class="value"> <a href="<?php echo e(route('front.category.show', [$product->category->slug])); ?>"><?php echo e($product->category->name); ?></a> </span> </div> </div> <?php endif; ?> <?php if($product->model): ?> <div class="col-sm-2"> <div class="stock-box"> <span class="label"><strong> <?php echo e($product->virtual ? __("Version") : __("Model No.")); ?> </strong> :</span> </div> </div> <div class="col-sm-9"> <div> <span class="value"> <?php echo e($product->model); ?> </span> </div> </div> <?php endif; ?> <?php if($product->vendor): ?> <div class="col-sm-2"> <div class="stock-box"> <span class="label"><strong> <?php echo app('translator')->getFromJson('Sold By'); ?> </strong> :</span> </div> </div> <div class="col-sm-9"> <div> <span class="value"> <a href="<?php echo e(url('/shop')); ?>/<?php echo e($product->vendor->slug); ?>"><?php echo e($product->vendor->shop_name); ?></a> </span> </div> </div> <?php endif; ?> <div class="col-sm-2"> <div class="stock-box"> <span class="label"><strong><?php echo app('translator')->getFromJson('Availability'); ?></strong> : </span> </div> </div> <div class="col-sm-9"> <div class="stock-box"> <span class="value ml-5"> <?php if($product->in_stock < 1): ?> <?php echo app('translator')->getFromJson('Out of Stock!'); ?> <?php elseif($product->in_stock < 4): ?> <?php echo app('translator')->getFromJson('Only'); ?> <?php echo e($product->in_stock); ?> <?php echo app('translator')->getFromJson('left in Stock!'); ?> <?php else: ?> <span class='text-success'> <?php echo app('translator')->getFromJson('In Stock'); ?></span> <?php endif; ?> </span> </div> </div> </div>