{{ 'adminProducts.variantAttributes' | translate }}

{{ 'adminProducts.variantAttributesHint' | translate }}

@for (attr of attributes; track attr.key) {
{{ attr.label }} @if (attr.isColor) { {{ 'adminProducts.colorAttribute' | translate }} }
@for (value of attr.values; track value) { @if (attr.isColor) { } {{ attr.isColor ? '' : value }} }
@if (attr.isColor) { } @else { } {{ 'adminProducts.addValue' | translate }}
}
{{ 'adminProducts.addAttribute' | translate }}
@if (attributes.length > 0) { {{ 'adminProducts.generateVariants' | translate }} }
@if (variants.length > 0) {
{{ 'adminProducts.variantsList' | translate }}
@for (variant of variants; track variant.id) {
@for (key of variant.attributes | keyvalue; track key.key) { @if (isColorAttribute(key.key)) { } {{ attributeLabel(key.key) }}: {{ key.value }} }
@for (priceRow of variant.prices; track priceRow.currency) {
{{ priceRow.currency }}
} @if (availableCurrencies(variant).length > 0) {
@for (currency of availableCurrencies(variant); track currency) { + {{ currency }} }
}
}
}