@foreach ($option->values as $value)
@php
$price = 0;
if (!empty($value->affect_price) && doubleval($value->affect_price) > 0) {
$price = $value->affect_type == 0 ? $value->affect_price : (floatval($value->affect_price) * $product->front_sale_price_with_taxes) / 100;
}
@endphp
required && $loop->first) checked @endif>
@endforeach