@if ($attributes)
@foreach ($attributes as $attribute)
{{-- Hidden inputs to store attribute names in both Arabic and English --}}
@foreach(config('language') as $locale => $language)
id}.name.{$locale}", $attribute->getTranslation('name', $locale)) }}" hidden>
@endforeach
@if ($attribute->type == 'select')
@endforeach
@endif
@if ($globalAttributes)
@foreach ($globalAttributes as $globalAttribute)
{{-- Hidden inputs to store attribute names in both Arabic and English --}}
@foreach(config('language') as $locale => $language)
id}.name.{$locale}", $globalAttribute->getTranslation('name', $locale)) }}" hidden>
@endforeach
@if ($globalAttribute->type == 'select')
{{-- Checkbox or radio inputs for attribute options --}}
@foreach ($globalAttribute->options as $optionManyOption)
{{ $optionManyOption->options }}
@endforeach