Question 1
IntermediateB2C Commerce Setup · Cartridge Configuration
A developer is configuring the cartridge path for a new B2C Commerce site based on the Storefront Reference Architecture (SFRA). The requirement is to override the standard checkout flow with custom logic defined in a cartridge named app_custom_checkout, while ensuring core SFRA functionality remains available for other areas.
Given the standard SFRA cartridges are app_storefront_base and modules, which cartridge path configuration ensures the custom checkout logic takes precedence?
Answer and explanation
Correct answer: D
In B2C Commerce, the cartridge path is traversed from left to right. To override functionality in app_storefront_base, the custom cartridge app_custom_checkout must be placed to the left of the base cartridge. This ensures that when the system looks for a controller or template, it finds the custom version first.
