/** * Implements hook_preprocess_commerce_checkout_form(). */ function mytheme_preprocess_commerce_checkout_form(&$variables) { $form = &$variables['form']; $custom_fields = []; // 주문 엔터티 추출 시도 $order = NULL; if (!empty($form['#order'])) { $order = $form['#order']; } elseif (!empty($form['order'])) { $order = $form['order']; } elseif (!empty($form['#entity'])) { $order = $form['#entity']; } elseif (!empty($form['checkout'])) { $order = $form['checkout']; } if ($order && $order instanceof \Drupal\commerce_order\Entity\OrderInterface) { foreach ($order->getItems() as $order_item) { $variation = $order_item->getPurchasedEntity(); $product = $variation ? $variation->getProduct() : NULL; if ($product) { $footer_block_value = $product->hasField('field_footer_block') && !$product->field_footer_block->isEmpty() ? $product->field_footer_block->value : 'N/A'; $custom_fields[] = [ 'footer_block' => $footer_block_value, ]; } } } else { $custom_fields[] = ['footer_block' => '주문 엔터티를 찾을 수 없습니다.']; } $variables['custom_fields'] = $custom_fields; // 디버깅: form 키를 변수로 전달 $variables['form_keys'] = array_keys($form); } 부여생산자연합회 물류센터 준공식에 다녀왔어요 | 시민정치마당 주요 콘텐츠로 건너뛰기
사이드바

부여생산자연합회 물류센터 준공식에 다녀왔어요

목, 2019/05/09- 18:25익명 (미확인) 에 의해 제출됨
관련 개인/그룹
지역
카테고리

4월 26일 금요일 소부리영농조합법인에서 친환경농업기반구축사업으로 추진한 복합물류센터준공식이 있었습니다. 이번 복합물류센터는 친환경농업 기반구축사업으로 부여군에서 국도비와 자부담 등 14억9300만원을 투입하여 지상2층 규모로 마크크로건조기, 세척기 등 5종 1대의 기계와 장비가 설치되었다고 합니다.이로써 부여생산자연합회에서 생산하는 친환경농산물에 대해 선별, 소포장 등 생산과리, 유통 및 가공작업을 통해 제품생산까지 6차 산업화가 이뤄지게 된다고 합니다. 준공식에는 박정현 부여군수를 비롯하여 많은 내.외빈들의 축사가 있었고 기념촬영및 김영국대표의 섹소폰연주, 생산자분들의 축하노래도 이어져 준공식을 더욱.......

댓글 달기

CAPTCHA
스펨 사용자 차단 질문