shuup.core.specs package

Submodules

shuup.core.specs.product_kind module

class shuup.core.specs.product_kind.ProductKindSpec[source]

Bases: object

Specifies an product kind. Useful to control the visibility in admin module and also to control which supplier modules can handle it.

value: int = None
name: str = ''
supported_supplier_modules: Iterable[str] = []
admin_listing_name: str = ''
classmethod get_enum_value_label()[source]
shuup.core.specs.product_kind.get_product_kind_specs() Iterable[ProductKindSpec][source]
shuup.core.specs.product_kind.get_product_kind_choices() Dict[int, str][source]
class shuup.core.specs.product_kind.DefaultProductKindSpec[source]

Bases: ProductKindSpec

The default product kind

value: int = 1
name: str = 'Product'
admin_listing_name: str = 'products'

Module contents