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 - 2 of 2

최수영(崔秀英)

새누리당

(전)한나라당(현 새누리당)성북을 당원협의회 위원장(전)박근혜 대통령후보 대외협력특보

댓글: 0  조회수: 777

홍인정(洪仁貞)

(현)자유한국당 은평갑 당협위원장(전)청와대 행정관
구·시·군의 장선거

댓글: 0  조회수: 119