|
@@ -136,7 +136,11 @@ class ProductClass extends BaseClass
|
|
|
if ($level == 0) {
|
|
if ($level == 0) {
|
|
|
$currentAddPrice = $v['skMore'] ?? 0;
|
|
$currentAddPrice = $v['skMore'] ?? 0;
|
|
|
$list[$k]['prePrice'] = bcadd($v['price'], $currentAddPrice, 2);
|
|
$list[$k]['prePrice'] = bcadd($v['price'], $currentAddPrice, 2);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ if (isset($v['discountPrice']) && $v['discountPrice'] > 0) {
|
|
|
//改价列表显示的散客价【重要】
|
|
//改价列表显示的散客价【重要】
|
|
|
|
|
+ $currentAddPrice = $v['skMore'] ?? 0;
|
|
|
$list[$k]['skPrice'] = bcadd($price, $currentAddPrice, 2);
|
|
$list[$k]['skPrice'] = bcadd($price, $currentAddPrice, 2);
|
|
|
}
|
|
}
|
|
|
|
|
|