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-rule
view
adminhtml
templates
promo
fieldset.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
10
?>
11
<?php
$_element
=
$block
->getElement() ?>
12
<?php $_jsObjectName =
$block
->getFieldSetId() !=
null
?
$block
->getFieldSetId() :
$_element
->getHtmlId() ?>
13
<div
class
=
"rule-tree"
>
14
<fieldset
id
=
"<?= /* @escapeNotVerified */ $_jsObjectName ?>"
<?=
/* @escapeNotVerified */
$_element
->serialize([
'class'
]) ?>
class
=
"fieldset"
>
15
<legend
class
=
"legend"
><span><?=
/* @escapeNotVerified */
$_element
->getLegend() ?></span></legend>
16
<br>
17
<?php
if
(
$_element
->getComment()): ?>
18
<div
class
=
"messages"
>
19
<div
class
=
"message message-notice"
><?=
$block
->escapeHtml(
$_element
->getComment()) ?></div>
20
</div>
21
<?php
endif
; ?>
22
<div
class
=
"rule-tree-wrapper"
>
23
<?=
$_element
->getChildrenHtml() ?>
24
</div>
25
</fieldset>
26
</div>
27
<script>
28
require([
29
"Magento_Rule/rules"
,
30
"prototype"
31
],
function
(VarienRulesForm){
32
33
window.<?=
/* @escapeNotVerified */
$_jsObjectName ?> =
new
VarienRulesForm(
'<?= /* @escapeNotVerified */ $_jsObjectName ?>'
,
'<?= /* @escapeNotVerified */ $block->getNewChildUrl() ?>'
);
34
<?php
if
(
$_element
->getReadonly()): ?>
35
<?=
$_element
->getHtmlId() ?>.setReadonly(
true
);
36
<?php
endif
; ?>
37
38
});
39
</script>
$block
$block
Definition:
block.php:8
endif
endif
Definition:
fieldset.phtml:64
$_element
$_element
Definition:
vat.phtml:11