AH 价格不用转换币种

hotfix/paypal-note
Jimmy Liow 2 years ago
parent 2b334ed32e
commit ee2392ba5a

@ -1094,7 +1094,6 @@ class Information extends CI_Controller
}
}
}
$site_money = $this->currency->GetSiteMoney($price_number, 'USD');
$site_money = $this->currency->calc_show_price($site_money);
//把金额格式化为带有逗号(,)方便阅读,如 12,345
$price_number = is_numeric($price_number) ? number_format($site_money) : $price_number;
@ -1546,7 +1545,7 @@ class Information extends CI_Controller
$information->ic_content = str_replace('<!--@LANTERN-GP-FORM@-->', $gp_form_content, $information->ic_content);
$price_tag_list = $this->parse_price_tag($information->ic_content);
foreach ($price_tag_list as $price_tag) {
$information->ic_content = str_replace(
$price_tag['placeholder'],

Loading…
Cancel
Save