@php
use Botble\Ecommerce\Models\ProductSpecificationAttributeTranslation;
@endphp
@if ($attribute->type == 'checkbox')
@if ($attribute->pivot->value ?? false)
{{ __('Yes') }}
@else
{{ __('No') }}
@endif
@else
{{ ProductSpecificationAttributeTranslation::getDisplayValue($product, $attribute, $currentLangCode) }}
@endif