@for(attribute of attributes; track attribute; let i = $index){ @if(!isAllVariantStyleDropdown()){

{{ attribute?.name }} : {{ attribute?.selected_value }}

} @if(attribute?.style === 'dropdown' || isAllVariantStyleDropdown()){ } @else if(attribute?.style === 'radio') {
@for(value of attribute.attribute_values; track value; let indexx = $index){ @if(attributeValues && attributeValues.includes(value.id)){
@if(showPrice()){
{{ value.sale_price | currencySymbol }} @if(product.discount){ {{ value.price }} }
}
} }
} @else if (attribute?.style === 'color') { @for(value of attribute.attribute_values; track value){ @if(attributeValues && attributeValues.includes(value.id)){
  • } } } @else { } }