shuup.front.apps.recently_viewed_products package

Submodules

shuup.front.apps.recently_viewed_products.plugins module

class shuup.front.apps.recently_viewed_products.plugins.RecentlyViewedProductsPlugin(config)[source]

Bases: shuup.xtheme.TemplatedPlugin

Instantiate a Plugin with the given config dictionary.

Parameters:config (dict) – Dictionary of freeform configuration data
identifier = 'recently_viewed_products'
name = 'Recently Viewed Products List'
template_name = 'shuup/recently_viewed_products/list_view.jinja'
get_context_data(context)[source]
shuup.front.apps.recently_viewed_products.plugins.add_resources(context, content)[source]

Module contents

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

Bases: shuup.apps.AppConfig

name = 'shuup.front.apps.recently_viewed_products'
verbose_name = 'Shuup Frontend - Recently Viewed Products'
label = 'shuup_front.recently_viewed_products'
provides = {'xtheme_plugin': ['shuup.front.apps.recently_viewed_products.plugins:RecentlyViewedProductsPlugin'], 'xtheme_resource_injection': ['shuup.front.apps.recently_viewed_products.plugins:add_resources']}