From c913e448032a5130bd5805556a84911c9b56f4bc Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 29 Aug 2016 21:24:59 +0200 Subject: [PATCH] Fixed a problem with custom prices introduced in 4fa631a --- src/pretix/presale/views/cart.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pretix/presale/views/cart.py b/src/pretix/presale/views/cart.py index cfb33427e7..fc992787e4 100644 --- a/src/pretix/presale/views/cart.py +++ b/src/pretix/presale/views/cart.py @@ -57,6 +57,9 @@ class CartActionMixin: else: voucher = None + if not key.startswith('item_') and not key.startswith('variation_'): + continue + try: amount = int(value) except ValueError: