Disabling Product Messages

Change the configuration of Promotion Engine to disable the display of product promotion messages on the storefront.

Context

In Promotion Engine, the product promotion message is a short text that appears on the relevant product detail pages while the promotion is running.

You can globally disable the display of product messages. This ensures that no product messages appear on the storefront for any of your promotion rules. This property is referenced in DefaultPromotionEngineService.getPromotionsForProduct().

To disable product promotion messages, complete the following steps:

Procedure

  1. Copy and paste the following property into the local.properties file, which is located in the <HYBRIS_CONFIG_DIR> directory.
    promotionengineservices.getpromotionsforproduct.disable=false
  2. Set the property as follows:
    Value Result
    true Product messages are disabled globally.
    false Product messages are enabled.
  3. For the changes to take effect, restart the SAP Commerce Cloud Server.