バージョン選択

フォーラム

メニュー

オンライン状況

124 人のユーザが現在オンラインです。 (115 人のユーザが フォーラム を参照しています。)
登録ユーザ: 1
ゲスト: 123
subodh もっと...

サイト内検索

質問 > フロント機能 > ステータスによる商品検索

フロント機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
DDR
投稿日時: 2009/8/31 20:34
対応状況: −−−
仙人
登録日: 2008/6/21
居住地: 大阪
投稿: 307
ステータスによる商品検索
お世話になっております

現在、商品に関連付けたステータスIDによる
検索が出来るようにカスタマイズしております

LC_Page_Products_List.php

 //新着順
        case 'date':
            $col = "DISTINCT create_date, product_id, product_code_min, product_code_max,"
                . " name, comment1, comment2, comment3,"
                . " main_list_comment, main_image, main_list_image,"
                . " price01_min, price01_max, price02_min, price02_max,"
                . " stock_min, stock_max, stock_unlimited_min, stock_unlimited_max,"
                . " point_rate, sale_limit, sale_unlimited, deliv_date_id, deliv_fee,"
                . " status, product_flag, del_flg";
            $from = "vw_products_allclass AS T1";
            $order = "create_date DESC, product_id";
            break;
		//オススメ検索
        case 'reccomond':
            $col = "DISTINCT create_date, product_id, product_code_min, product_code_max,"
                . " name, comment1, comment2, comment3,"
                . " main_list_comment, main_image, main_list_image,"
                . " price01_min, price01_max, price02_min, price02_max,"
                . " stock_min, stock_max, stock_unlimited_min, stock_unlimited_max,"
                . " point_rate, sale_limit, sale_unlimited, deliv_date_id, deliv_fee,"
                . " status, product_flag, del_flg";
            $from = "vw_products_allclass AS T1";
            $order = "create_date DESC, product_id";
            break;


この部分をステータスID2にしてやるだけで問題ないのでしょうか?

list.tpl

 <!--{if $orderby != "reccomond"}-->
        <a href="java script:fnModeSubmit('', 'orderby', 'reccomond')">オススメ</a>
    <!--{else}-->
        <strong>オススメ</strong>
    <!--{/if}-->


アドバイス宜しくお願いいたします


----------------
------------------------------------------------------------------------------------------
EC-CUBE 3.0.17
DBサーバー mariaDB
WEBサーバー apache (CentOS)
PHP 7.1
-----------------------...

スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は90,053名です
総投稿数は110,298件です

投稿数ランキング

1
seasoft
7369
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1678
8
red
1571
9
mcontact
1347
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.