diff --git a/CHANGELOG.md b/CHANGELOG.md index c05a59beca..e25a71ad87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Draft +- Swap content/data keys in onProductOptionsChanged event detail [#2640](https://github.com/bigcommerce/cornerstone/pull/2640) ## 6.19.1 (04-09-2026) - Update stencil-utils versionto 6.23.0 [#2638](https://github.com/bigcommerce/cornerstone/pull/2638) diff --git a/assets/js/theme/common/product-details.js b/assets/js/theme/common/product-details.js index feaa1cf4f3..0d52647339 100644 --- a/assets/js/theme/common/product-details.js +++ b/assets/js/theme/common/product-details.js @@ -289,8 +289,8 @@ export default class ProductDetails extends ProductDetailsBase { document.dispatchEvent(new CustomEvent('onProductOptionsChanged', { bubbles: true, detail: { - content: productAttributesData, - data: productAttributesContent, + content: productAttributesContent, + data: productAttributesData, }, })); }, { baseUrl: this.context.secureBaseUrl });