shop.skeletons.article

Module Contents

Classes

ArticleAbstractSkel

Abstract skeleton class which the project has to implement for the article skeletons

Attributes

shop.skeletons.article.logger
class shop.skeletons.article.ArticleAbstractSkel

Bases: viur.core.skeleton.BaseSkeleton

Abstract skeleton class which the project has to implement for the article skeletons

All members in this abstract skeleton has to be prefixed with shop_ to avoid name collisions with bones in the project skeleton

abstract property shop_name: StringBone | TextBone

Name of the article in the shop

Return type:

StringBone | TextBone

abstract property shop_description: TextBone
Return type:

TextBone

abstract property shop_price_retail: NumericBone
Return type:

NumericBone

Return type:

NumericBone

abstract property shop_availability: SelectBone
Return type:

SelectBone

abstract property shop_listed: BooleanBone
Return type:

BooleanBone

abstract property shop_image: FileBone

References a FileSkel

Return type:

FileBone

abstract property shop_art_no_or_gtin: StringBone
Return type:

StringBone

abstract property shop_shipping_config: RelationalBone

References a ShippingConfigSkel

Return type:

RelationalBone

abstract property shop_is_weee: BooleanBone

Waste Electrical and Electronic Equipment Directive (WEEE Directive)

Return type:

BooleanBone

abstract property shop_is_low_price: BooleanBone

shop_price_retail != shop_price_recommended

Return type:

BooleanBone

property shop_price_: viur.shop.types.Price
Return type:

viur.shop.types.Price

shop_vat_rate_category
shop_view_url

URL to the article page (view)

shop_price
shop_shipping

Calculated, cheapest shipping for this article

classmethod setSystemInitialized()