From 0a8b8cf2ba134d31bc41fda26d0a252ab1ac5a8d Mon Sep 17 00:00:00 2001 From: Mike Weis Date: Thu, 31 Mar 2016 17:46:48 -0500 Subject: [PATCH] MAGETWO-51181: [GITHUB] Configurable product's last attribute with price zero results in error #3912 - updated per code review --- app/code/Magento/Catalog/view/base/web/js/price-box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 };