Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Do not allow to process a checkout with unpublished products (#9127)
Maciej Korycinskiadc189d42919
diff --git a/saleor/checkout/fetch.py b/saleor/checkout/fetch.pyindex 81224a636a..728e348494 100644--- a/saleor/checkout/fetch.py+++ b/saleor/checkout/fetch.py@@ -294,6 +294,7 @@ def _is_variant_valid(if (not product_channel_listingor product_channel_listing.is_available_for_purchase() is False+ or not product_channel_listing.is_visible):return False