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-search
view
frontend
templates
term.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
?>
10
<?php
if
(
sizeof
(
$block
->getTerms()) > 0): ?>
11
<ul
class
=
"search-terms"
>
12
<?php
foreach
(
$block
->getTerms() as $_term): ?>
13
<li
class
=
"item"
>
14
<a href=
"<?= /* @escapeNotVerified */ $block->getSearchUrl($_term) ?>"
15
style=
"font-size:<?= /* @escapeNotVerified */ $_term->getRatio()*70+75 ?>%;"
>
16
<?=
$block
->escapeHtml($_term->getQueryText()) ?>
17
</a>
18
</li>
19
<?php
endforeach
; ?>
20
</ul>
21
<?php
else
: ?>
22
<div
class
=
"message notice"
>
23
<div><?=
/* @escapeNotVerified */
__
(
'There are no search terms available.'
) ?></div>
24
</div>
25
<?php
endif
; ?>
endforeach
if(sizeof( $block->getTerms()) > 0)( $block->getTerms() as $_term)( $_term) ?>" style endforeach
Definition:
term.phtml:10
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8
endif
endif
Definition:
404.phtml:116