From 76c277a7ad3518ea6d997cdd4f3152a9f2ae31ad Mon Sep 17 00:00:00 2001 From: Peter Ivanov Date: Thu, 9 Sep 2021 13:10:27 +0300 Subject: [PATCH] update --- src/MicroweberPackages/Cart/CartManager.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/MicroweberPackages/Cart/CartManager.php b/src/MicroweberPackages/Cart/CartManager.php index 7c4d2b79c4a..6bc043ddfa6 100644 --- a/src/MicroweberPackages/Cart/CartManager.php +++ b/src/MicroweberPackages/Cart/CartManager.php @@ -675,9 +675,10 @@ public function update_cart($data) if ($content_custom_fields == false) { $content_custom_fields = $data; - if (isset($data['price'])) { - $found_price = $data['price']; - } +// // dont allow custom price +// if (isset($data['price'])) { +// $found_price = $data['price']; +// } } elseif (is_array($content_custom_fields)) { foreach ($content_custom_fields as $cf) { if (isset($cf['type']) and $cf['type'] == 'price') {