shoop.themes.classic_gray package¶
Submodules¶
shoop.themes.classic_gray.config_form module¶
shoop.themes.classic_gray.plugins module¶
-
class
shoop.themes.classic_gray.plugins.
ProductHighlightPlugin
(config)[source]¶ Bases:
shoop.xtheme.TemplatedPlugin
Instantiate a Plugin with the given
config
dictionary.Parameters: config (dict) – Dictionary of freeform configuration data -
identifier
= 'classic_gray.product_highlight'¶
-
name
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
template_name
= 'classic_gray/highlight_plugin.jinja'¶
-
fields
= [('title', <shoop.xtheme.plugins.forms.TranslatableField object at 0x7f15c161a518>), ('type', <django.forms.fields.ChoiceField object at 0x7f15c161a710>), ('count', <django.forms.fields.IntegerField object at 0x7f15c161a7f0>)]¶
-
Module contents¶
-
class
shoop.themes.classic_gray.
ClassicGrayTheme
(settings_obj=None)[source]¶ Bases:
shoop.xtheme.Theme
Initialize this theme, with an optional
ThemeSettings
objectParameters: settings_obj (ThemeSettings|None) – A theme settings object for this theme, if one exists. Passing this in will avoid extraneous database queries. -
identifier
= 'shoop.themes.classic_gray'¶
-
name
= 'Shoop Classic Gray Theme'¶
-
template_dir
= 'classic_gray/'¶
-
fields
= [('show_welcome_text', <django.forms.fields.BooleanField object at 0x7f15c98785c0>), ('footer_html', <django.forms.fields.CharField object at 0x7f15c9878710>), ('footer_links', <django.forms.fields.CharField object at 0x7f15c9878fd0>), ('footer_column_order', <django.forms.fields.ChoiceField object at 0x7f15c97ff6d8>)]¶
-
-
class
shoop.themes.classic_gray.
ClassicGrayThemeAppConfig
(*args, **kwargs)[source]¶ Bases:
shoop.apps.AppConfig
-
name
= 'shoop.themes.classic_gray'¶
-
verbose_name
= 'Shoop Classic Gray Theme'¶
-
label
= 'shoop.themes.classic_gray'¶
-
provides
= {'xtheme': 'shoop.themes.classic_gray:ClassicGrayTheme', 'xtheme_plugin': ['shoop.themes.classic_gray.plugins:ProductHighlightPlugin']}¶
-