バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

機能要望 > 管理機能 > 管理画面:おすすめ商品管理画面での「並べ替え(上へ・下へ)」の不具合及び仕様について

管理機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
sumida
投稿日時: 2013/11/2 21:31
対応状況: −−−
仙人
登録日: 2013/2/10
居住地: 広島県呉市ときどき瀬戸内海
投稿: 641
管理画面:おすすめ商品管理画面での「並べ替え(上へ・下へ)」の不具合及び修正案
現在の不具合

(1−1)おすすめ商品の1、2に登録していると仮定した場合

    おすすめ商品2に「下へ」を表示している。

(1−2)おすすめ商品の1、2に登録し、おすすめ商品3で「商品を選択する」により商品を選択した直後(「この内容で登録する」を操作していない)の場合

    おすすめ商品2の「下へ」をクリックすると、「おすすめ商品3を破棄します。」と表示するが、おすすめ商品3がなくなるも、おすすめ商品2はそのままになる。

不具合:
    登録しているrankの最大値の場合、「下へ」を非表示にすべき。
(SC_Helper_DB.php で、

// ランクが最大値よりも小さい場合に実行する。

とある。)

修正案:
data/Smarty/templates/admin/contents/recommend.tpl

<!-- {* added *}-->
    <!--{if $smarty.section.cnt.last}-->
    <!--{else}-->
<!-- {* added *}-->
                    <!--{if $smarty.section.cnt.iteration != $tpl_disp_max && $arrItems[$smarty.section.cnt.iteration].product_id}-->
                        <a href="?" onclick="lfnSortItem('down',<!--{$arrItems[$smarty.section.cnt.iteration].best_id}-->); return false;">下へ</a>
                    <!--{/if}-->
<!-- {* added *}-->
    <!--{/if}-->
<!-- {* added *}-->



(2)「商品を選択する」により商品を選択した直後(「この内容で登録する」を操作していない)の場合

    「上へ」「下へ」を表示している。

不具合:
    「上へ」「下へ」を非表示にすべき。
(SC_Helper_DB.php で、

        // 対象項目のランクを取得
        $rank = $objQuery->get('rank', $table, $where, array($id));

とあり、対象項目の存在を確認していない。)

修正案:

                <td>
                    <!--{* 移動 *}-->
<!--{* changed
                    <!--{if $smarty.section.cnt.iteration != 1 && $arrItems[$smarty.section.cnt.iteration].product_id}-->
changed *}-->
                    <!--{if $smarty.section.cnt.iteration != 1 && $arrItems[$smarty.section.cnt.iteration].best_id}-->
<!-- {* changed *}-->


                    <!--{/if}-->
<!--{* changed
                    <!--{if $smarty.section.cnt.iteration != $tpl_disp_max && $arrItems[$smarty.section.cnt.iteration].product_id}-->
changed *}-->
                    <!--{if $smarty.section.cnt.iteration != $tpl_disp_max && $arrItems[$smarty.section.cnt.iteration].best_id}-->
<!-- {* changed *}-->
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   管理画面:おすすめ商品管理画面での「並べ替え(上へ・下へ)」の不具合及び仕様について sumida 2013/10/31 21:33
   » 管理画面:おすすめ商品管理画面での「並べ替え(上へ・下へ)」の不具合及び修正案 sumida 2013/11/2 21:31
       Re: 管理画面:おすすめ商品管理画面での「並べ替え(上へ・下へ)」の不具合及び修正案 shutta 2014/6/13 17:26
         Re: 管理画面:おすすめ商品管理画面での「並べ替え(上へ・下へ)」の不具合及び修正案 shutta 2014/7/11 0:41
           Re: 管理画面:おすすめ商品管理画面での「並べ替え(上へ・下へ)」の不具合及び修正案 sumida 2014/7/11 20:13

 



ログイン


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

統計情報

総メンバー数は88,850名です
総投稿数は109,988件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2313
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1291
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.