B2C Commerce can store multiple code versions simultaneously, but only theactive code versionsupplies the storefront ' s templates, controllers, scripts, and static code resources. If recently uploaded cartridge changes do not appear, verifying that the expected code version is active is therefore a fundamental troubleshooting step.
Salesforce ' s Code Deployment documentation states that all templates, pipelines, scripts, and images are taken from the active version. It also specifically recommends checking that the cartridge was uploaded to the current code version when storefront changes do not appear. Salesforce ' s SFRA troubleshooting guidance further recommends switching code versions and reactivating the intended version when changes are not reflected on the server.
A search-index rebuild is relevant to indexed product, category, content, or search configuration—not to changes in JavaScript controllers or ISML templates. Cartridge-path configuration should also be verified, but the source ' s earlier scenario already uses that check before checking the active version.
Study Guide reference:B2C Commerce Setup — Code Deployment, active code versions, cartridge deployment, storefront troubleshooting, and version activation.
===============