バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > 管理機能 > 受注管理画面でお届け日とお届け時間を表示させたい。

管理機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
metan
投稿日時: 2013/11/14 13:40
対応状況: −−−
一人前
登録日: 2013/3/4
居住地:
投稿: 112
Re: 受注管理画面でお届け日とお届け時間を表示させたい。
DELIGHT様

初めましてmetanと申します。この度はご連絡くださいまして誠にありがとうございます。

頂いた内容の変更点ですが下記で大丈夫でしょうか?

>data/class/pages/admin/order/LC_Page_Admin_Order.php

$where = 'del_flg = 0';

【下記に変更】

$where = 'dtb_order.del_flg = 0';


$order = 'update_date DESC';

【下記に変更】

$order = 'dtb_order.update_date DESC';


function findOrders($where, $arrValues, $limit, $offset, $order) {
$objQuery =& SC_Query_Ex::getSingletonInstance();
$objQuery->setLimitOffset($limit, $offset);
$objQuery->setOrder($order);
return $objQuery->select('*', 'dtb_order', $where, $arrValues);
}

【下記に書き換え】

function findOrders($where, $arrValues, $limit, $offset, $order) {
$objQuery =& SC_Query_Ex::getSingletonInstance();
$table = <<<EOSQL
dtb_order, (
SELECT MIN(shipping_id) AS shipping_id, order_id
FROM dtb_shipping
WHERE del_flg = 0
GROUP BY order_id
) T2
LEFT JOIN dtb_shipping
ON T2.shipping_id = dtb_shipping.shipping_id
AND T2.order_id = dtb_shipping.order_id
EOSQL;

$where .= 'AND dtb_order.order_id = T2.order_id';
$objQuery->setLimitOffset($limit, $offset);
$objQuery->setOrder($order);
return $objQuery->select('*', $table, $where, $arrValues);
}


>data/Smarty/templates/admin/order/index.tpl

<td class="center"><!--{$arrResults[cnt].commit_date|sfDispDBDate|default:"未発送"}--></td>

の下に【下記を追加】

<td class="center"><!--{$arrResults[cnt].shipping_date|sfDispDBDate|h|default:"予定日なし"}--></td>
<td class="center"><!--{$arrResults[cnt].shipping_time|h|default:"時間指定なし"}--></td>

で問題ないでしょうか?お手数おかけします。何卒よろしくお願いいたします。
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   受注管理画面でお届け日とお届け時間を表示させたい。 metan 2013/11/14 8:28
     Re: 受注管理画面でお届け日とお届け時間を表示させたい。 bratech 2013/11/14 10:57
       Re: 受注管理画面でお届け日とお届け時間を表示させたい。 metan 2013/11/14 13:50
     Re: 受注管理画面でお届け日とお届け時間を表示させたい。 DELIGHT 2013/11/14 11:24
     » Re: 受注管理画面でお届け日とお届け時間を表示させたい。 metan 2013/11/14 13:40
         Re: 受注管理画面でお届け日とお届け時間を表示させたい。 DELIGHT 2013/11/14 13:50
           Re: 受注管理画面でお届け日とお届け時間を表示させたい。 metan 2013/11/14 14:12
             Re: 受注管理画面でお届け日とお届け時間を表示させたい。 DELIGHT 2013/11/14 14:26
               Re: 受注管理画面でお届け日とお届け時間を表示させたい。 metan 2013/11/14 14:42
                 Re: 受注管理画面でお届け日とお届け時間を表示させたい。 DELIGHT 2013/11/14 14:56
                   Re: 受注管理画面でお届け日とお届け時間を表示させたい。 metan 2013/11/14 15:05
                     Re: 受注管理画面でお届け日とお届け時間を表示させたい。 DELIGHT 2013/11/14 15:18
                       Re: 受注管理画面でお届け日とお届け時間を表示させたい。 metan 2013/11/14 15:26
                         Re: 受注管理画面でお届け日とお届け時間を表示させたい。 DELIGHT 2013/11/14 15:51
                           Re: 受注管理画面でお届け日とお届け時間を表示させたい。 metan 2013/11/14 17:51
                             Re: 受注管理画面でお届け日とお届け時間を表示させたい。 320320 2017/1/31 10:08
                               Re: 受注管理画面でお届け日とお届け時間を表示させたい。 468 2017/1/31 12:51
                                 Re: 受注管理画面でお届け日とお届け時間を表示させたい。 320320 2017/1/31 13:10
                                   Re: 受注管理画面でお届け日とお届け時間を表示させたい。 468 2017/1/31 15:06
                                     Re: 受注管理画面でお届け日とお届け時間を表示させたい。 320320 2017/2/2 14:35
                                       Re: 受注管理画面でお届け日とお届け時間を表示させたい。 468 2017/2/2 15:48
                                         Re: 受注管理画面でお届け日とお届け時間を表示させたい。 320320 2017/2/10 13:52

 



ログイン


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

統計情報

総メンバー数は88,954名です
総投稿数は110,019件です

投稿数ランキング

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