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

Go to the source code of this file.

Variables

 $_value = $block->getTotal()->getValue()
 
 $_style = $block->getTotal()->getStyle()
 
global $taxIter
 
 $attributes = 'class="totals-tax"'
 
if( $this->helper( 'Magento\Tax\Helper\Data') ->displayFullSummary() &&$_value !=0)( $block->getTotal() ->getFullInfo() as $info)(isset($info['hidden']) && $info['hidden']) $percent = $info['percent']
 
 $amount = $info['amount']
 
 $rates = $info['rates']
 
 $isFirst = 1
 
if( $isFirst)( $rates) ?>" data-th endif = (float)$rate['percent']
 
 endforeach
 

Variable Documentation

◆ $_style

$_style = $block->getTotal()->getStyle()

Definition at line 16 of file tax.phtml.

◆ $_value

$_value = $block->getTotal()->getValue()

Definition at line 15 of file tax.phtml.

◆ $amount

$amount = $info['amount']

Definition at line 46 of file tax.phtml.

◆ $attributes

$attributes = 'class="totals-tax"'

Definition at line 21 of file tax.phtml.

◆ $isFirst

$isFirst = 1

Definition at line 48 of file tax.phtml.

◆ $percent

if($this->helper('Magento\Tax\Helper\Data')->displayFullSummary() && $_value != 0) ($block->getTotal()->getFullInfo() as $info) (isset( $info[ 'hidden']) &&$info[ 'hidden']) $percent = $info['percent']

Definition at line 45 of file tax.phtml.

◆ $rates

$rates = $info['rates']

Definition at line 47 of file tax.phtml.

◆ $taxIter

$taxIter

Definition at line 18 of file tax.phtml.

◆ endforeach

endforeach

Definition at line 66 of file tax.phtml.

◆ endif

endif = (float)$rate['percent']

Definition at line 60 of file tax.phtml.