如何将ecshop“0元”商品显示为“价格面议”
发布时间:12/03 来源: 浏览:
关键词:
修改目的:【将“0元”商品显示为“价格面议”】
修改方法:
return sprintf($GLOBALS['_CFG']['currency_format'], $price);
替换为:
if (intval($price) == 0) { return "价格面议";} else { return sprintf($GLOBALS['_CFG']['currency_format'], $price); }