Skip to content

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

Render product type choice as radio

Marcin Gębala3adbad6d4de5
diff --git a/saleor/dashboard/product/forms.py b/saleor/dashboard/product/forms.py
index b916ea2a2d..634e0e54fd 100644
--- a/saleor/dashboard/product/forms.py
+++ b/saleor/dashboard/product/forms.py
@@ -14,6 +14,7 @@ PRODUCT_CLASSES = {
class ProductClassForm(forms.Form):
cls_name = forms.ChoiceField(
+ widget=forms.RadioSelect,
choices=[(name, name.capitalize()) for name in PRODUCT_CLASSES.keys()])