Skip to main content

addShopItemStatusNotFound

addShopItemStatusNotFound(status: ShopItemStatusNotFoundParameters)

Parameters

NameTypeDescription
statusShopItemStatusNotFoundParametersParameters of the special NOT_FOUND status

Description

NOT_FOUND is a status that is added to a shop item when it is not found in the price list. This status can be added or updated using the addShopItemStatus function.

info

While the method addShopItemStatusNotFound accepts "status" parameter, it is internally set to "NOT_FOUND" value.

Example

Adding the status

NetDecor.v3.shop.addShopItemStatusNotFound(
{
priority: 90,
label:
{
pl: "Produkt poglądowy",
en: "Reference product"
},
color: "#424242ff"//gray
isBlockedToPick: false
}
);