ProductItemGroupModel
Model for assets of type 'product.item.group.'.
implements: hash
bundle: standard information structure (sismodel)
since 2019.1.1
Model for assets of type 'product.item.group.'.
Model for assets of type 'product.item.group.'.
Defined hash keys
hasLock.<String:hashKey> ↦ Boolean
since 5.2.0
Check if the value accessed by the hash-key 'hashKey' within this model is secured by an active lock by permission rights management
- Example:
model.hasLock.elem - is elem in model guarded by an active permission lock?
article.hasLock.text - Returns if there is a permission lock for text configured in 'article' ? (In this example 'article' is of of type ArticleModel)
isLocked.<String:hashKey> ↦ Boolean
since 5.2.0
Check if the value accessed by the hash-key 'hashKey' within this model is is locked for current user by permission rights management
- Example:
model.isLocked.elem -- is value for elem in model locked for current logged-in user?
article.isLocked.text -- Returns if the value for 'text' within 'article' is locked (not accessible) for current user. (In this example 'article' is of of type ArticleModel)
offerPrice ↦ PriceModel
since 2019.1.1
get the price model, if the price is not specified on the item group asset, the price of the product will be returned.
price ↦ PriceModel
since 2019.1.1
get the price model, if the price is not specified on the item group asset, the price of the product will be returned.
product ↦ ProductModel
since 2019.1.1
get the product
productItems ↦ sequence<ProductItemModel>
since 2019.1.1
get the products items from feature 'censhare:product-item'
retailPrice ↦ PriceModel
since 2019.1.1
get the price model, if the price is not specified on the item group asset, the price of the product will be returned.
Permission Verbs used
product.item.group.offerPrice
since 2019.1.1 'product.item.group.offerPrice' - guards requests to '→offerPrice'
product.item.group.price
since 2019.1.1 'product.item.group.price' - guards requests to '→price'
product.item.group.product
since 2019.1.1 'product.item.group.product' - guards requests to '→product'
product.item.group.productItems
since 2019.1.1 'product.item.group.productItems' - guards requests to '→productItems'
product.item.group.retailPrice
since 2019.1.1 'product.item.group.retailPrice' - guards requests to '→retailPrice'