Document Properties
Kbid
253F52
Last Modified
03-Feb-2020
Added to KB
06-Nov-2013
Public Access
Everyone
Status
Online
Doc Type
Concepts
Product
  • ICM 7.10
  • ICM 11
Concept - Promotion Custom Parameter Passing

Table of Contents

Introduction

Developers want to pass parameters from outside the promotion evaluation process, to use them in their new condition evaluators and action executors without the need to override ruleset and promotion calculation rule (Recipe: How Can I Add a New Action Type?).

Overview


This functionality uses a CalculationContext object to store the parameters. The CalculationContext object gets passed through the promotion evaluation process. In a CalculationRule object a PromotionEvaluationObjects object is created and receives the custom parameters from the Context object. The PromotionEvaluationObjects is passed to objects of classes which implement the interface PromotionConditionEvaluator or PromotionActionExecutor where the custom parameters can be used.

Disclaimer
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.