亚马逊独立站无法搜索,官方demo亦然

bug问题 · ben1 · 于 3年前 发布 · 1186 次阅读

亚马逊独立站无法搜索,和官方demo一样出现这个问题。可以确认不是配置问题。

复现步骤

  • 下载安装amazon应用
  • 激活应用,搜索出现异常
  • 关闭应用,搜索正常

报错文件 in addons/fecmall/fecamazon/app/appfront/modules/Catalogsearch/block/index/Index.php at line 57

报错代码

$products = $productCollInfo['coll'];
        $this->_productCount = $productCollInfo['count'];
        //echo $this->_productCount;
        return [
            'searchText'        => $this->_searchText,
            'title'             => $this->_title,
            'name'              => Yii::$service->store->getStoreAttrVal($this->_category['name'], 'name'),
            'image'             => $this->_category['image'] ? Yii::$service->category->image->getUrl($this->_category['image']) : '',
            'description'       => Yii::$service->store->getStoreAttrVal($this->_category['description'], 'description'),
            'products'          => $products,
            'count'         => $productCollInfo['count'],
            'query_item'        => $this->getQueryItem(),
            'product_page'      => $this->getProductPage(),
共收到 1 条回复 fecshop
Fecmall#13年前 0 个赞

fecmall升级调整了一些代码,但fecamazon没有做调整,进而导致的报错

已经修复,你后台应用中心升级 一下 fecamazon即可

demo: http://fecamazonh5.fecshop.com/catalogsearch/index?q=dress

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics