@php $vcount = (!empty($selectedVariant->variantAttributes))?$selectedVariant->variantAttributes->count():1; $varirantID = (!empty($selectedVariant->variantAttributes))?Request::get('vid'):0; @endphp