1. Salesforce Help
B2C Commerce
Manage Code Versions: "You can have multiple code versions on an instance
but only one is active at a time. The active version is the code that is currently running on the instance." This establishes the core principle that only the active version executes.
2. Trailhead
Salesforce B2C Commerce for Developers
Set Up Your Local Workspace: This module details the creation of the dw.json configuration file for server connections. The code-version property within this file specifies the target directory for code uploads. The scenario implies the developer's code-version is different from the active version on the server.
3. Trailhead
Salesforce B2C Commerce for Developers
Deploy Your Code: This module explains the two-step process: uploading code to a version directory and then activating that version in Business Manager (Administration > Site Development > Code Deployment). The problem occurs when the first step is done but the uploaded version is not the active one. Option D provides a developer-side solution to this misalignment.