Skip to content

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

Use clear cart method from satchless

Adam Bogdala01d306a887e
diff --git a/saleor/cart/__init__.py b/saleor/cart/__init__.py
index 9b26604240..097bf23ba3 100755
--- a/saleor/cart/__init__.py
+++ b/saleor/cart/__init__.py
@@ -48,6 +48,3 @@ class Cart(cart.Cart):
return pgettext(
'Shopping cart',
'Your cart (%(cart_count)s)') % {'cart_count': self.count()}
-
- def clear(self):
- self._state = []