Skip to main content
Skip table of contents

ProductItemModel

Model for assets of type 'product.item.'.

implements: hash
bundle: standard information structure (sismodel)
since 5.2.0
Model for assets of type 'product.item.'.

Model for assets where type attribute is 'product.item.'.

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)

offerPricePriceModel
since 5.8.0
get the price model, if the price is not specified on the item asset, the price of the product will be returned.

pricePriceModel
since 5.2.0
get the price model, if the price is not specified on the item asset, the price of the product will be returned.

productProductModel
since 5.2.0
get the product

retailPricePriceModel
since 5.8.0
get the price model, if the price is not specified on the item asset, the price of the product will be returned.

Permission Verbs used

product.offerPrice
since 5.8.0 'product.offerPrice' - guards requests to '→offerPrice'

product.price
since 5.2.0 'product.price' - guards requests to '→price'

product.product
since 5.2.0 'product.product' - guards requests to '→product'

product.retailPrice
since 5.8.0 'product.retailPrice' - guards requests to '→retailPrice'

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.