Develop > Controller layer > Application developer > Calculation framework
Examples: Applying the calculation framework
Only the default calculation methods and calculation usages provided with WebSphere Commerce are used in these examples. They do not cover customization of the calculation framework.
This section contains examples of implementing the following calculation usages:
- Example: Discounts
This example shows how you can implement a discount using the calculation framework. You can also implement discounts using WebSphere Commerce Accelerator.
- Example: Shipping charges
This example shows how you can use the calculation framework to calculate shipping charges for a store.
- Example: Sales tax and shipping tax calculations
This example covers how you can use the calculation framework to calculate sales and shipping taxes.
Related concepts
Calculation scales and calculation ranges