线下红包怎么过期了啊?帮忙解决下
2016-07-07 15:27 来源:www.chinab4c.com 作者:ecshop专家
| 我新增加的红包怎么过期了,怎么回事,知道的帮忙解决下,谢谢 | 
回答:
| 只有当前时间介于起始日期和截止日期之间时,此类型的红包才可以使用。检查一下您设置的红包使用结束日期。 | 
原帖由 lovemf59 于 2007-12-25 17:13 发表 设置了,看看图,是不是这样  
 | 
| 问题我已经解决,是程序有问题,我在论坛上搜到一则帖子里 goodbuyer发表了回复 帖子地址:http://bbs.ecshop.com/viewthread ... hlight=%BA%EC%B0%FC 非常感谢 goodbuyer 官方更新一下2.5.0版本吧 /**************************************************************** 有以下二种解决方法: 1.找到admin/bonus.php文件,打开,在第220行左右位置有如下内容: /* 获得日期信息 */ $send_startdate = local_strtotime($_POST['send_start_date']); $send_enddate= local_strtotime($_POST['send_end_date']); $uses_tartdate= local_strtotime($_POST['use_start_date']); $use_enddate = local_strtotime($_POST['use_end_date']); 找到以上内容后. 在下面加入: switch($_POST['send_type']){ case 0: $send_enddate=local_strtotime("2017-01-01"); break; case 3: $send_enddate=local_strtotime("2017-01-01"); break; } 这种方法修改后,所有的按用户发放和线下发放的时间限制都到2017-01-01,当然也可以修改上面的值到你希望的日期. 如果需要以后停止发放这种红包,有可能需要删除这种红包方案. 2.找到admin\templates\bonus_type_info.htm文件, 在第123行到132行,找到如下内容: function showunit(get_value) { gObj("1").style.display =(get_value == 2) ? "" : "none"; document.forms['theForm'].elements['send_start_date'].disabled= (get_value != 1 && get_value != 2); document.forms['theForm'].elements['send_end_date'].disabled = (get_value != 1 && get_value != 2); document.forms['theForm'].elements['selbtn1'].disabled= (get_value != 1 && get_value != 2); document.forms['theForm'].elements['selbtn2'].disabled= (get_value != 1 && get_value != 2); return; } 修改以下红色部分: function showunit(get_value) { gObj("1").style.display =(get_value == 2) ? "" : "none"; //document.forms['theForm'].elements['send_start_date'].disabled= (get_value != 1 && get_value != 2); //document.forms['theForm'].elements['send_end_date'].disabled = (get_value != 1 && get_value != 2); //document.forms['theForm'].elements['selbtn1'].disabled= (get_value != 1 && get_value != 2); //document.forms['theForm'].elements['selbtn2'].disabled= (get_value != 1 && get_value != 2); return; } **********************************************/  | 
| 请问您使用的商城系统是ec2.5版本1128的吗? 如果不是请先更新一下。  | 
原帖由 桔子 于 2007-12-25 18:01 发表 恩,1128的是最新的,可以用,谢谢 桔子 !!  | 
| 很好,找到解决方法了!谢谢lovemf59 | 
| 其实我想了想,你直接把页面那个文本框的 readonly="readonly" 去掉不就行了吗,这样就可以修改里面的值了 | 
 
        
					
						
                          
					
				 
      
      最近更新
常用插件
- ecshop评论功能改进插件
                                  
ecshop评论功能改进插件,这个插件是改进了现有的ecshop评论功能的一些...
 - ecshop2.7.2迷你购物车插件
                                  
ecshop2.7.2迷你购物车插件,这个插件主要是针对修改ecshop购买功能,为了...
 - ecshop后台订单商品列表查
                                  
ecshop后台订单商品列表查询插件,可以通过名称。就把产品显示检索出...
 - ecshop导出待发货订单exce
                                  
ecshop导出待发货订单excel格式,这个东西是十分重要的,我们在倒出ec...
 - ecshop商品列表中品牌批量
                                  
ecshop商品列表中品牌批量转移插件.这个插件听起来非常希奇。但是我们...
 
ecshop热门问答
ecshop热门资料
          
               
            51ecshop 
                
            ecshop物件 
                
            ecshop康比特 
                
            ecshop购买记录缩写 
                
            ecshop比较严重 
                
            ecshoplist 
                
            ecshop晒晒 
                
            ecshop后遗症 
                
            ecshop卓越 
                
            ecshopunderstood 
                
            ecshopMSQ 
                
            ecshop产品无法显示 
                
            ecshop不到 
                
            ecshop生产 
                
            ecshop图象 
                
            ecshop分类乱了 
                
            ecshop中通快递 
                
            ecshop编码问题 
                
            ecshop注意事项 
                
            ecshopUC与DZ整合 
                
            ecshopThe 
                
            ecshop购买 
                
            ecshop商品重量 
                
            ecshop详细页 
                
            ecshopecmall网站设计 
                
            ecshopecmall购物获积分功能 
                
            ecshop会员服务 
                
            ecshop七夕 
                
            ecshop备份失败 
                
            ecshopie不兼容 
             
        
      




