12 <div
class=
"paypal-review view">
13 <div
class=
"block block-order-details-view">
14 <div
class=
"block-content">
15 <?php
if (
$block->getShippingAddress()): ?>
16 <div
class=
"box box-order-shipping-method">
17 <strong
class=
"box-title">
18 <span><?=
$block->escapeHtml(
__(
'Shipping Method')) ?></span>
20 <div
class=
"box-content">
21 <
form method=
"post" id=
"shipping-method-form" 22 action=
"<?= $block->escapeUrl($block->getShippingMethodSubmitUrl()) ?>" 24 <?php
if (
$block->canEditShippingMethod()): ?>
25 <?php
if ($groups =
$block->getShippingRateGroups()): ?>
26 <?php $currentRate =
$block->getCurrentShippingRate(); ?>
27 <div
class=
"field shipping required">
28 <select
name=
"shipping_method" id=
"shipping-method" class=
"select">
29 <?php
if (!$currentRate): ?>
31 'Please select a shipping method...' 35 <optgroup label=
"<?= $block->escapeHtml($block->getCarrierName( 39 <option
value=
"<?= $block->escapeHtml( 40 $block->renderShippingRateValue($rate) 43 ' selected="selected"' :
'';
54 <div
class=
"actions-toolbar">
56 <button
id=
"update-shipping-method-submit" type=
"submit" 57 class=
"action update primary">
59 <?=
$block->escapeHtml(
__(
'Update Shipping Method')) ?>
67 'Sorry, no quotes are available for this order right now.' 73 <?php echo
$block->renderShippingRateOption(
74 $block->getCurrentShippingRate()
81 <div
class=
"box box-order-shipping-address">
82 <strong
class=
"box-title">
83 <span><?=
$block->escapeHtml(
__(
'Shipping Address')) ?></span>
85 <div
class=
"box-content">
93 <?php
if (
$block->getCanEditShippingAddress()): ?>
94 <div
class=
"box-actions">
95 <a href=
"<?= $block->escapeUrl($block->getEditUrl()) ?>" class=
"action edit">
96 <span><?=
$block->escapeHtml(
__(
'Edit')) ?></span>
102 <div
class=
"box box-order-billing-address">
103 <strong
class=
"box-title"><span><?=
$block->escapeHtml(
__(
'Payment Method')) ?></span></strong>
104 <div
class=
"box-content">
105 <?=
$block->escapeHtml(
$block->getPaymentMethodTitle()) ?><br>
107 <img src=
"https://www.paypalobjects.com/webstatic/en_US/i/buttons/pp-acceptance-medium.png" 108 alt=
"<?= $block->escapeHtml(__('Buy now with PayPal')) ?>"/>
110 <?php
if (
$block->getEditUrl()): ?>
111 <div
class=
"box-actions">
112 <a href=
"<?= $block->escapeUrl($block->getEditUrl()) ?>" class=
"action edit">
113 <span><?=
$block->escapeHtml(
__(
'Edit Payment Information')) ?></span>
121 <div
class=
"paypal-review-discount">
122 <?=
$block->getChildHtml(
'paypal.additional.actions') ?>
125 <div
class=
"paypal-review-items">
126 <div
class=
"paypal-review-title">
127 <strong><?=
$block->escapeHtml(
__(
'Items in Your Shopping Cart')) ?></strong>
128 <a href=
"<?= $block->escapeUrl($block->getUrl('checkout/cart')) ?>" class=
"action edit">
129 <span><?=
$block->escapeHtml(
__(
'Edit Shopping Cart')) ?></span>
133 <?=
$block->getChildHtml(
'details') ?>
135 <
form method=
"post" id=
"order-review-form" action=
"<?= $block->escapeUrl($block->getPlaceOrderUrl()) ?>" 136 class=
"form order-review-form">
137 <?=
$block->getChildHtml(
'agreements') ?>
138 <div
class=
"actions-toolbar" id=
"review-buttons-container">
139 <div
class=
"primary">
140 <button type=
"button" id=
"review-button" class=
"action checkout primary" 141 value=
"<?= $block->escapeHtml(__('Place Order')) ?>">
142 <span><?=
$block->escapeHtml(
__(
'Place Order')) ?></span>
144 <button type=
"button" id=
"review-submit" class=
"action checkout primary" 145 value=
"<?= $block->escapeHtml(__('Place Order')) ?>">
146 <span><?=
$block->escapeHtml(
__(
'Place Order')) ?></span>
149 <span
class=
"please-wait load indicator" id=
"review-please-wait" style=
"display: none;" 150 data-text=
"<?= $block->escapeHtml(__('Submitting order information...')) ?>">
151 <span><?=
$block->escapeHtml(
__(
'Submitting order information...')) ?></span>
157 <script type=
"text/x-magento-init">
159 "#order-review-form": {
162 "shippingSubmitFormSelector":
"#shipping-method-form",
163 "shippingSelector":
"#shipping-method",
164 "shippingMethodUpdateUrl":
"<?= $block->escapeUrl($block->getUpdateShippingMethodsUrl()) ?>",
165 "isAjax": <?=
$block->getUseAjax() ?
'true' :
'false' ?>,
166 "canEditShippingMethod": <?=
$block->canEditShippingMethod() ?
'true' :
'false' ?>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
jquery extjs ext tree mage adminhtml form