[보도협조요청] 산업기술보호법 재개정 촉구 청년 기자회견(2/11 오전 11시)
청년은 안전한 일터가 필요합니다
노동자의 생명권, 안전권 침해하는 「산업기술보호법」 재개정 촉구 기자회견 개최
일시 장소 : 02. 11. (화) 11:00, 국회 정문 앞…
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; }
청년은 안전한 일터가 필요합니다
노동자의 생명권, 안전권 침해하는 「산업기술보호법」 재개정 촉구 기자회견 개최
일시 장소 : 02. 11. (화) 11:00, 국회 정문 앞…