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-checkout
view
frontend
templates
cart
item
configure
updatecart.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
10
?>
11
<?php
$_product
=
$block
->getProduct(); ?>
12
<?php
$buttonTitle
=
__
(
'Update Cart'
); ?>
13
<?php
if
(
$_product
->isSaleable()): ?>
14
<div
class
=
"box-tocart update"
>
15
<fieldset
class
=
"fieldset"
>
16
<?php
if
(
$block
->shouldRenderQuantity()): ?>
17
<div
class
=
"field qty"
>
18
<label
class
=
"label"
for
=
"qty"
><span><?=
/* @escapeNotVerified */
__
(
'Qty'
) ?></span></label>
19
<div
class
=
"control"
>
20
<input type=
"number"
21
name
=
"qty"
22
id
=
"qty"
23
value
=
""
24
title=
"<?= /* @escapeNotVerified */ __('Qty') ?>"
25
class
=
"input-text qty"
26
data-validate=
"<?= $block->escapeHtml(json_encode($block->getQuantityValidators())) ?>"
/>
27
</div>
28
</div>
29
<?php
endif
; ?>
30
<div
class
=
"actions"
>
31
<button type=
"submit"
32
title=
"<?= /* @escapeNotVerified */ $buttonTitle ?>"
33
class
=
"action primary tocart"
34
id
=
"product-updatecart-button"
>
35
<span><?=
/* @escapeNotVerified */
$buttonTitle
?></span>
36
</button>
37
<?=
$block
->getChildHtml(
''
,
true
) ?>
38
</div>
39
</fieldset>
40
</div>
41
<script type=
"text/x-magento-init"
>
42
{
43
"#product_addtocart_form"
: {
44
"validation"
: {},
45
"addToCart"
: {
46
"cartButtonId"
:
"#product-updatecart-button"
,
47
"cartForm"
:
"#product_addtocart_form"
48
}
49
}
50
}
51
</script>
52
<?php
endif
; ?>
value
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition:
block.php:9
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8
name
$_product
$_product
Definition:
updatecart.phtml:11
$buttonTitle
$buttonTitle
Definition:
updatecart.phtml:12
endif
endif
Definition:
updatecart.phtml:37