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-configurable-product
view
adminhtml
templates
catalog
product
edit
attribute
steps
select_attributes.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
/* @var $block \Magento\ConfigurableProduct\Block\Adminhtml\Product\Steps\SelectAttributes */
10
?>
11
<div
class
=
"select-attributes-block <?= /* @noEscape */ $block->getData('config/dataScope') ?>"
data-role=
"select-attributes-step"
>
12
<div
class
=
"select-attributes-actions"
data-type=
"skipKO"
>
13
<?=
/* @noEscape */
$block
->getAddNewAttributeButton() ?>
14
</div>
15
<h2
class
=
"steps-wizard-title"
><?=
$block
->escapeHtml(
16
__
(
'Step 1: Select Attributes'
)
17
); ?></h2>
18
<div
class
=
"selected-attributes"
data-bind=
"scope: '<?= /* @noEscape */ $block->getComponentName() ?>'"
>
19
<?=
$block
->escapeHtml(
20
__
(
'Selected Attributes:'
)
21
); ?>
22
<span data-bind=
"text: selectedAttributes() || '--'"
></span>
23
</div>
24
</div>
25
<?=
$block
->getChildHtml() ?>
26
<script type=
"text/x-magento-init"
>
27
{
28
"*"
: {
29
"Magento_Ui/js/core/app"
: {
30
"components"
: {
31
"<?= /* @noEscape */ $block->getComponentName() ?>"
: {
32
"component"
:
"Magento_ConfigurableProduct/js/variations/steps/select_attributes"
,
33
"multiselectName"
:
"<?= /* @noEscape */ $block->getData('config/multiselectName') ?>"
,
34
"providerName"
:
"<?= /* @noEscape */ $block->getData('config/providerName') ?>"
,
35
"appendTo"
:
"<?= /* @noEscape */ $block->getParentComponentName() ?>"
36
}
37
}
38
}
39
}
40
}
41
</script>
42
<script>
43
require([
'jquery'
],
function
($) {
44
$(
'.<?= /* @noEscape */ $block->getData('
config/dataScope
') ?>[data-role=select-attributes-step]'
).applyBindings();
45
$(
'body'
).trigger(
'contentUpdated'
);
46
})
47
</script>
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8