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.
1 parent 946c6ba commit 666d4c0Copy full SHA for 666d4c0
app/code/Magento/Swatches/view/base/web/js/swatch-renderer.js
@@ -952,6 +952,8 @@ define([
952
953
isShow = typeof result != 'undefined' && result.oldPrice.amount !== result.finalPrice.amount;
954
955
+ $productPrice.find('span:first').toggleClass('special-price',isShow);
956
+
957
$product.find(this.options.slyOldPriceSelector)[isShow ? 'show' : 'hide']();
958
959
if (typeof result != 'undefined' && result.tierPrices && result.tierPrices.length) {
0 commit comments