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

Go to the source code of this file.

Variables

 $methods = $block->getMethods()
 
 $methodsCount = count($methods)
 
 $methodsForms = $block->hasFormTemplates() ? $block->getFormTemplates(): []
 
 $checked = $block->getSelectedMethodCode() === $code
 
if($checked) else = $block->escapeHtml($_method->getTitle())
 
 endif = $block->escapeHtml($code)
 
 if ( $html=$block->getChildHtml( 'payment.method.' . $code)) = $block->escapeHtml($code)
 
 endforeach
 

Variable Documentation

◆ $checked

$checked = $block->getSelectedMethodCode() === $code

Definition at line 77 of file billing.phtml.

◆ $methods

$methods = $block->getMethods()

Definition at line 71 of file billing.phtml.

◆ $methodsCount

$methodsCount = count($methods)

Definition at line 72 of file billing.phtml.

◆ $methodsForms

$methodsForms = $block->hasFormTemplates() ? $block->getFormTemplates(): []

Definition at line 73 of file billing.phtml.

◆ else

if ( $checked) else = $block->escapeHtml($_method->getTitle())

Definition at line 90 of file billing.phtml.

◆ endforeach

endforeach

Definition at line 112 of file billing.phtml.

◆ endif

endif = $block->escapeHtml($code)

Definition at line 97 of file billing.phtml.

◆ if

if($html=$block->getChildHtml('payment.method.' . $code)) = $block->escapeHtml($code)

Definition at line 108 of file billing.phtml.