rabin 2 years ago
parent
commit
f16a9136d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/shop/src/Buy.php

+ 1 - 1
app/shop/src/Buy.php

@@ -114,7 +114,7 @@ class Buy extends Core
 	                    $price_template = Dever::load('price/lib/data')->get($v['goods_id'], $v['sku_id'], $goods_sku['price_id']);
 	                    if ($price_template) {
 	                        if ($price_template['price_sell'] && $price_template['price_sell'] > 0) {
-	                            $this->data['cart'][$k]['goods']['price'] = $price_template['price_sell'];
+	                            $this->data['cart'][$k]['goods']['s_price'] = $this->data['cart'][$k]['goods']['price'] = $price_template['price_sell'];
 	                        }
 	                    }
 	                }