@extends('admin.layouts.sellermastersoyuz') @section('title',__('Available Product Attributes')) @section('body') @component('seller.components.breadcumb',['secondactive' => 'active']) @slot('heading') {{ __('Available Product Attributes') }} @endslot @slot('menu1') {{ __('Available Product Attributes') }} @endslot @endcomponent
{{ __('Available Product Attributes')}}
@foreach($pattr as $pat) @endforeach
# {{__('Options')}} {{__('Values')}} {{__('In Categories')}}
{{ $i }} @php $k = '_'; @endphp @if (strpos($pat->attr_name, $k) == false) {{ $pat->attr_name }} @else {{str_replace('_', ' ',$pat->attr_name)}} @endif
@foreach($pat->provalues->all() as $t)
@if(strcasecmp($t->unit_value, $t->values) !=0) @if($pat->attr_name == "Color" || $pat->attr_name == "Colour")

{{ $t->values }} @else {{ $t->values }}{{ $t->unit_value }}, @endif @else {{ $t->values }}, @endif
@endforeach
@foreach($pat->cats_id as $cats) @php $getcatname = App\Category::where('id',$cats)->first(); @endphp @if(isset($getcatname)) {{$getcatname->title}} {{!$loop->last ? "," : ''}} @endif @endforeach
@endsection