내일 8월 27일(화) 오후7시
'진주시 의정모니터링의 성과와 한계' 를 주제로 진주의정모니터단과 함께 이야기를 나눕니다.
그동안 진행되었던 진주시의회의 의정모니터링과 진주시의회 생중계 결정과정을 공유하고 향후 의정감시, 시민참여 활동에 대한 토크쇼를 진행할 예정입니다.
2019 진주참여예산학교의 강좌 중 하나로 열리지만 누구나 참석 가능합니다. 여러분의 많은 관심과 참석 부탁드립니다.
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; }
내일 8월 27일(화) 오후7시
'진주시 의정모니터링의 성과와 한계' 를 주제로 진주의정모니터단과 함께 이야기를 나눕니다.
그동안 진행되었던 진주시의회의 의정모니터링과 진주시의회 생중계 결정과정을 공유하고 향후 의정감시, 시민참여 활동에 대한 토크쇼를 진행할 예정입니다.
2019 진주참여예산학교의 강좌 중 하나로 열리지만 누구나 참석 가능합니다. 여러분의 많은 관심과 참석 부탁드립니다.
댓글 달기