We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e80727a + 5c3ff9c commit 7a66bacCopy full SHA for 7a66bac
app/code/Magento/SalesRule/view/frontend/web/js/view/summary/discount.js
@@ -57,7 +57,7 @@ define([
57
}
58
59
discountSegments = this.totals()['total_segments'].filter(function (segment) {
60
- return segment.code === 'discount';
+ return segment.code.indexOf('discount') !== -1;
61
});
62
63
return discountSegments.length ? discountSegments[0].title : null;
0 commit comments