File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
app/code/Magento/Wishlist Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 39
39
<label >Enabled</label >
40
40
<source_model >Magento\Config\Model\Config\Source\Yesno</source_model >
41
41
</field >
42
+ <field id =" show_in_sidebar" translate =" label" type =" select" sortOrder =" 5" showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" canRestore =" 1" >
43
+ <label >Show in Sidebar</label >
44
+ <source_model >Magento\Config\Model\Config\Source\Yesno</source_model >
45
+ </field >
42
46
</group >
43
47
<group id =" wishlist_link" translate =" label" sortOrder =" 3" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" >
44
48
<label >My Wish List Link</label >
Original file line number Diff line number Diff line change 10
10
<wishlist >
11
11
<general >
12
12
<active >1</active >
13
+ <show_in_sidebar >1</show_in_sidebar >
13
14
</general >
14
15
<email >
15
16
<email_identity >general</email_identity >
Original file line number Diff line number Diff line change @@ -118,4 +118,5 @@ Action,Action
118
118
Configure,Configure
119
119
Delete,Delete
120
120
"Product Details and Comment","Product Details and Comment"
121
- "You must login or register to add items to your wishlist.","You must login or register to add items to your wishlist."
121
+ "You must login or register to add items to your wishlist.","You must login or register to add items to your wishlist."
122
+ "Show in Sidebar","Show in Sidebar"
Original file line number Diff line number Diff line change 18
18
</block >
19
19
</referenceBlock >
20
20
<referenceContainer name =" sidebar.additional" >
21
- <block class =" Magento\Wishlist\Block\Customer\Sidebar" name =" wishlist_sidebar" as =" wishlist" template =" Magento_Wishlist::sidebar.phtml" />
21
+ <block class =" Magento\Wishlist\Block\Customer\Sidebar" name =" wishlist_sidebar" as =" wishlist" template =" Magento_Wishlist::sidebar.phtml" ifconfig = " wishlist/general/show_in_sidebar " />
22
22
</referenceContainer >
23
23
</body >
24
24
</page >
You can’t perform that action at this time.
0 commit comments