Frontend cartridge release notes
The frontend cartridge (link_constructor_frontend) adds Constructor to your SFRA storefront: the beacon, the Autocomplete UI, and the PLP UI. You can download it from the Salesforce AppExchange listing.
To see which version is running, look for the sfra-cnstrc-cartridge meta tag in your storefront's page source. Its cartridge_version value is the installed version. You can also open cartridges/link_constructor_frontend/cartridge/constants/version.js in your cartridge code.
3.1.0
- Purchase tracking now uses the same variable names as the beacon:
variantIdis nowvariation_id.itemIdis nowitem_id.
- Added a
pricefield to purchase items.
3.0.0
-
Added support for one Index key per locale. You can now set the
Constructor_ApiKeysite preference to a JSON object of locale and key pairs:{ "en_US": "key_xxxxxxxxxx", "en_GB": "key_yyyyyyyyyy", "fr_FR": "key_zzzzzzzzzz" } -
UI components use the Index key that matches the locale of the current request.
Breaking change: set up your Index key againUploading the new metadata file clears the
Constructor_ApiKeysite preference. Set it up again after the upload.
2.1.0
- Added built-in support for the PLP UI component, on both search and browse pages.
- Added 3 site preferences and some overlay files to customize your PLP experience.
2.0.0
- Moved 4 functions into their own files:
enableBeaconForRoute, from all controllers.getAutocompleteConfig, fromhooks/html-head.js.getBeaconBundleName, fromhooks/html-head.js.cioAutocompleteUiOnSubmit, fromautocomplete-ui.isml.
1.4.0
- Updated the Autocomplete UI to version
1.23.31.
1.3.0
- The Autocomplete UI now loads from its CDN. The minified copy was removed from the cartridge.
- Added the
Constructor_Autocomplete_Versionsite preference to choose which Autocomplete UI version to load. See all versions in the Autocomplete UI releases.
1.2.2
- Added a read-only site preference that tracks the version of the other site preferences.
- The frontend cartridge now has its own version number, separate from the Connect cartridge.
- Added the
sfra-cnstrc-cartridgemeta tag. It shows the cartridge version, the site preferences version, whether the beacon loaded, and whether autocomplete is on. - Added a meta tag that shows debug information from the controllers, when relevant.
1.2.1
- Fixed a compatibility issue with SFRA 5.3.0, where the beacon failed to load on the
Order-Confirmpage.
1.2.0
- Added SFCC TypeScript types to the cartridge, for better code completion in your editor.
- Added built-in support for the Autocomplete UI component.
- Added 3 site preferences and some overlay files to customize your autocomplete experience.
1.0.1
- The beacon now loads on the
Order-Confirmpage, and the cartridge exposes theConstructorPurchaseDatawindow object. See Data-driven event tracking.
1.0.0
- First version. It adds the Constructor beacon to your SFRA storefront.
Updated about 4 hours ago