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
widget
new
column
new_images_list.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
?>
10
<?php
if
(($_products =
$block
->getProductCollection()) && $_products->getSize()): ?>
11
<div
class
=
"block widget block-new-products-images"
>
12
<div
class
=
"block-title"
>
13
<strong><?=
/* @escapeNotVerified */
__
(
'New Products'
) ?></strong>
14
</div>
15
<div
class
=
"block-content"
>
16
<?php
$suffix
=
$block
->getNameInLayout(); ?>
17
<ol
id
=
"widget-new-products-<?= /* @escapeNotVerified */ $suffix ?>"
class
=
"product-items product-items-images"
>
18
<?php
foreach
($_products->getItems() as
$_product
): ?>
19
<li
class
=
"product-item"
>
20
<a
class
=
"product-item-photo"
href=
"<?= /* @escapeNotVerified */ $_product->getProductUrl() ?>"
21
title=
"<?= /* @escapeNotVerified */ $block->stripTags($_product->getName(), null, true) ?>"
>
22
<?php
/* new_products_images_only_widget */
?>
23
<?=
$block
->getImage(
$_product
,
'new_products_images_only_widget'
)->toHtml() ?>
24
</a>
25
</li>
26
<?php
endforeach
; ?>
27
</ol>
28
<?=
$block
->getPagerHtml() ?>
29
</div>
30
</div>
31
<?php
endif
; ?>
$suffix
$suffix
Definition:
name.phtml:27
__
__()
Definition:
__.php:13
endforeach
foreach( $_products->getItems() as $_product)() ?>" title endforeach
Definition:
new_images_list.phtml:23
$_product
$_product
Definition:
summary.phtml:12
$block
$block
Definition:
block.php:8
endif
endif
Definition:
new_images_list.phtml:28