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