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 f4aec5f + c224ad0 commit 7f85c4bCopy full SHA for 7f85c4b
app/code/Magento/Catalog/view/base/web/js/price-options.js
@@ -19,8 +19,10 @@ define([
19
optionConfig: {},
20
optionHandlers: {},
21
optionTemplate: '<%= data.label %>' +
22
- '<% if (data.finalPrice.value) { %>' +
+ '<% if (data.finalPrice.value > 0) { %>' +
23
' +<%- data.finalPrice.formatted %>' +
24
+ '<% } else if (data.finalPrice.value < 0) { %>' +
25
+ ' <%- data.finalPrice.formatted %>' +
26
'<% } %>',
27
controlContainer: 'dd'
28
};
0 commit comments