Skip to content

Commit

Permalink
fix EC-CUBE#1007 セッションに保存される配送商品詳細から不要なものを削除するように
Browse files Browse the repository at this point in the history
  • Loading branch information
clicktx committed Oct 3, 2024
1 parent ce041e5 commit b2cfa7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/class/helper/SC_Helper_Purchase.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,9 @@ public function setShipmentItemTemp($shipping_id, $product_class_id, $quantity)

if (empty($arrItems['productsClass'])) {
$product = &$objProduct->getDetailAndProductsClass($product_class_id);
// セッション変数のデータ量を抑制するため、一部の商品情報を切り捨てる
$objCartSession = new SC_CartSession_Ex();
$objCartSession->adjustSessionProductsClass($product);
$arrItems['productsClass'] = $product;
}
$arrItems['price'] = $arrItems['productsClass']['price02'];
Expand Down

0 comments on commit b2cfa7b

Please sign in to comment.