@extends('backEnd.admin.layouts.master') @section('title') Products @endsection @section('css') @endsection @section('body')
@php($i=1) @if($data->count() > 0) @foreach($data as $item) @endforeach @else @endif
SL. Image Product Name Category Name Position SKU Stock Price Sale Price Attributes Status Actions
{{$i++}} {{$item->name}} @foreach($item->get_categories as $key => $cat){{$key!=0 ?", ":""}}{{$cat->category_name}}@endforeach @if(Auth::guard('admin')->check())
@endif
{{$item->sku}} {{$item->stock}} {{$web_settings->currency_sign}} {{$item->price}} {{$web_settings->currency_sign}} {{$item->sale_price}} @foreach($item->get_attributes as $attrb) {{$attrb->get_attribute->title}} - {{'('}} @foreach($attrb->get_attribute_items as $key => $at_item) {{$key==0?"":","}} {{$at_item->get_attribute_item->item_title}} @endforeach {{')'}}
@endforeach
@if($item->status == 1) Published @else Unpublished @endif
No Data Found!
{{$data->links()}}
@endsection @section('js') @endsection