@if(isset($rel_setting)) @else @endif

(If this turned on you can manually select related product for this particular product else if its turned off related product will show accodring to product's subcategory.)

@if(isset($products->relproduct->related_pro)) @foreach($products->relproduct->related_pro as $relpro) @php $epro = App\Product::find($relpro); @endphp @if(isset($epro)) @endif @endforeach @endif
@if(isset($epro->subvariants[0])) product-image @else @endif {{ $epro->name }}

{{substr(strip_tags($epro->des), 0, 150)}}{{strlen(strip_tags( $epro->des))>150 ? '...' : ""}}