最低限购金额怎么修改?

2016-07-07 15:03 来源:www.chinab4c.com 作者:ecshop专家

这个很简单。提交定单的时候。进行判断.

回答:
找到flow.php
  1. /* 检查商品总额是否达到最低限购金额 */
  2. if ($flow_type == CART_GENERAL_GOODS && cart_amount(true, CART_GENERAL_GOODS) < $_CFG['min_goods_amount'])
  3. {
  4. show_message(sprintf($_LANG['goods_amount_not_enough'], price_format($_CFG['min_goods_amount'], false)));
  5. }
复制代码
注释掉 提示哪句话
  1. /* 检查商品总额是否达到最低限购金额 */
  2. if ($flow_type == CART_GENERAL_GOODS && cart_amount(true, CART_GENERAL_GOODS) < $_CFG['min_goods_amount'])
  3. {
  4. //show_message(sprintf($_LANG['goods_amount_not_enough'], price_format($_CFG['min_goods_amount'], false)));
  5. }
复制代码