Source code for shuup.front.checkout.empty

from django.utils.translation import gettext_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)