You can perform a highly complex customization of the promotion
engine by creating new promotion engine components. For example, you might
want to create a new promotion agenda builder.
About this task
To create a new promotion engine component, there are 3 steps.
Procedure
- Determine what kind of promotion engine changes your store requires.
The WebSphere Commerce promotion engine provides a number of customization points for engine components,
such as the agenda builder, the sequence builder, and promotion code managers.
However, customizing these components is an involved process.
- Understand the default promotion engine components and build the
Java code that supports your new promotion engine component.
Where
possible, you should design your components such that they extend existing
classes to benefit from the default methods where applicable.
- Update the user interface as needed.
This step should
be done once you have a promotion XML that represents your business logic.
To customize the WebSphere Commerce Accelerator, so that it generates XML
according to your requirements, refer to
Adding
support for a custom promotion type as a guideline.