기본설명을 상품명 하단에 노출 되도록 함
This commit is contained in:
@ -223,7 +223,7 @@ $pg_anchor ='<ul class="anchor">
|
||||
<th scope="row"><label for="it_basic">기본설명</label></th>
|
||||
<td>
|
||||
<?php echo help("상품명 하단에 상품에 대한 추가적인 설명이 필요한 경우에 입력합니다. HTML 입력도 가능합니다."); ?>
|
||||
<input type="text" name="it_basic" value="<?php echo get_text($it['it_basic']); ?>" id="it_basic" class="frm_input" size="80">
|
||||
<input type="text" name="it_basic" value="<?php echo get_text($it['it_basic']); ?>" id="it_basic" class="frm_input" size="95">
|
||||
</td>
|
||||
<td class="td_grpset">
|
||||
<input type="checkbox" name="chk_ca_it_basic" value="1" id="chk_ca_it_basic">
|
||||
|
||||
@ -77,6 +77,7 @@ class item_list
|
||||
protected $view_it_id = false; // 상품코드
|
||||
protected $view_it_img = true; // 상품이미지
|
||||
protected $view_it_name = true; // 상품명
|
||||
protected $view_it_basic = true; // 기본설명
|
||||
protected $view_it_price = true; // 판매가격
|
||||
protected $view_it_cust_price = false; // 소비자가
|
||||
protected $view_it_icon = false; // 아이콘
|
||||
|
||||
@ -32,6 +32,7 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
|
||||
$list->set_view('it_img', true);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_basic', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
@ -52,6 +53,7 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(2);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_basic', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
@ -72,6 +74,7 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(3);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_basic', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
@ -92,6 +95,7 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(4);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_basic', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
@ -112,6 +116,7 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(5);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_basic', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
|
||||
@ -97,6 +97,7 @@ var itemlist_ca_id = "<?php echo $ca_id; ?>";
|
||||
$list->set_view('it_img', true);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_basic', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
|
||||
@ -41,6 +41,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_basic) {
|
||||
echo "<b>".stripslashes($row['it_basic'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
@ -41,6 +41,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_basic) {
|
||||
echo "<b>".stripslashes($row['it_basic'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user