shish hace 3 años
padre
commit
bab3f88ada
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      biz-ghs/product/classes/ProductClass.php

+ 2 - 2
biz-ghs/product/classes/ProductClass.php

@@ -554,7 +554,7 @@ class ProductClass extends BaseClass
                         $price = bcsub($v['discountPrice'], $diff, 2);
                         $price = floatval($price);
                     } else {
-                        $price = 0.1;
+                        $price = $v['discountPrice'];
                     }
                 }
             }
@@ -690,7 +690,7 @@ class ProductClass extends BaseClass
                     if ($discountPrice > $diff) {
                         $price = bcsub($discountPrice, $diff, 2);
                     } else {
-                        $price = 0.01;
+                        $price = $discountPrice;
                     }
                 } else {
                     $price = $discountPrice;