diff --git a/CHANGELOG.md b/CHANGELOG.md index 041918c9..05a0f203 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Changed +- `minicart-product-list` in theme to change the default template to use splitItem as false. + ## [5.1.0] - 2022-06-07 ### Changed - Fixed height in `list-context.image-list#demo` example. diff --git a/store/blocks/minicart.jsonc b/store/blocks/minicart.jsonc index 5c797c26..2b4059a8 100644 --- a/store/blocks/minicart.jsonc +++ b/store/blocks/minicart.jsonc @@ -11,5 +11,24 @@ "customPixelEventId": "add-to-cart-button" }, "children": ["minicart-base-content"] + }, + "minicart-base-content": { + "blocks": ["minicart-empty-state"], + "children": ["minicart-product-list", "flex-layout.row#minicart-footer"] + }, + "flex-layout.row#minicart-footer": { + "props": { + "blockClass": "minicart-footer" + }, + "children": ["flex-layout.col#minicart-footer"] + }, + "flex-layout.col#minicart-footer": { + "children": ["minicart-summary", "minicart-checkout-button"] + }, + "minicart-product-list": { + "blocks": ["product-list#minicart"], + "props": { + "splitItem": false + } } }