Skip to content

Commit d099c33

Browse files
authored
Merge pull request #36 from stape-io/feature/http-host-cache
Fixed #issue-33: Quote price formatter changed after set payment meth…
2 parents 6984083 + 20d8951 commit d099c33

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
v1.0.24
44
- added caching of cookie domain when generating _sbp cookie
5+
- Fixed issue with the overridden price formatter pattern
56

67
v1.0.23
78
- added logic to fetch add to cart info and send the event if only productIds array is available

view/frontend/web/js/action/set-payment-information-mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ define([
1414
*/
1515
function prepareItems() {
1616
const cartData = customerData.get('cart')();
17-
const priceFormat = Object.assign(quote.getPriceFormat(), {'pattern': '%s'});
17+
const priceFormat = Object.assign({...quote.getPriceFormat()}, {'pattern': '%s'});
1818
return quote.getItems().map(function(itemDetails) {
1919
cartData.items.find
2020
const cartItem = _.find(cartData.items, function(cartItem) {

0 commit comments

Comments
 (0)