Skip to content
Permalink
Browse files
update
  • Loading branch information
peter-mw committed Sep 9, 2021
1 parent 906b5a9 commit 76c277a7ad3518ea6d997cdd4f3152a9f2ae31ad
Showing with 4 additions and 3 deletions.
  1. +4 −3 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') {

0 comments on commit 76c277a

Please sign in to comment.