...
|
...
|
@@ -278,9 +278,7 @@ class Helpers |
|
|
$result['salePrice'] && $result['salePrice'] .= '.00';
|
|
|
}
|
|
|
// TODO student price
|
|
|
if ($productData['student_price'] || 1) {
|
|
|
$result['studentPrice'] = $productData['sales_price'];
|
|
|
}
|
|
|
$result['studentPrice'] = sprintf("%.2f",$productData['sales_price']*0.9);
|
|
|
$result['is_soon_sold_out'] = ($productData['is_soon_sold_out'] === 'Y');
|
|
|
$url = self::url('/product/pro_' . $productData['product_id'] . '_'
|
|
|
. $productData['goods_list'][0]['goods_id']
|
...
|
...
|
|