shop.skeletons.article¶
Attributes¶
Classes¶
Abstract skeleton class which the project has to implement for the article skeletons |
Module Contents¶
- shop.skeletons.article.logger¶
- class shop.skeletons.article.ArticleAbstractSkel¶
Bases:
viur.core.skeleton.BaseSkeletonAbstract 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
- property shop_name: StringBone | TextBone¶
- Abstractmethod:
- Return type:
StringBone | TextBone
Name of the article in the shop
- property shop_description: TextBone¶
- Abstractmethod:
- Return type:
TextBone
- property shop_price_retail: NumericBone¶
- Abstractmethod:
- Return type:
NumericBone
- property shop_price_recommended: NumericBone¶
- Abstractmethod:
- Return type:
NumericBone
- property shop_availability: SelectBone¶
- Abstractmethod:
- Return type:
SelectBone
- property shop_listed: BooleanBone¶
- Abstractmethod:
- Return type:
BooleanBone
- property shop_image: FileBone¶
- Abstractmethod:
- Return type:
FileBone
References a FileSkel
- property shop_art_no_or_gtin: StringBone¶
- Abstractmethod:
- Return type:
StringBone
- shop_vat_rate_category¶
- property shop_shipping_config: RelationalBone¶
- Abstractmethod:
- Return type:
RelationalBone
References a ShippingConfigSkel
- property shop_is_weee: BooleanBone¶
- Abstractmethod:
- Return type:
BooleanBone
Waste Electrical and Electronic Equipment Directive (WEEE Directive)
- property shop_is_low_price: BooleanBone¶
- Abstractmethod:
- Return type:
BooleanBone
shop_price_retail != shop_price_recommended
- shop_view_url¶
URL to the article page (view)
- property shop_price_: viur.shop.types.Price¶
- Return type:
viur.shop.types.Price
- shop_price¶
- shop_shipping¶
Calculated, cheapest shipping for this article
- classmethod setSystemInitialized()¶