use Drupal\commerce_order\Entity\Order; /** * Implements hook_preprocess_HOOK() for commerce_checkout_order_summary. */ function bootstrap_barrio_subtheme_preprocess_commerce_checkout_order_summary(&$variables) { $order = $variables['order_entity']; // 주문 엔터티 $product_ids = []; if ($order instanceof Order) { foreach ($order->getItems() as $order_item) { $purchased_entity = $order_item->getPurchasedEntity(); if ($purchased_entity && $purchased_entity->getProduct()) { $product = $purchased_entity->getProduct(); $product_ids[] = $product->id(); } } } // Twig 템플릿에서 사용할 변수 추가 $variables['product_ids'] = $product_ids; } 폴 싱어 | 시민정치마당 주요 콘텐츠로 건너뛰기
사이드바

폴 싱어 태그글 모음

결과값: 1 - 4 of 4

트럼프 최측근과 고액 후원자들도 조세도피처로

대통령 후보 시절부터 조세도피처를 통한 역외 탈세 문제를 비판하던 도널드 트럼프 미 대통령. 그러나 애플비(Appleby) 유출 문서에서 트럼프 행정부의…

댓글: 0  조회수: 213

트럼프 최측근과 고액 후원자들도 조세도피처로

대통령 후보 시절부터 조세도피처를 통한 역외 탈세 문제를 비판하던 도널드 트럼프 미 대통령. 그러나 애플비(Appleby) 유출 문서에서 트럼프 행정부의…

댓글: 0  조회수: 213

트럼프 최측근과 고액 후원자들도 조세도피처로

대통령 후보 시절부터 조세도피처를 통한 역외 탈세 문제를 비판하던 도널드 트럼프 미 대통령. 그러나 애플비(Appleby) 유출 문서에서 트럼프 행정부의…

댓글: 0  조회수: 145

트럼프 최측근과 고액 후원자들도 조세도피처로

대통령 후보 시절부터 조세도피처를 통한 역외 탈세 문제를 비판하던 도널드 트럼프 미 대통령. 그러나 애플비(Appleby) 유출 문서에서 트럼프 행정부의…

댓글: 0  조회수: 145