@php
$category = App\Category::with('simpleproducts')->where('id','=',$row->category_id)->first();
$cat_slug = str_slug($category->title, '-', app()->getLocale());
$subcategory =App\Subcategory::with('simpleproducts')->where('id','=',$row->subcategory_id)->first();
$subcat_slug = str_slug($subcategory->title, '-', app()->getLocale());
@endphp
{{ $row->product_name }}
{{ get_username($row->store->user_id) }}
@if (!empty($row->material))
Material :
{{ $row->material }}
@endif
@if (!empty($row->material) && !empty($row->size))
@endif
@if (!empty($row->size))
Size :
{{ $row->size }}
@endif