Skip to main content

Define advanced merchandising rules

note

This is a premium feature. Contact your Customer Success Manager to enable it on your Kameleoon Account.

Kameleoon lets you define advanced merchandising rules that determine which products are recommended to your visitors. You can:

  • Leverage built-in algorithms to select which products appear in your recommendation.
  • Apply conditions to decide which algorithm should run.
  • Apply filters to refine which products each algorithm returns.

At the top of the configuration screen, you can view the block's name, description, and the maximum number of products displayed in that block.

You can configure the block by:

  • Changing the block's title.
  • Combining algorithms and filters.
  • Configuring complex scenarios

Builder and rules overview

The merchandising rule builder lets you chain together algorithms, conditions, and actions.

note

Kameleoon evaluates rules from top to bottom. If there are not enough products matching the rules of one block, Kameleoon moves to the next block.

Click + to add a condition or action.

You then have three options:

  • Action — perform an operation such as renaming the entire product recommendation block displayed in your app.
  • Condition — define the logic that determines which algorithm runs.
  • Algorithm — select a built-in recommendation algorithm and apply filters to it.

Actions

  • Change block title to rename the block.
  • Sort products to sort the products returned by the algorithm based on different logic (for example, price, number of orders on those products, rating).

Conditions versus filters

Conditions and filters serve different purposes.

ConceptPurposeExample
ConditionDefines which algorithm runs based on a logical rule.If the current product's price is $20, run Algorithm A; otherwise, run Algorithm B.
FilterRefines which products an algorithm returns.Apply the "Popular products" algorithm, but filter results to only show products from categories the user has purchased from.

Conditions

To add a condition:

  1. Click the + icon > Condition.
  2. Choose from the available condition types.

You can combine conditions with AND/OR.

note

Due to the "top to bottom" logic, a condition is applied to the next algorithm (the algorithm under the condition). For example, in the image below, if the product is more than $100 and in the cart, the user will see other popular products. If not, the user will see similar products.

Available conditions
CategoryConditionDescription
Product and categoryAre there any products in the cart?Checks if the visitor has any products in their cart.
Current cost of items in the cartEvaluates the total value of the cart.
Current product's priceTargets based on the price of the current product.
Current product already in cart?Checks if the current product is already in the visitor's cart.
Current product IDMatches a specific product ID.
Current product's brand isMatches the brand of the current product.
Current category containsMatches if the current category contains a keyword.
Current category equalsMatches a specific category.
Current product belongs to categoryMatches a specific category.
Have products in the cart from categoryChecks if the visitor has added products from a given category.
Have products in the cart from current categoryChecks if the visitor has added products from the current category.
Current product has the parameterTargets products that contain a specific attribute or parameter.
ActionsUser bought something within the period (in days)Targets visitors who made a purchase within a defined period.
How many times purchased during the selected periodEvaluates purchase frequency.
Opened a product "out of stock"Checks if the visitor viewed an out-of-stock product.
Opened a product from the categoriesMatches product views by category.
Added a product from the categories to the cartTargets based on cart additions from certain categories.
Bought a product from the categoriesTargets based on purchases in certain categories.
Opened a productChecks if the visitor opened any product page.
Added specific product to cartTargets based on a specific product added to cart.
Bought a productChecks if the visitor completed a purchase.
Opened a product from the brandMatches based on product views from a brand.
Added a product from the brandsTargets based on cart additions from specific brands.
Bought a product from the brandTargets based on purchases from a brand.

Filters

Filters refine which products an algorithm returns.

To add a filter:

  1. Hover over an algorithm > click the cogwheel icon.
  2. Select Add filter.
  3. Choose your desired filter and configure its parameters.

You can apply multiple filters to a single algorithm.

Available filters
FilterDescription
Show products only from selected categoriesRestrict results to chosen categories.
Don't show products from selected categoriesExclude specific categories.
Show only products from the category of the current productLimit results to the current product's category.
Show from categories in which the user has viewed productsDisplay products from categories the visitor has viewed.
Show products from categories the user has added to cartInclude categories where the visitor added products to the cart.
Show products from categories the user purchasedInclude categories where the visitor has purchased items.
Interacted with productsShow products the user has previously interacted with.
Don't show products from the wishlistExclude items marked as "wishlist."
Show only products that fill up the user's cart to a specified valueRecommend products that help reach a minimum cart value.
Show from categories from which the user has added products to the wishlistInclude categories tied to wishlist activity.
Show products that match a parameter value of the current productMatch attributes (for example, color or size) of the current product.
Show products matching the values of the selected parameterFilter by shared parameter values across products.
Don't show products that match a parameter value of the current productExclude products sharing a parameter with the current one.
Show products that match the brand of the current productDisplay items from the same brand.
Show products from the same departmentLimit results to the same department.
Don't show selected productsManually exclude specific products.
Show only products with priceDisplay only priced items.
Show products available in specified quantityFilter by inventory level.
Show only statistically related productsDisplay products with strong statistical correlations.
Show products with a given marginFilter based on profit margin.
Show only products of selected brandsRestrict results to chosen brands.
Don't show products of selected brandsExclude specific brands.
Discount productsInclude only discounted items.
Discount valueSet a threshold for discount percentage or value.
Skip niche algorithmsOmit niche-based logic.
Exclude products of the same groupAvoid recommending items from the same group.
Show products with only genderFilter by gender-related attribute.
Show products marked as new arrivalsInclude new arrival products.
Sort by ratingOrder products by user rating.
Do not show from categories in which the user has viewed productsExclude categories the visitor has viewed.
Do not show products from categories the user purchasedExclude categories the visitor has purchased from.
Don't exclude previously purchased productsInclude previously purchased products.
Don't exclude already in-cart productsInclude products already in the visitor's cart.
Show products of selected merchants onlyLimit results to selected merchants.
Don't show products of selected merchantsExclude selected merchants.
Show products of merchants of the current productMatch merchant of the current product.
Show products that match the ratingInclude products matching a specific rating.
Don't show products that match the ratingExclude products with a given rating.
Do not show products from categories that the user added to cartExclude categories tied to cart additions.
By profitFilter by profitability criteria.

Example use case

You can combine conditions and filters to create sophisticated merchandising scenarios.

Example:

  • Condition: If the current product costs more than $100 → use the “Popular products” algorithm.
  • Filter (on Popular products): Only show products from categories the user purchased from.

If the condition isn't met, Kameleoon moves to the next algorithm.