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-search
view
frontend
templates
result.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
?>
10
<?php
if
(
$block
->getResultCount()): ?>
11
<?=
$block
->getChildHtml(
'tagged_product_list_rss_link'
) ?>
12
<div
class
=
"search results"
>
13
<?php
if
($messages =
$block
->getNoteMessages()):?>
14
<div
class
=
"message notice"
>
15
<div>
16
<?php
foreach
($messages as
$message
):?>
17
<?=
/* @escapeNotVerified */
$message
?><br />
18
<?php
endforeach
;?>
19
</div>
20
</div>
21
<?php
endif
; ?>
22
<?=
$block
->getProductListHtml() ?>
23
</div>
24
<?php
else
: ?>
25
26
<div
class
=
"message notice"
>
27
<div>
28
<?=
/* @escapeNotVerified */
(
$block
->getNoResultText()) ?
$block
->getNoResultText() :
__
(
'Your search returned no results.'
) ?>
29
<?=
$block
->getAdditionalHtml() ?>
30
<?php
if
($messages =
$block
->getNoteMessages()):?>
31
<?php
foreach
($messages as
$message
):?>
32
<br /><?=
/* @escapeNotVerified */
$message
?>
33
<?php
endforeach
;?>
34
<?php
endif
; ?>
35
</div>
36
</div>
37
<?php
endif
; ?>
__
__()
Definition:
__.php:13
$message
$message
Definition:
notifications.php:7
$block
$block
Definition:
block.php:8
endforeach
endforeach
Definition:
result.phtml:41
endif
endif
Definition:
result.phtml:40