Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
c
d
e
f
g
h
i
m
p
r
s
t
u
+
Functions
_
c
d
e
f
g
h
i
m
p
r
s
t
u
Variables
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
c
d
e
f
g
m
o
r
s
t
v
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
vendor
magento
module-sales
view
adminhtml
templates
order
totalbar.phtml
Go to the documentation of this file.
1
<?php
7
// @deprecated
8
// @codingStandardsIgnoreFile
9
10
$totals
=
$block
->getTotals();
11
?>
12
<?php
if
(
$totals
&& count(
$totals
) > 0): ?>
13
<table
class
=
"items-to-invoice"
>
14
<tr>
15
<?php
foreach
(
$totals
as $total): ?>
16
<td <?php
if
($total[
'grand'
]): ?>
class
=
"grand-total"
<?php
endif
; ?>>
17
<?=
$block
->escapeHtml($total[
'label'
]) ?><br />
18
<?=
$block
->escapeHtml($total[
'value'
]) ?>
19
</td>
20
<?php
endforeach
; ?>
21
</tr>
22
</table>
23
<?php
endif
; ?>
endif
if(sizeof( $block->getTotals()) > 0)($block->getTotals() as $_total) endif
Definition:
totalbar.phtml:10
$block
$block
Definition:
block.php:8
$totals
$totals
Definition:
totalbar.phtml:10
endforeach
if( $totals &&count( $totals) > 0)( $totals as $total)($total['grand']) endforeach
Definition:
totalbar.phtml:18