| | 18 | |
| | 19 | http://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 | }}} |