Skip to content

Commit

Permalink
feat: splitItem false in minicart
Browse files Browse the repository at this point in the history
  • Loading branch information
iago1501 authored Sep 5, 2024
2 parents e55b16b + d41246e commit ee2dba3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
19 changes: 19 additions & 0 deletions store/blocks/minicart.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}

0 comments on commit ee2dba3

Please sign in to comment.