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
magento2-base
dev
tests
integration
testsuite
Magento
Widget
Model
Config
_files
expectedMergedArray.php
Go to the documentation of this file.
1
<?php
6
return
[
7
'new_products'
=> [
8
'@'
=> [
'type'
=> \Magento\Sales\Block\Widget\Guest\Form::class],
9
'is_email_compatible'
=>
'1'
,
10
'placeholder_image'
=>
'Magento_Catalog::images/product_widget_new.png'
,
11
'name'
=>
'Orders and Returns'
,
12
'description'
=>
'Orders and Returns Search Form'
,
13
'parameters'
=> [
14
'display_type'
=> [
15
'type'
=>
'select'
,
16
'value'
=>
'all_products'
,
17
'values'
=> [
18
'default'
=> [
'value'
=>
'all_products'
,
'label'
=>
'All products'
],
19
'item'
=> [
'value'
=>
'new_products'
,
'label'
=>
'New products'
],
20
],
21
'visible'
=>
'1'
,
22
'required'
=>
'1'
,
23
'label'
=>
'Display Type'
,
24
'description'
=>
'All products - recently added products, New products - products marked as new'
,
25
],
26
'show_pager'
=> [
27
'source_model'
=>
"Magento\Config\Model\Config\Source\Yesno"
,
28
'type'
=>
'select'
,
29
'visible'
=>
'1'
,
30
'label'
=>
'Display Page Control'
,
31
],
32
'products_per_page'
=> [
33
'type'
=>
'text'
,
34
'value'
=>
'5'
,
35
'visible'
=>
'1'
,
36
'required'
=>
'1'
,
37
'label'
=>
'Number of Products per Page'
,
38
'depends'
=> [
'show_pager'
=> [
'value'
=>
'1'
]],
39
],
40
'products_count'
=> [
41
'type'
=>
'text'
,
42
'value'
=>
'10'
,
43
'visible'
=>
'1'
,
44
'required'
=>
'1'
,
45
'label'
=>
'Number of Products to Display'
,
46
],
47
'template'
=> [
48
'type'
=>
'select'
,
49
'value'
=>
'product/widget/new/content/new_grid.phtml'
,
50
'values'
=> [
51
'default'
=> [
52
'value'
=>
'product/widget/new/content/new_grid.phtml'
,
53
'label'
=>
'New Products Grid Template'
,
54
],
55
'list'
=> [
56
'value'
=>
'product/widget/new/content/new_list.phtml'
,
57
'label'
=>
'New Products List Template'
,
58
],
59
'list_default'
=> [
60
'value'
=>
'product/widget/new/column/new_default_list.phtml'
,
61
'label'
=>
'New Products Images and Names Template'
,
62
],
63
'list_names'
=> [
64
'value'
=>
'product/widget/new/column/new_names_list.phtml'
,
65
'label'
=>
'New Products Names Only Template'
,
66
],
67
'list_images'
=> [
68
'value'
=>
'product/widget/new/column/new_images_list.phtml'
,
69
'label'
=>
'New Products Images Only Template'
,
70
],
71
'default_template'
=> [
'value'
=>
'widget/guest/form.phtml'
,
'label'
=>
'Default Template'
],
72
],
73
'visible'
=>
'0'
,
74
'required'
=>
'1'
,
75
'label'
=>
'Template'
,
76
],
77
'cache_lifetime'
=> [
78
'type'
=>
'text'
,
79
'visible'
=>
'1'
,
80
'label'
=>
'Cache Lifetime (Seconds)'
,
81
'description'
=>
"86400 by default, if not set. To refresh instantly, clear the Blocks HTML
82
Output cache.
83
"
,
84
],
85
'title'
=> [
'type'
=>
'text'
,
'visible'
=>
'0'
,
'label'
=>
'Anchor Custom Title'
],
86
],
87
'supported_containers'
=> [
88
[
89
'container_name'
=>
'left'
,
90
'template'
=> [
91
'default'
=>
'default_template'
,
92
'names_only'
=>
'list_names'
,
93
'images_only'
=>
'list_images'
,
94
],
95
],
96
[
'container_name'
=>
'content'
,
'template'
=> [
'grid'
=>
'default'
,
'list'
=>
'list'
]],
97
[
98
'container_name'
=>
'right'
,
99
'template'
=> [
100
'default'
=>
'default_template'
,
101
'names_only'
=>
'list_names'
,
102
'images_only'
=>
'list_images'
,
103
]
104
],
105
],
106
]
107
];