Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix switched attribute labels

Krzysztof Wolskic4add1988570
diff --git a/saleor/dashboard/product/forms.py b/saleor/dashboard/product/forms.py
index 588131ee10..a23af9ea9e 100644
--- a/saleor/dashboard/product/forms.py
+++ b/saleor/dashboard/product/forms.py
@@ -51,10 +51,10 @@ class ProductClassForm(forms.ModelForm):
model = ProductClass
exclude = []
labels = {
- 'product_attributes': pgettext_lazy(
+ 'variant_attributes': pgettext_lazy(
'Product class form label',
'Attributes specific to each variant'),
- 'variant_attributes': pgettext_lazy(
+ 'product_attributes': pgettext_lazy(
'Product class form label',
'Attributes common to all variants')}