Added
A Commerce Cloud project needs a new checkout validation rule. The rule is specific to the retailer and changes frequently. The team proposes modifying a SAP Commerce platform class directly because that is the fastest initial implementation. Upgrades must remain predictable, and the customization must be deployable through the supported extension mechanism. What is the best implementation choice?
A project extension using supported extension points isolates retailer-specific behavior from SAP-delivered platform code and supports repeatable builds and upgrades. Patching platform classes creates upgrade conflicts and is not a maintainable extension strategy. Direct edits to generated model classes are overwritten by code generation and bind business rules to generated implementation details. Editing deployed nodes bypasses the normal build and deployment lifecycle and risks inconsistent runtime behavior.