Skip to content

Commit 25747b4

Browse files
author
Sergey Semenov
committed
MAGETWO-52925: Simple child product without a special price still shown as "was (original price)" #4442 #5097 #6645 - for mainline
1 parent f27029a commit 25747b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Swatches/view/frontend/web/js/swatch-renderer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ define([
840840
}
841841
);
842842

843-
if (result.oldPrice.amount != result.finalPrice.amount) {
843+
if (result.oldPrice.amount !== result.finalPrice.amount) {
844844
$(this.options.slyOldPriceSelector).show();
845845
} else {
846846
$(this.options.slyOldPriceSelector).hide();

0 commit comments

Comments
 (0)