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
view
adminhtml
templates
catalog
category
edit
assign_products.phtml
Go to the documentation of this file.
1
<?php
10
$blockGrid
=
$block
->getBlockGrid();
11
$gridJsObjectName
=
$blockGrid
->getJsObjectName();
12
?>
13
<?=
$block
->getGridHtml() ?>
14
<input type=
"hidden"
name
=
"category_products"
id
=
"in_category_products"
data-
form
-part=
"category_form"
value
=
""
/>
15
<script type=
"text/x-magento-init"
>
16
{
17
"*"
: {
18
"Magento_Catalog/catalog/category/assign-products"
: {
19
"selectedProducts"
: <?=
/* @escapeNotVerified */
$block
->getProductsJson() ?>,
20
"gridJsObjectName"
: <?=
/* @escapeNotVerified */
'"'
.
$gridJsObjectName
.
'"'
?:
'{}'
?>
21
}
22
}
23
}
24
</script>
25
<!-- @todo
remove
when
"UI components"
will support such initialization -->
26
<script>
27
require(
'mage/apply/main'
).apply();
28
</script>
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
$gridJsObjectName
$gridJsObjectName
Definition:
assign_products.phtml:11
form
jquery extjs ext tree mage adminhtml form
Definition:
tree.phtml:41
$block
$block
Definition:
block.php:8
name
$blockGrid
$blockGrid
Definition:
assign_products.phtml:10