@php use App\Helpers\GeneralHelper; @endphp @if(!empty($variantsList)) @foreach($variantsList as $variant) @php $i = 1; @endphp

Variants: {{$variant->name}}


@if(in_array($variant->id,$ProductVariantIds)) @foreach($ProductVariants as $productVariant) @if($productVariant->variant_id == $variant->id)
@if(empty(GeneralHelper::getChildVariantId($productVariant->id)))
@endif @if(!empty(GeneralHelper::getChildVariantId($productVariant->id)))
@endif
@foreach($productVariantChilds as $pChild) @if($productVariant->variant_option_id == $pChild->variant_option_id)
@endif @endforeach @endif
@endforeach @endif @endforeach @endif