getName()
:
String
Returns the name of the recommended item in the current locale.
getCalloutMsg
Returns the recommendation's callout message in the current locale.
Returns:
the recommendation's callout message in the current locale, or null if it wasn't found.
getCatalog
Return the catalog containing the recommendation.
Returns:
the catalog containing the recommendation.
getImage
Returns the recommendation's image.
Returns:
the recommendation's image.
getLongDescription
Returns the recommendation's long description in the current locale.
Returns:
The recommendation's long description in the current locale, or null if it wasn't found.
getName
Returns the name of the recommended item in the current locale.
Returns:
The name of the recommended item for the current locale, or null if it wasn't found.
getRecommendationType
getRecommendationType()
:
Number
Returns the type of the recommendation.
Returns:
the type of the recommendation expressed as an integer.
getRecommendedItem
Return a reference to the recommended item. This will always be an
object of type dw.catalog.Product
since this is the only
currently supported recommendation target type.
Returns:
the recommended item, possibly null if the item does not exist.
getRecommendedItemID
getRecommendedItemID()
:
String
Return the ID of the recommended item. This will always be a product
ID since this is the only currently supported recommendation target
type.
Returns:
the recommended item ID.
getShortDescription
Returns the recommendation's short description in the current locale.
Returns:
the recommendations's short description in the current locale, or null if it wasn't found.
getSourceItem
Return a reference to the source item. This will be an object of type
dw.catalog.Product
or dw.catalog.Category.
Returns:
the source item.
getSourceItemID
Return the ID of the recommendation source item. This will either be a
product ID or category name.
Returns:
the source item ID.