Source code for shuup.front.checkout.empty

# -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2021, Shuup Commerce Inc. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
from django.utils.translation import ugettext_lazy as _
from django.views.generic.base import TemplateView

from shuup.front.checkout import CheckoutPhaseViewMixin


[docs]class EmptyPhase(CheckoutPhaseViewMixin, TemplateView): identifier = "empty" title = _("Empty Basket") template_name = "shuup/front/checkout/empty.jinja"
[docs] def process(self): pass
[docs] def post(self, request, *args, **kwargs): return self.get(request, *args, **kwargs)