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)
vendor
magento
module-catalog
view
frontend
templates
product
view
attributes.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
14
?>
15
<?php
16
$_helper
= $this->helper(
'Magento\Catalog\Helper\Output'
);
17
$_product
=
$block
->getProduct();
18
?>
19
<?php
if
($_additional =
$block
->getAdditionalData()): ?>
20
<div
class
=
"additional-attributes-wrapper table-wrapper"
>
21
<table
class
=
"data table additional-attributes"
id
=
"product-attribute-specs-table"
>
22
<caption
class
=
"table-caption"
><?=
/* @escapeNotVerified */
__
(
'More Information'
) ?></caption>
23
<tbody>
24
<?php
foreach
($_additional as $_data): ?>
25
<tr>
26
<th
class
=
"col label"
scope=
"row"
><?=
$block
->escapeHtml(
__
($_data[
'label'
])) ?></th>
27
<td
class
=
"col data"
data-th=
"<?= $block->escapeHtml(__($_data['label'])) ?>"
><?=
/* @escapeNotVerified */
$_helper
->productAttribute(
$_product
, $_data[
'value'
], $_data[
'code'
]) ?></td>
28
</tr>
29
<?php
endforeach
; ?>
30
</tbody>
31
</table>
32
</div>
33
<?php
endif
;?>
endforeach
if( $_additional=$block->getAdditionalData())( 'More Information') ?></caption >< tbody ><?php foreach( $_additional as $_data)(__( $_data[ 'label'])) ?></th >< td class endforeach
Definition:
attributes.phtml:19
$_product
$_product
Definition:
attributes.phtml:17
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8
$_helper
$_helper
Definition:
attributes.phtml:16
endif
endif
Definition:
attributes.phtml:33