質問 > その他 > カテゴリに登録がされません。 |
その他
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
MSN |
投稿日時: 2015/5/14 0:55
対応状況: −−−
|
新米 登録日: 2015/4/29 居住地: 投稿: 10 |
カテゴリに登録がされません。 新しくEC-CUBE2.13.3をインストールしたのですが、
いくら商品を登録しましてもトップページのカテゴリに商品詳細ページがリンクしません。 カテゴリ登録もしているのですが、 ブロック編集の設定が間違っているのでしょうか? <!--{* * This file is part of EC-CUBE * * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *}--> <script type="text/javascript">//<![CDATA[ $(function(){ $('#category_area li.level1:last').css('border-bottom', 'none'); }); //]]> </script> <div class="bloc_outer"> <div id="category_area"> <div class="bloc_body"> <h2><span class="square">■</span>商品カテゴリ</h2> <!--{strip}--> <ul id="categorytree"> <!--{assign var=preLev value=1}--> <!--{assign var=firstdone value=0}--> <!--{section name=cnt loop=$arrTree}--> <!--{* 表示フラグがTRUEなら表示 *}--> <!--{if $arrTree[cnt].display == 1}--> <!--{assign var=level value=`$arrTree[cnt].level`}--> <!--{assign var=levdiff value=`$level-$preLev`}--> <!--{if $levdiff > 0}--> <ul> <!--{elseif $levdiff == 0 && $firstdone == 1}--> </li> <!--{elseif $levdiff < 0}--> <!--{section name=d loop=`$levdiff*-1`}--> </li> </ul> <!--{/section}--> </li> <!--{/if}--> <li class="level<!--{$level}--><!--{if in_array($arrTree[cnt].category_id, $tpl_category_id)}--> onmark<!--{/if}-->"> <p> <a href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrTree[cnt].category_id}-->"<!--{if in_array($arrTree[cnt].category_id, $tpl_category_id)}--> class="onlink"<!--{/if}-->><!--{$arrTree[cnt].category_name|h}-->(<!--{$arrTree[cnt].product_count|default:0}-->)</a> </p> <!--{if $firstdone == 0}--><!--{assign var=firstdone value=1}--><!--{/if}--> <!--{assign var=preLev value=`$level`}--> <!--{/if}--> <!--{* セクションの最後に閉じタグを追加 *}--> <!--{if $smarty.section.cnt.last}--> <!--{if $preLev-1 > 0}--> <!--{section name=d loop=`$preLev-1`}--> </li> </ul> <!--{/section}--> </li> <!--{else}--> </li> <!--{/if}--> <!--{/if}--> <!--{/section}--> </ul> <!--{/strip}--> </div> </div> </div> なのですが、どこか不具合があるのでしょうか。 皆さんのお力添えをよろしくお願いします。 |
tsuji |
投稿日時: 2015/5/19 11:31
対応状況: −−−
|
仙人 登録日: 2013/11/19 居住地: 投稿: 958 |
Re: カテゴリに登録がされません。 MSN 様
デフォに戻して、カスタマイズを一つずつ追加していくと原因が 分かることもあります。 また、上記のコードはどのようなカスタマイズを行おうとしておられるのでしょうか?
|
run_cube |
投稿日時: 2015/6/11 18:12
対応状況: −−−
|
半人前 登録日: 2014/1/23 居住地: 東京 投稿: 18 |
Re: カテゴリに登録がされません。 MSN 様
>いくら商品を登録しましてもトップページのカテゴリに商品詳細ページがリンクしません。 ⇒ カテゴリブロックのリンクでは、商品詳細ページへはリンクしないかと存じます。 aタグのhrefを見ましても、products/list.php(商品一覧)へのリンクとなっております。 |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |