shuup.front.apps.saved_carts package

Submodules

shuup.front.apps.saved_carts.dashboard_items module

class shuup.front.apps.saved_carts.dashboard_items.SavedCartsItem(request)[source]

Bases: shuup.front.utils.dashboard.DashboardItem

template_name = 'shuup/saved_carts/dashboard_item.jinja'
title = 'Saved Carts'
icon = 'fa fa-shopping-cart'
get_context()[source]

shuup.front.apps.saved_carts.urls module

shuup.front.apps.saved_carts.views module

class shuup.front.apps.saved_carts.views.CartViewMixin[source]

Bases: object

model

alias of StoredBasket

get_queryset()[source]
class shuup.front.apps.saved_carts.views.CartListView(**kwargs)[source]

Bases: shuup.front.views.dashboard.DashboardViewMixin, shuup.front.apps.saved_carts.views.CartViewMixin, django.views.generic.list.ListView

Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.

template_name = 'shuup/saved_carts/cart_list.jinja'
context_object_name = 'carts'
class shuup.front.apps.saved_carts.views.CartDetailView(**kwargs)[source]

Bases: shuup.front.views.dashboard.DashboardViewMixin, shuup.front.apps.saved_carts.views.CartViewMixin, django.views.generic.detail.DetailView

Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.

template_name = 'shuup/saved_carts/cart_detail.jinja'
context_object_name = 'cart'
get_queryset()[source]
get_context_data(**kwargs)[source]
class shuup.front.apps.saved_carts.views.CartSaveView(**kwargs)[source]

Bases: django.views.generic.base.View

Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.

post(request, *args, **kwargs)[source]
class shuup.front.apps.saved_carts.views.CartAddAllProductsView(**kwargs)[source]

Bases: shuup.front.apps.saved_carts.views.CartViewMixin, django.views.generic.detail.SingleObjectMixin, django.views.generic.base.View

Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.

get_object()[source]
post(request, *args, **kwargs)[source]
class shuup.front.apps.saved_carts.views.CartDeleteView(**kwargs)[source]

Bases: shuup.front.apps.saved_carts.views.CartViewMixin, django.views.generic.detail.SingleObjectMixin, django.views.generic.base.View

Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.

post(request, *args, **kwargs)[source]

Module contents

class shuup.front.apps.saved_carts.AppConfig(*args, **kwargs)[source]

Bases: shuup.apps.AppConfig

name = 'shuup.front.apps.saved_carts'
verbose_name = 'Shuup Frontend - Saved Baskets'
label = 'shuup_front.saved_baskets'
provides = {'front_urls': ['shuup.front.apps.saved_carts.urls:urlpatterns'], 'customer_dashboard_items': ['shuup.front.apps.saved_carts.dashboard_items:SavedCartsItem']}