@if ($product->serialized_product == 1 && $product->color_id <= 0 && $product->size_id <= 0)
@endif
@if (count($product->colorChild) > 0)
@php
$color = $product->colorChild;
@endphp
@elseif (count($product->sizeChild) > 0)
@else
@endif
@if ($product->size_id || $product->color_id)
@php
$size_len = count($size);
@endphp
@foreach($size as $skey => $s)
@php
$clr_center = intval(count($color)/2);
@endphp
@foreach($color as $ckey => $c)
@php
$j++;
@endphp
@endforeach
@if ($j == 1)
@endif
@php
$i++;
@endphp
@if($skey < ($size_len-1))
@endif
@endforeach
@else
@endif