10 <div
id=
"shipping-method-container">
11 <?php
if (
$block->getCanEditShippingMethod() || !
$block->getCurrentShippingRate()): ?>
12 <?php
if ($groups =
$block->getShippingRateGroups()): ?>
13 <?php $currentRate =
$block->getCurrentShippingRate(); ?>
14 <select
name=
"shipping_method" id=
"shipping_method" class=
"required-entry">
15 <?php
if (!$currentRate): ?>
17 <?=
$block->escapeHtml(
__(
'Please select a shipping method...')) ?>
21 <optgroup label=
"<?= $block->escapeHtml($block->getCarrierName($code)) ?>" 22 style=
"font-style:normal;">
25 value=
"<?= $block->escapeHtml($block->renderShippingRateValue($rate)) ?>" 26 <?= ($currentRate ===
$rate) ?
' selected="selected"' :
'' ?>>
36 <?=
$block->escapeHtml(
__(
'Sorry, no quotes are available for this order right now.')) ?>
43 <?=
$block->renderShippingRateOption(
$block->getCurrentShippingRate()) ?>
48 <div style=
"display: none" id=
"shipping_method_update">
49 <p><?=
$block->escapeHtml(
__(
'Please update order data to get shipping methods and rates')) ?></p>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
foreach( $groups as $code=> $rates)( $block->getCarrierName( $code)) ?>" style endforeach