{{ $pageTitle }} {{ $pageNote }}
@if($item->productType == 0)
Configurable
@else
Simple
@endif
{!! Form::open(array('url'=>'attributesets/item/'.$id.'/set/'.$attributeSet, 'class'=>'form-horizontal','files' => true , 'parsley-validate'=>'','novalidate'=>' ')) !!}
@foreach($attributes as $attribute)
@if($attribute->type === 'boolean') @php $thisVal = $item->{$helper->camelCase($attribute->name)} @endphp Yes required) required @endif @if($thisVal == 1) checked @endif> No required) required @endif @if($thisVal == 0 || empty($thisVal)) checked @endif> @elseif($attribute->type === 'dateTime') required) required @endif> @elseif($attribute->type === 'float') required) required @endif> @elseif($attribute->type === 'int') required) required @endif> @elseif($attribute->type === 'text') @elseif($attribute->type === 'gallery') @if(!is_null($gallery))
Image | Label | Sort Order | |
---|---|---|---|
Delete |
@if(count($children))
Child Products
@foreach($children as $child) {{$child->name}}@endforeach
@endif