Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
cashondelivery.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
12 $instructions = $block->getInstructions();
13 ?>
14 <?php if ($instructions): ?>
15  <?php $methodCode = $block->escapeHtml($block->getMethodCode());?>
16  <ul class="form-list checkout-agreements" id="payment_form_<?= /* @noEscape */ $methodCode ?>" style="display:none;">
17  <li>
18  <div class="<?= /* @noEscape */ $methodCode ?>-instructions-content checkout-agreement-item-content">
19  <?= /* @noEscape */ nl2br($block->escapeHtml($instructions)) ?>
20  </div>
21  </li>
22  </ul>
23 <?php endif; ?>
$instructions
$block
Definition: block.php:8