Skip to main content
Skip table of contents

ProductModel

Model for assets of type 'product.'.

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

Model for assets where type attribute value starts with 'product.'.

Defined hash keys

brand ↦ sequence<TechnologyModel>
since 5.8.0
get the assets from feature 'product.brand'

descriptionArticleModel
since 5.2.0
get the desscription article ('user.description.' (deprecated) or user.channel-content.)

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)

mainOrMedia ↦ sequence<ProductItemGroupModel>
since 2019.2.1
get assets by relation 'user.media.'

manuals ↦ sequence<TechnologyModel>
since 5.8.0
get the assets from feature 'censhare:manual'

manufacturer ↦ sequence<TechnologyModel>
since 5.8.0
get the assets from feature 'user.manufacturer.'

media ↦ sequence<ProductItemGroupModel>
since 2019.1.1
get assets by relation 'user.media.'

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

productItemGroups ↦ sequence<ProductItemGroupModel>
since 2019.1.1
get the products item groups by relation 'user.product-item-group.'

productItems ↦ sequence<ProductItemModel>
since 5.8.0
get the products items from feature 'censhare:product-item'

productItemsFlat ↦ sequence<ProductItemModel>
since 2019.1.1
get the products items from direct feature or relation and also from '→productItemGroups' in a flattened list

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.

technologies ↦ sequence<TechnologyModel>
since 5.2.0
get the assets from feature 'censhare:technology'

title ↦ String
since 5.2.0
get the title (asset name)

Permission Verbs used

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

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

product.mainOrMedia
since 2019.2.1 'product.mainOrMedia' - guards requests to '→mainOrMedia'

product.manauls
since 5.8.0 'product.manauls' - guards requests to '→manuals'

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

product.media
since 2019.1.1 'product.media' - guards requests to '→media'

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.productItemGroups
since 2019.1.1 'product.productItems' - guards requests to '→productItemGroups'

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

product.productItemsFlat
since 2019.1.1 'product.productItemsFlat' - guards requests to '→productItemsFlat'

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

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

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

JavaScript errors detected

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

If this problem persists, please contact our support.