Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
cart.phtml
Go to the documentation of this file.
1 <?php
6 ?>
7 <?php
14 if ($block->getItemsCount()) {
15  echo $block->getChildHtml('with-items');
16 } else {
17  echo $block->getChildHtml('no-items');
18 }
$block
Definition: block.php:8