diff --git a/app/code/Magento/Catalog/view/base/web/js/price-box.js b/app/code/Magento/Catalog/view/base/web/js/price-box.js index a8b7cb7b92a36..b095d24cf4810 100644 --- a/app/code/Magento/Catalog/view/base/web/js/price-box.js +++ b/app/code/Magento/Catalog/view/base/web/js/price-box.js @@ -184,7 +184,7 @@ define([ var type = $(element).data('priceType'), amount = parseFloat($(element).data('priceAmount')); - if (type && !isNaN(amount)) { + if (type && !_.isNaN(amount)) { prices[type] = { amount: amount };