0

How to call the static block into magento2 plugin processor php file.

thanks

1
  • What is your complete requirement? Commented Sep 26, 2019 at 13:14

1 Answer 1

0

I followed like this I got an answer.

$shippingMessage = \Magento\Framework\App\ObjectManager::getInstance()->get('Magento\Framework\App\Config\ScopeConfigInterface')->getValue('shipping_note/shipping_note/shippingnote',\Magento\Store\Model\ScopeInterface::SCOPE_STORE);
        $jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']
            ['children']['shippingAddress']['children']['shipping-address-fieldset']['children']['country_id']['notice'] = $shippingMessage; 

Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.