Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
tocart.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
10 ?>
11 
12 <?php if ($block->getWishlist()->getItemsCount() && $block->getWishlist()->isSalable()): ?>
13  <button type="button" data-role="all-tocart" title="<?= $block->escapeHtmlAttr(__('Add All to Cart')) ?>" class="action tocart">
14  <span><?= $block->escapeHtml(__('Add All to Cart')) ?></span>
15  </button>
16 <?php endif;?>
if( $block->getWishlist() ->getItemsCount() &&$block->getWishlist() ->isSalable())(__( 'Add All to Cart')) ?>" class endif
Definition: tocart.phtml:12
__()
Definition: __.php:13
$block
Definition: block.php:8