@if($isCollection)
@else
@endif
@if($products) @endif
@if($IsRoot) @else @if($isInhertingCatAttributes) Attributes @else Attributes @endif @endif @if($isInhertingCatAttributes) @else   @endif
@php //echo '
';
        //print_r($products);
      @endphp
      
@foreach($columnAttributes as $colAtr) @if($colAtr->ColumnWidth != '' || $colAtr->ColumnWidth != 0) @php $mywidth = 'width: '. round($colAtr->ColumnWidth * 3.779528). 'px !important'; @endphp @else @php $mywidth = 'width: '. round(20 * 3.779528). 'px !important'; @endphp @endif @if($colAtr->InstanceAttribute == 1) @elseif($colAtr->isVirtualAttribute == 1 && $colAtr->isCatalogAttribute == 1) @elseif($colAtr->isVirtualAttribute == 0 && $colAtr->isCatalogAttribute == 1) @elseif($colAtr->isVirtualAttribute == 1) @else @endif @endforeach @foreach($products as $product ) @foreach($columnAttributes as $colAtr) @if(isset($product->attributes[$colAtr->AttributeColumnName])) @php $arr = $product->attributes[$colAtr->AttributeColumnName]; @endphp @if($colAtr->ColumnWidth != '' || $colAtr->ColumnWidth != 0) @php $mywidth = 'width: '. round($colAtr->ColumnWidth * 3.779528). 'px !important'; @endphp @else @php $mywidth = 'width: '. round(20 * 3.779528). 'px !important'; @endphp @endif @php $AttributeID = $arr['AttributeID']; $colName = $arr['colName']; $val = $arr['Value']; $cleansedValue = $arr['CleansedValue']; $imageStr = ''; $originalImage = $arr['OriginalImage']; $i = 0; foreach($originalImage as $oI) { $myOriginalImage = $oI->ImagePath; $sizeCss = 'width: 300px;'; $width = $oI->ImageWidth; $height = $oI->ImageHeight; if($width == $height) { $sizeCss = 'width: 300px;'; } else if($width > $height) { $sizeCss = 'width: 300px;'; } else { $sizeCss = 'height: 300px;'; } $imageStr .= ''.$arr['Image'][$i].''; $i++; } if($colAtr->OutputAsImage == "1") { $inputWidth = "100%"; } else { $inputWidth = "100%"; } @endphp @if($colAtr->AllowMultiLanguage == "1") @else @if($colAtr->datatype == 'enum') @elseif($colAtr->datatype == 'set') @else @if($colAtr->AllowHTML !=1 && $colAtr->isVirtualAttribute != 1) @if($colAtr->isTextArea ==1) @else @endif @else @endif @endif @endif @else @endif @endforeach @endforeach
ProductID Sort Edit {{$colAtr->AttributeName}}
  @if(!$isInhertingCatAttributes) @endif
{{$colAtr->AttributeName}}
  @if(!$isInhertingCatAttributes) @endif
{{$colAtr->AttributeName}}
  @if(!$isInhertingCatAttributes) @endif
{{$colAtr->AttributeName}}
  @if(!$isInhertingCatAttributes) @endif
{{$colAtr->AttributeName}}
  @if(!$isInhertingCatAttributes) @endif   @if($colAtr->AttributePrefix != '') @endif   @if($colAtr->AttributeSuffix != '') @endif
Action
{{$product->ProductID}} @if($val == '') @php $val = '[{}]'; @endphp @endif @php $mval = json_decode($val); @endphp @foreach($catalogLanguages as $language) @foreach($mval as $newVal) @if($language->DisplayInCollections)
@if($language->RegionName != '') @php $title = $language->LanguageDescription .' - '. $language->LanguageLocalName .' - '. $language->RegionName; @endphp @else @php $title = $language->LanguageDescription .' - '. $language->LanguageLocalName @endphp @endif @if($language->FlagPath == '') {{$language->LanguageSubtag}} @else @endif
@endif @endforeach @endforeach {!!$imageStr!!}
@php $set = explode(",",$colAtr->setValues); $setvals = explode(",",$val); $newsetval = []; foreach($setvals as $sv) { $sv = "'" . $sv . "'"; $newsetval[] = $sv; } @endphp @foreach($set as $sv) @php $newVal = trim(str_replace("'","",$sv)); @endphp @if(in_array($sv, $newsetval))
 {{$newVal}}
@else @endif {!!$imageStr!!} @endforeach
@php $set = explode(",",$colAtr->setValues); $setvals = explode(",",$val); $newsetval = []; foreach($setvals as $sv) { $sv = "'" . $sv . "'"; $newsetval[] = $sv; } @endphp {!!$imageStr!!} @if($cleansedValue != $val) @endif @if($cleansedValue != $val) @endif {!!$imageStr!!}

{{ mb_strimwidth($arr['Value'], 0, 25,'...')}}

@if($cleansedValue != $val) @endif {!!$imageStr!!}
 
@if(!$arrCategoryText->isEmpty())

Category Text

@if(!$arrCategoryText->isEmpty()) @foreach ($arrCategoryText as $catText) @php $originalImage = $catText->OriginalImage; $i = 0; $tbimageStr = ''; foreach($originalImage as $oI) { $myOriginalImage = $oI->ImagePath; $sizeCss = 'width: 300px;'; $width = $oI->ImageWidth; $height = $oI->ImageHeight; if($width == $height) { $sizeCss = 'width: 300px;'; } else if($width > $height) { $sizeCss = 'width: 300px;'; } else { $sizeCss = 'height: 300px;'; } $tbimageStr .= ''.$catText->Images[$i].''; $i++; } @endphp @endforeach @else @endif
Text Block Name Content
{{$catText->TextBlockName}} @if($catText->AllowHTML == 1) @else @endif {!!$tbimageStr!!}
No Data Found
@endif