Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
grouped.phtml File Reference

Go to the source code of this file.

Variables

 $_skipSaleableCheck = $this->helper('Magento\Catalog\Helper\Product')->getSkipSaleableCheck()
 
 $_product = $block->getProduct()
 
 $_associatedProducts = $block->getAssociatedProducts()
 
 $_hasAssociatedProducts = count($_associatedProducts) > 0
 
if((! $_product->isAvailable() &&! $_skipSaleableCheck)||! $_hasAssociatedProducts)( 'Availability:') ?>< span ><? endif = __('Out of stock')
 
 endforeach
 
else __pad0__
 

Variable Documentation

◆ $_associatedProducts

$_associatedProducts = $block->getAssociatedProducts()

Definition at line 18 of file grouped.phtml.

◆ $_hasAssociatedProducts

$_hasAssociatedProducts = count($_associatedProducts) > 0

Definition at line 19 of file grouped.phtml.

◆ $_product

$_product = $block->getProduct()

Definition at line 16 of file grouped.phtml.

◆ $_skipSaleableCheck

$_skipSaleableCheck = $this->helper('Magento\Catalog\Helper\Product')->getSkipSaleableCheck()

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 12 of file grouped.phtml.

◆ __pad0__

else __pad0__

Definition at line 72 of file grouped.phtml.

◆ endforeach

endforeach

Definition at line 69 of file grouped.phtml.

◆ endif

endif = __('Out of stock')

Definition at line 20 of file grouped.phtml.