관련상품 시중가격 채택완료
관련상품에 시중가격을 표시하고 싶은데요.
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('', 0);
?>
for ($i=1; $row=sql_fetch_array($result); $i++) {
if ($this->list_mod >= 2) { // 1줄 이미지 : 2개 이상
if ($i%$this->list_mod == 0) $sct_last = ' sct_last'; // 줄 마지막
else if ($i%$this->list_mod == 1) $sct_last = ' sct_clear'; // 줄 첫번째
else $sct_last = '';
} else { // 1줄 이미지 : 1개
$sct_last = ' sct_clear';
}
if ($i == 1) {
if ($this->css) {
echo "
- css}\">\n";
- img_width}px\">\n";
if ($this->href) {
echo "
\n";}
if ($this->view_it_icon) {
echo "
".item_icon($row)."\n";}
if ($this->view_it_id) {
echo "
<".stripslashes($row['it_id']).">\n";}
if ($this->href) {
echo "
\n";}
if ($this->view_it_basic && $row['it_basic']) {
echo "
".stripslashes($row['it_basic'])."\n";}
if ($this->view_it_cust_price || $this->view_it_price) {
echo "
\n";\n";if ($this->view_it_cust_price && $row['it_cust_price']) {
echo "
".display_price($row['it_cust_price'])."\n";}
if ($this->view_it_price) {
echo display_price(get_price($row), $row['it_tel_inq'])."\n";
}
echo "
}
if ($this->view_sns) {
$sns_top = $this->img_height + 10;
$sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
echo "
";\n";echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_fb_s.png');
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_twt_s.png');
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_goo_s.png');
echo "
}
echo "
\n";
} else {
echo "
- \n";
}
}
echo "
}
if ($i > 1) echo "
if($i == 1) echo "
등록된 상품이 없습니다.
\n";?>
부탁드립니다.
답변 1개
echo "".display_price($row['it_cust_price'])."\n";
}
이미 사용중이십니다.
시중가격을 입력해 보세요.
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인