qi_ruo 发表于 2011-11-7 20:03:31

本帖最后由 qi_ruo 于 2011-11-7 20:42 编辑

1 产品页面在php.ini 为 short_open_tag = Off 的时候会报错请修改/gocart/views/product.php的180行
<?endif;?> 改为 <?php endif;?>

2 顾客注册时会出现 Fatal error: Cannot use object of type stdClass as array

请修改/gocart/models/customer_model.php的218行
if($customer['group_id']!=0)
{
    $group = $this->get_group($customer['group_id']);
    if($group) // group might not exist
    {
      if($group['discount_type'] == "fixed") {
            $customer['group_discount_formula'] = "- ". $group['discount'];
      } else {
            $customer['group_discount_formula'] = "* ". (float)$group['discount']/100 ;
      }
    }
}
改为
if($customer['group_id']!=0)
{
    $group = $this->get_group($customer['group_id']);
    if($group) // group might not exist
    {
      if($group->discount_type == "fixed") {
            $customer['group_discount_formula'] = "- ". $group->discount;
      } else {
            $customer['group_discount_formula'] = "* ". (float)$group->discount/100 ;
      }
    }
}

sdink 发表于 2011-11-7 21:39:35

qi_ruo 发表于 2011-11-7 20:03 static/image/common/back.gif
1 产品页面在php.ini 为 short_open_tag = Off 的时候会报错请修改/gocart/views/product.php的180行
改为 ...

这么快就看了啊。
我才下载啊。。。。。:'(

baiyuxiong 发表于 2011-11-8 23:00:13

试了下,问题多多。

nymbian 发表于 2011-11-11 14:00:56

学习下风格                           

avinmo 发表于 2011-11-11 14:08:40

好东西。是需要顶上去的。。

longjianghu 发表于 2011-11-15 22:53:04

下载下来观摩一下

credochen 发表于 2011-11-15 23:49:29

问题是有,我安装之后后台不行登录。因为是https协议的。。。。没时间看,就浏览了些

lnlingyuan 发表于 2011-11-16 16:39:52

要是有人能够给翻译一下就更完美了:D

qingbofish 发表于 2011-11-29 09:26:52

弱弱的问一句,gocart是什么。

likely_01 发表于 2011-11-29 12:58:24

{:soso_e102:}
页: 1 [2] 3 4 5
查看完整版本: 特大好消息,官网推出了开源程序gocart