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-downloadable
view
frontend
templates
catalog
product
type.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
14
?>
15
<?php
$_product
=
$block
->getProduct() ?>
16
17
<?php
if
(
$_product
->getIsSalable()): ?>
18
<div
class
=
"stock available"
title=
"<?= /* @escapeNotVerified */ __('Availability') ?>"
>
19
<span><?=
/* @escapeNotVerified */
__
(
'In stock'
) ?></span>
20
</div>
21
<?php
else
: ?>
22
<div
class
=
"stock unavailable"
title=
"<?= /* @escapeNotVerified */ __('Availability') ?>"
>
23
<span><?=
/* @escapeNotVerified */
__
(
'Out of stock'
) ?></span>
24
</div>
25
<?php
endif
; ?>
26
<?=
$block
->getChildHtml() ?>
__
__()
Definition:
__.php:13
$_product
$_product
Definition:
summary.phtml:12
$block
$block
Definition:
block.php:8
endif
endif
Definition:
404.phtml:116