getItemsCount()) { echo $block->getChildHtml('with-items'); } else { echo $block->getChildHtml('no-items'); }