Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Change error message in checkout mutation
Aleksander Spyrac4ddd298e309
diff --git a/saleor/graphql/checkout/mutations.py b/saleor/graphql/checkout/mutations.pyindex 5f50920143..258d40f666 100644--- a/saleor/graphql/checkout/mutations.py+++ b/saleor/graphql/checkout/mutations.py@@ -77,8 +77,7 @@ def clean_shipping_method(if not checkout.is_shipping_required():raise ValidationError(- "This checkout does not requires shipping.",- code=CheckoutErrorCode.SHIPPING_NOT_REQUIRED,+ ERROR_DOES_NOT_SHIP, code=CheckoutErrorCode.SHIPPING_NOT_REQUIRED)if not checkout.shipping_address: