RECIDS

The RECIDS function adds the products with specified IDs to the recommended products list.

Syntax

RECIDS(ids, [count])

Argument name

Description

ids

Required

List of IDs to recommend.

count

Optional

Number of the IDs list to recommend. If not specified, it will recommend the whole list.

Examples

If:

  • ids = [100, 101, 102]

The execution of:

Will recommend the three products with IDs 100, 101, 102.

The execution of:

Will recommend only the product with ID 100. This rule can also be written as:

Last updated