shuup.front.forms package¶
Submodules¶
shuup.front.forms.order_forms module¶
-
class
shuup.front.forms.order_forms.
ProductOrderForm
(request, context, product, language, **kwargs)[source]¶ Bases:
django.views.generic.edit.FormView
-
template_name
= 'shuup/front/product/forms/product_order_form.jinja'¶
-
engine
= None¶
-
priority
= 0¶
-
-
class
shuup.front.forms.order_forms.
VariableVariationProductOrderForm
(request, context, product, language, **kwargs)[source]¶
-
class
shuup.front.forms.order_forms.
SimpleVariationProductOrderForm
(request, context, product, language, **kwargs)[source]¶
shuup.front.forms.product_list_modifiers module¶
-
class
shuup.front.forms.product_list_modifiers.
FilterWidget
(attrs=None, choices=())[source]¶ Bases:
django.forms.widgets.SelectMultiple
-
media
¶
-
-
class
shuup.front.forms.product_list_modifiers.
OneChoiceFilterWidget
(attrs=None, choices=())[source]¶ Bases:
django.forms.widgets.Select
-
media
¶
-
-
class
shuup.front.forms.product_list_modifiers.
CommaSeparatedListField
(*, max_length=None, min_length=None, strip=True, empty_value='', **kwargs)[source]¶ Bases:
django.forms.fields.CharField
-
class
shuup.front.forms.product_list_modifiers.
SimpleProductListModifier
[source]¶ Bases:
shuup.front.utils.sorts_and_filters.ProductListFormModifier
-
is_active_key
= ''¶
-
is_active_label
= ''¶
-
ordering_key
= ''¶
-
ordering_label
= ''¶
-
-
class
shuup.front.forms.product_list_modifiers.
SortProductListByName
[source]¶ Bases:
shuup.front.forms.product_list_modifiers.SimpleProductListModifier
-
is_active_key
= 'sort_products_by_name'¶
-
is_active_label
= 'Sort products by name'¶
-
ordering_key
= 'sort_products_by_name_ordering'¶
-
ordering_label
= 'Ordering for sort by name'¶
-
-
class
shuup.front.forms.product_list_modifiers.
SortProductListByPrice
[source]¶ Bases:
shuup.front.forms.product_list_modifiers.SimpleProductListModifier
-
is_active_key
= 'sort_products_by_price'¶
-
is_active_label
= 'Sort products by price'¶
-
ordering_key
= 'sort_products_by_price_ordering'¶
-
ordering_label
= 'Ordering for sort by price'¶
-
-
class
shuup.front.forms.product_list_modifiers.
SortProductListByCreatedDate
[source]¶ Bases:
shuup.front.forms.product_list_modifiers.SimpleProductListModifier
-
is_active_key
= 'sort_products_by_date_created'¶
-
is_active_label
= 'Sort products by date created'¶
-
ordering_key
= 'sort_products_by_date_created_ordering'¶
-
ordering_label
= 'Ordering for sort by date created'¶
-
-
class
shuup.front.forms.product_list_modifiers.
SortProductListByAscendingCreatedDate
[source]¶ Bases:
shuup.front.forms.product_list_modifiers.SortProductListByCreatedDate
-
is_active_key
= 'sort_products_by_ascending_created_date'¶
-
is_active_label
= 'Sort products by date created - oldest first'¶
-
ordering_key
= 'sort_products_by_ascending_created_date_ordering'¶
-
ordering_label
= 'Ordering for sort by date created - oldest first'¶
-
-
class
shuup.front.forms.product_list_modifiers.
ManufacturerProductListFilter
[source]¶ Bases:
shuup.front.forms.product_list_modifiers.SimpleProductListModifier
-
is_active_key
= 'filter_products_by_manufacturer'¶
-
is_active_label
= 'Filter products by manufacturer'¶
-
ordering_key
= 'filter_products_by_manufacturer_ordering'¶
-
ordering_label
= 'Ordering for filter by manufacturer'¶
-
-
class
shuup.front.forms.product_list_modifiers.
CategoryProductListFilter
[source]¶ Bases:
shuup.front.forms.product_list_modifiers.SimpleProductListModifier
-
is_active_key
= 'filter_products_by_category'¶
-
is_active_label
= 'Filter products by category'¶
-
ordering_key
= 'filter_products_by_category_ordering'¶
-
ordering_label
= 'Ordering for filter by category'¶
-
-
class
shuup.front.forms.product_list_modifiers.
LimitProductListPageSize
[source]¶ Bases:
shuup.front.forms.product_list_modifiers.SimpleProductListModifier
-
is_active_key
= 'limit_product_list_page_size'¶
-
is_active_label
= 'Limit page size'¶
-
ordering_key
= 'limit_product_list_page_size_ordering'¶
-
ordering_label
= 'Ordering for limit page size'¶
-
-
class
shuup.front.forms.product_list_modifiers.
ProductVariationFilter
[source]¶ Bases:
shuup.front.forms.product_list_modifiers.SimpleProductListModifier
-
is_active_key
= 'filter_products_by_variation_value'¶
-
is_active_label
= 'Filter products by variation'¶
-
ordering_key
= 'filter_products_by_variation_value_ordering'¶
-
ordering_label
= 'Ordering for filter by variation'¶
-
-
class
shuup.front.forms.product_list_modifiers.
ProductPriceFilter
[source]¶ Bases:
shuup.front.forms.product_list_modifiers.SimpleProductListModifier
-
is_active_key
= 'filter_products_by_price'¶
-
is_active_label
= 'Filter products by price'¶
-
ordering_key
= 'filter_products_by_price_ordering'¶
-
ordering_label
= 'Ordering for filter by price'¶
-
range_min_key
= 'filter_products_by_price_range_min'¶
-
range_max_key
= 'filter_products_by_price_range_max'¶
-
range_size_key
= 'filter_products_by_price_range_size'¶
-
-
class
shuup.front.forms.product_list_modifiers.
AttributeProductListFilter
[source]¶ Bases:
shuup.front.forms.product_list_modifiers.SimpleProductListModifier
-
is_active_key
= 'filter_products_by_products_attribute'¶
-
is_active_label
= 'Filter products by its attributes'¶
-
ordering_key
= 'filter_products_by_attribute_ordering'¶
-
product_attr_key
= 'filter_products_by_product_attribute_field'¶
-
shuup.front.forms.product_list_supplier_modifier module¶
-
class
shuup.front.forms.product_list_supplier_modifier.
SupplierProductListFilter
[source]¶ Bases:
shuup.front.forms.product_list_modifiers.SimpleProductListModifier
-
is_active_key
= 'filter_products_by_supplier'¶
-
is_active_label
= 'Filter products by supplier'¶
-
ordering_key
= 'filter_products_by_supplier_ordering'¶
-
ordering_label
= 'Ordering for filter by supplier'¶
-
label_key
= 'filter_products_by_supplier_label'¶
-
enable_multiselect_key
= 'filter_products_by_supplier_multiselect_enabled'¶
-