상세페이지 2,3차 카테고리 노출 정보
상세페이지 2,3차 카테고리 노출본문
상세페이지는 카테고리가 다 노출이 되지 않더라구요
/skin/shop/basic/navigation.skin.php
하단쯤에
if ($it_id){
$sql_t = " select ca_id2 from {$g5['g5_shop_item_table']} where it_id = '$it_id' ";
// echo $sql_t;
$row_t = sql_fetch($sql_t);
// echo $row_t[ca_id2];
$sql_name = " select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$row_t[ca_id2]' ";
$row_name = sql_fetch($sql_name);
$navigation = '<a href="/store.php" class="sct_here ">ONLINE STORE</a>';
$navigation .= ' <a href="./list.php?ca_id='.$row_t[ca_id2].'" class="sct_here ">'.$row_name['ca_name'].'</a>';
//$navigation .= " > $it[it_name]";
$navigation .= ' <a href="#" class="sct_here sct_here2 ">'. $it['it_name'].'</a>';
}
붙여넣으시면 되실겁니다.
/skin/shop/basic/navigation.skin.php
하단쯤에
if ($it_id){
$sql_t = " select ca_id2 from {$g5['g5_shop_item_table']} where it_id = '$it_id' ";
// echo $sql_t;
$row_t = sql_fetch($sql_t);
// echo $row_t[ca_id2];
$sql_name = " select ca_name from {$g5['g5_shop_category_table']} where ca_id = '$row_t[ca_id2]' ";
$row_name = sql_fetch($sql_name);
$navigation = '<a href="/store.php" class="sct_here ">ONLINE STORE</a>';
$navigation .= ' <a href="./list.php?ca_id='.$row_t[ca_id2].'" class="sct_here ">'.$row_name['ca_name'].'</a>';
//$navigation .= " > $it[it_name]";
$navigation .= ' <a href="#" class="sct_here sct_here2 ">'. $it['it_name'].'</a>';
}
붙여넣으시면 되실겁니다.
추천
2
2
댓글 0개