Allow to redirect to checkout directly after adding a product to the cart

This commit is contained in:
Raphael Michel
2019-03-27 16:45:15 +01:00
parent d8a7de8b23
commit 697cdfd5c9
7 changed files with 20 additions and 3 deletions

View File

@@ -1074,6 +1074,10 @@ class DisplaySettingsForm(SettingsForm):
label=_('Ask search engines not to index the ticket shop'),
required=False
)
redirect_to_checkout_directly = forms.BooleanField(
label=_('Directly redirect to check-out after a product has been added to the cart.'),
required=False
)
def __init__(self, *args, **kwargs):
event = kwargs['obj']