From e4ea020645c02697a6c0e8c11e375e6d1832124f Mon Sep 17 00:00:00 2001 From: merdan Date: Fri, 23 Sep 2022 17:35:00 +0500 Subject: [PATCH] menu brand links test ready --- packages/Webkul/Product/src/Type/Configurable.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/Webkul/Product/src/Type/Configurable.php b/packages/Webkul/Product/src/Type/Configurable.php index 955f32dcd..dfaa58583 100644 --- a/packages/Webkul/Product/src/Type/Configurable.php +++ b/packages/Webkul/Product/src/Type/Configurable.php @@ -682,11 +682,11 @@ class Configurable extends AbstractType return $haveSpecialPrice; } - public function getSpecialPrice($qty = null){ - $variant = $this->product->variants()->latest()->first(); - - return $variant->getTypeInstance()->getSpecialPrice($qty); - } +// public function getSpecialPrice($qty = null){ +// $variant = $this->product->variants()->latest()->first(); +// +// return $variant->getTypeInstance()->getSpecialPrice($qty); +// } public function getImages(){ $variant = $this->product->variants()->latest()->first();