Skip to content

Commit

Permalink
fix(storefront): BCTHEME-496 Translation Gap: Delete from Cart confir…
Browse files Browse the repository at this point in the history
…mation popup. (#2065)
  • Loading branch information
bc-yevhenii-buliuk committed May 24, 2021
1 parent 58ed19e commit d9a82a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Translation Gap: Delete from Cart confirmation popup. [#2065](https://github.com/bigcommerce/cornerstone/pull/2065)

## 5.5.0 (05-20-2021)
- Scale focus trap for all modals. [#2049](https://github.com/bigcommerce/cornerstone/pull/2049)
Expand Down
1 change: 1 addition & 0 deletions assets/js/theme/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ export default class Cart extends PageManager {
text: string,
icon: 'warning',
showCancelButton: true,
cancelButtonText: this.context.cancelButtonText
}).then((result) => {
if (result.value) {
// remove item from cart
Expand Down
1 change: 1 addition & 0 deletions templates/pages/cart.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
cart: true
---
{{inject 'cancelButtonText' (lang 'common.cancel')}}
{{#partial "page"}}
<div class="page">

Expand Down

0 comments on commit d9a82a4

Please sign in to comment.