Allow to redeem a voucher for an existing cart (#1517)

* Allow to redeem a voucher for an existing cart

* Bundle behaviour
This commit is contained in:
Raphael Michel
2019-12-11 15:58:22 +01:00
committed by GitHub
parent 352942b7d6
commit 99f3db04a9
8 changed files with 365 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ import pretix.presale.views.widget
frame_wrapped_urls = [
url(r'^cart/remove$', pretix.presale.views.cart.CartRemove.as_view(), name='event.cart.remove'),
url(r'^cart/voucher$', pretix.presale.views.cart.CartApplyVoucher.as_view(), name='event.cart.voucher'),
url(r'^cart/clear$', pretix.presale.views.cart.CartClear.as_view(), name='event.cart.clear'),
url(r'^cart/answer/(?P<answer>[^/]+)/$',
pretix.presale.views.cart.AnswerDownload.as_view(),