13 <div
id=
"order-shipping-method-choose" class=
"control" style=
"display:none">
14 <dl
class=
"admin__order-shipment-methods">
16 <dt
class=
"admin__order-shipment-methods-title"><?=
$block->escapeHtml(
$block->getCarrierName(
$code)) ?></dt>
17 <dd
class=
"admin__order-shipment-methods-options">
18 <ul
class=
"admin__order-shipment-methods-options-list">
19 <?php
foreach (
$_rates as $_rate): ?>
20 <?php $_radioProperty =
'name="order[shipping_method]" type="radio" onclick="order.setShippingMethod(this.value)"' ?>
21 <?php
$_code = $_rate->getCode() ?>
22 <li
class=
"admin__field-option">
23 <?php
if ($_rate->getErrorMessage()): ?>
24 <div
class=
"messages">
25 <div
class=
"message message-error error">
26 <div><?=
$block->escapeHtml($_rate->getErrorMessage()) ?></div>
30 <?php $_checked =
$block->isMethodActive(
$_code) ?
'checked="checked"' :
'' ?>
31 <input <?= $_radioProperty ?>
value=
"<?= /* @escapeNotVerified */ $_code ?>" 32 id=
"s_method_<?= /* @escapeNotVerified */ $_code ?>" <?= $_checked ?>
33 class=
"admin__control-radio required-entry"/>
34 <label
class=
"admin__field-label" for=
"s_method_<?= /* @escapeNotVerified */ $_code ?>">
35 <?=
$block->escapeHtml($_rate->getMethodTitle() ? $_rate->getMethodTitle() : $_rate->getMethodDescription()) ?> -
37 <?php
$_excl =
$block->getShippingPrice($_rate->getPrice(), $this->helper(
'Magento\Tax\Helper\Data')->displayShippingPriceIncludingTax()); ?>
38 <?php
$_incl =
$block->getShippingPrice($_rate->getPrice(),
true); ?>
41 <?php
if ($this->helper(
'Magento\Tax\Helper\Data')->displayShippingBothPrices() &&
$_incl !=
$_excl): ?>
42 (<?=
__(
'Incl. Tax') ?> <?=
$_incl ?>)
54 <?php
if ($_rate =
$block->getActiveMethodRate()): ?>
55 <div
id=
"order-shipping-method-info" class=
"order-shipping-method-info">
56 <dl
class=
"admin__order-shipment-methods">
57 <dt
class=
"admin__order-shipment-methods-title">
58 <?=
$block->escapeHtml(
$block->getCarrierName($_rate->getCarrier())) ?>
60 <dd
class=
"admin__order-shipment-methods-options">
61 <?=
$block->escapeHtml($_rate->getMethodTitle() ? $_rate->getMethodTitle() : $_rate->getMethodDescription()) ?> -
63 <?php
$_excl =
$block->getShippingPrice($_rate->getPrice(), $this->helper(
'Magento\Tax\Helper\Data')->displayShippingPriceIncludingTax()); ?>
64 <?php
$_incl =
$block->getShippingPrice($_rate->getPrice(),
true); ?>
67 <?php
if ($this->helper(
'Magento\Tax\Helper\Data')->displayShippingBothPrices() &&
$_incl !=
$_excl): ?>
68 (<?=
__(
'Incl. Tax') ?> <?=
$_incl ?>)
74 onclick=
"$('order-shipping-method-info').hide();$('order-shipping-method-choose').show();return false" 75 class=
"action-default">
76 <span><?=
__(
'Click to change shipping method') ?></span>
81 require([
'prototype'],
function(){
82 $(
'order-shipping-method-choose').show();
87 <div
class=
"order-shipping-method-summary">
88 <strong
class=
"order-shipping-method-not-available"><?=
__(
'Sorry, no quotes are available for this order.') ?></strong>
91 <div
id=
"order-shipping-method-summary" class=
"order-shipping-method-summary">
92 <a href=
"#" onclick=
"order.loadShippingRates();return false" class=
"action-default">
93 <span><?=
__(
'Get shipping methods and rates') ?></span>
95 <input type=
"hidden" name=
"order[has_shipping]" value=
"" class=
"required-entry" />
98 <div style=
"display: none;" id=
"shipping-method-overlay" class=
"order-methods-overlay">
99 <span><?=
__(
'You don\'t need to select a shipping method.') ?></span>
102 require([
"Magento_Sales/order/create/form"],
function(){
104 order.overlay(
'shipping-method-overlay', <?php
if (
$block->getQuote()->isVirtual()): ?>false<?php else: ?>true<?php endif; ?>);
105 order.overlay(
'address-shipping-overlay', <?php
if (
$block->getQuote()->isVirtual()): ?>false<?php else: ?>true<?php endif; ?>);
107 <?php
if (
$block->getQuote()->isVirtual()): ?>
108 order.isOnlyVirtualProduct =
true;
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
elseif(isset( $params[ 'redirect_parent']))