From edf5dc34fd2733b2da4c8defb4776a128938e970 Mon Sep 17 00:00:00 2001 From: Jitendra Singh Date: Mon, 27 Jan 2020 12:38:13 +0530 Subject: [PATCH] Issue #2146 fixed --- packages/Webkul/Product/src/Type/Bundle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Webkul/Product/src/Type/Bundle.php b/packages/Webkul/Product/src/Type/Bundle.php index 1a03ead69..42bd1f2bb 100644 --- a/packages/Webkul/Product/src/Type/Bundle.php +++ b/packages/Webkul/Product/src/Type/Bundle.php @@ -213,7 +213,7 @@ class Bundle extends AbstractType } } - if (! $haveRequiredOptions) + if (! $haveRequiredOptions && count($minPrices)) $minPrice = min($minPrices); return $minPrice;