Changes between Initial Version and Version 2 of Ticket #2486


Ignore:
Timestamp:
2014/07/02 21:31:40 (10 years ago)
Author:
snitta
Comment:

追加の報告がありましたので説明に追記致しました。

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2486

    • Property Milestone changed from EC-CUBE2.13.2 to EC-CUBE2.13.3
  • Ticket #2486 – Description

    initial v2  
    1616とあり、「商品の追加」「変更」に関わらず、必ず商品追加として処理される。 
    1717}}} 
     18 
     19http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=14064&forum=9&post_id=63124#forumpost63124 
     20 
     21{{{ 
     22その後、調べてみました。 
     23 
     24変更の場合、LC_Page_Admin_Order_Edit.phpに変更として渡っているようです。 
     25(最初の投稿内容は、誤りです。) 
     26となると、 
     27関数 shipmentEditProduct 
     28 
     29 
     30        //既にあるデータは1つだけ数量を1増やす 
     31        $pre_shipment_product_class_id = $arrShipmentProducts['shipment_product_class_id'][$select_shipping_id][$change_no]; 
     32        if ($pre_shipment_product_class_id == $edit_product_class_id) { 
     33            $arrShipmentProducts['shipment_quantity'][$select_shipping_id][$change_no] ++; 
     34        } elseif (in_array($edit_product_class_id, $arrShipmentProducts['shipment_product_class_id'][$select_shipping_id])) { 
     35 
     36 
     37ここに記述されている「既にあるデータは1つだけ数量を1増やす」の仕様がどうなのだろうか? 
     38 
     39つまり、「変更」ボタンをクリックし、商品選択ポップアップ画面で元の商品と同じ商品を選択した場合、 
     40・「数量を1増やす」 
     41・「元のまま変化なし」 
     42のいずれを仕様とするかということになる。 
     43}}}