11 <?php
$mergedCells = ($this->helper(
'Magento\Tax\Helper\Data')->displayCartBothPrices() ? 2 : 1); ?>
12 <?=
$block->getChildHtml(
'form_before') ?>
13 <
form action=
"<?= /* @escapeNotVerified */ $block->getUrl('checkout/cart/updatePost') ?>" 16 data-
mage-init=
'{"Magento_Checkout/js/action/update-shopping-cart": 17 {"validationURL" : "/checkout/cart/updateItemQty"} 19 class=
"form form-cart">
20 <?=
$block->getBlockHtml(
'formkey') ?>
21 <div
class=
"cart table-wrapper<?= $mergedCells == 2 ? ' detailed' : '' ?>">
22 <?php
if (
$block->getPagerHtml()): ?>
23 <div
class=
"cart-products-toolbar cart-products-toolbar-top toolbar" data-attribute=
"cart-products-toolbar-top"><?=
$block->getPagerHtml() ?></div>
25 <table
id=
"shopping-cart-table" 26 class=
"cart items data table" 27 data-
mage-init=
'{"shoppingCart":{"emptyCartButton": "action.clear", 28 "updateCartActionContainer": "#update_cart_action_container"}}'>
29 <caption role=
"heading" aria-level=
"2" class=
"table-caption"><?=
__(
'Shopping Cart Items') ?></caption>
32 <th
class=
"col item" scope=
"col"><span><?=
__(
'Item') ?></span></th>
33 <th
class=
"col price" scope=
"col"><span><?=
__(
'Price') ?></span></th>
34 <th
class=
"col qty" scope=
"col"><span><?=
__(
'Qty') ?></span></th>
35 <th
class=
"col subtotal" scope=
"col"><span><?=
__(
'Subtotal') ?></span></th>
42 <?php
if (
$block->getPagerHtml()): ?>
43 <div
class=
"cart-products-toolbar cart-products-toolbar-bottom toolbar" data-attribute=
"cart-products-toolbar-bottom"><?=
$block->getPagerHtml() ?></div>
46 <div
class=
"cart main actions">
47 <?php
if (
$block->getContinueShoppingUrl()): ?>
48 <a
class=
"action continue" 49 href=
"<?= $block->escapeUrl($block->getContinueShoppingUrl()) ?>" 50 title=
"<?= $block->escapeHtml(__('Continue Shopping')) ?>">
51 <span><?=
__(
'Continue Shopping') ?></span>
55 name=
"update_cart_action" 58 title=
"<?= $block->escapeHtml(__('Clear Shopping Cart')) ?>" 59 class=
"action clear" id=
"empty_cart_button">
60 <span><?=
__(
'Clear Shopping Cart') ?></span>
63 name=
"update_cart_action" 64 data-cart-item-update=
"" 66 title=
"<?= $block->escapeHtml(__('Update Shopping Cart')) ?>" 67 class=
"action update">
68 <span><?=
__(
'Update Shopping Cart') ?></span>
70 <input type=
"hidden" value=
"" id=
"update_cart_action_container" data-cart-item-update=
""/>
73 <?=
$block->getChildHtml(
'checkout.cart.order.actions') ?>
74 <?=
$block->getChildHtml(
'shopping.cart.table.after') ?>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
if( $form)() ?>< script > require(['jquery' mage mage
jquery extjs ext tree mage adminhtml form