アップグレード・優待販売等、顧客に案内したメール等からは直接アクセス可能だが、一覧や検索は引っかからない商品の公開設定があると助かります。
※ダウンロード販売/パッケージ販売等、同一の製品名の亜種が沢山発生するなど、一覧表示が汚くなるのを回避するためにも使えます。
--- \data\conf\conf.php Fri Oct 27 12:14:02 2006 UTC
+++ \data\conf\conf.php Fri Nov 10 07:10:48 2006 UTC
@@ -389,6 +389,7 @@
// 商品登録-表示
$arrDISP[1] = "公開";
$arrDISP[2] = "非公開";
+$arrDISP[3] = "一覧非公開";
// 商品登録-規格
$arrCLASS[1] = "規格無し";
--- \data\Smarty\templates\admin\products\product.tpl Thu Oct 12 07:43:12 2006 UTC
+++ \data\Smarty\templates\admin\products\product.tpl Fri Nov 10 07:11:31 2006 UTC
@@ -77,7 +77,7 @@
</tr>
<tr>
<td bgcolor="#f2f1ec" width="160" class="fs12n">公開・非公開<span class="red"> *</span></td>
- <td bgcolor="#ffffff" width="557" class="fs12n"><input type="radio" name="status" value="1" <!--{if $arrForm.status == "1"}-->checked<!--{/if}-->/>公開 <input type="radio" name="status" value="2" <!--{if $arrForm.status == "2"}-->checked<!--{/if}--> />非公開</td>
+ <td bgcolor="#ffffff" width="557" class="fs12n"><input type="radio" name="status" value="1" <!--{if $arrForm.status == "1"}-->checked<!--{/if}-->/>公開 <input type="radio" name="status" value="2" <!--{if $arrForm.status == "2"}-->checked<!--{/if}--> />非公開 <input type="radio" name="status" value="3" <!--{if $arrForm.status == "3"}-->checked<!--{/if}--> />一覧非公開</td>
</tr>
<tr class="fs12n">
<td bgcolor="#f2f1ec" width="160">商品ステータス</td>
--- \html\products\detail.php Thu Oct 12 09:35:40 2006 UTC
+++ \html\products\detail.php Fri Nov 10 07:18:08 2006 UTC
@@ -55,7 +55,7 @@
if($_GET['admin'] == 'on') {
$where = "del_flg = 0";
} else {
- $where = "del_flg = 0 AND status = 1";
+ $where = "del_flg = 0 AND (status = 1 or status = 3)";
}
if($_POST['mode'] != "") {