Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Wrong var name in get_attributes_display_map
Maciek Jabłoński9366dbaa07d9
diff --git a/saleor/product/models/utils.py b/saleor/product/models/utils.pyindex 009950b84d..624a71b801 100644--- a/saleor/product/models/utils.py+++ b/saleor/product/models/utils.py@@ -11,5 +11,5 @@ def get_attributes_display_map(obj, attributes):if choice_obj:display_map[attribute.pk] = choice_objelse:- display_map[attribute.pk] = value_pk+ display_map[attribute.pk] = valuereturn display_map