상품리스트에서 시중가격 노출을 true로 변경
This commit is contained in:
@ -23,7 +23,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(1);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
@ -43,7 +43,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(2);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
@ -63,7 +63,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(3);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
@ -83,7 +83,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(4);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
@ -103,7 +103,7 @@ include_once(G5_MSHOP_PATH.'/shop.head.php');
|
||||
$list->set_type(5);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
|
||||
@ -84,7 +84,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_cust_price', false);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
|
||||
@ -38,7 +38,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($it_name)."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($it_name)."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -33,7 +33,7 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
|
||||
$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_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
@ -75,7 +75,7 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
|
||||
$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_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
@ -96,7 +96,7 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
|
||||
$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_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
@ -117,7 +117,7 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
|
||||
$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_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
|
||||
@ -95,7 +95,7 @@ var itemlist_ca_id = "<?php echo $ca_id; ?>";
|
||||
$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_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
|
||||
@ -45,7 +45,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_basic'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -41,7 +41,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -44,7 +44,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -45,7 +45,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_basic'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -51,7 +51,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -54,7 +54,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<b>".stripslashes($row['it_name'])."</b>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price) {
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<span class=\"sct_cost\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user