Questions tagged [system-configuration]
The system-configuration tag has no usage guidance.
113
questions
30
votes
3
answers
24k
views
Magento 2: available field types in system.xml
What are available values for field types in etc/system.xml configuration file:
<?xml version="1.0"?>
<config
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:...
13
votes
6
answers
22k
views
How can I decrypt an encrypted configuration value?
This is the code that I'm using to get the value from a specific field saved via the admin panel.
protected $_paymentData;
protected $_scopeConfig;
protected $logger;
public function __construct(
...
10
votes
1
answer
4k
views
Magento 2 : Get value from system configuration in layout XML
how do I get my module link identifier in the footer from the core config values I set in the admin system configuration
<referenceBlock name="footer_links">
<block class="Magento\...
8
votes
3
answers
4k
views
System Config Multiselect default all selected
I have a system config field of type multiselect which will be populated using the catalog/product_attribute_collection. This is a part of the system.xml that defines it.
<attributes>
&...
6
votes
2
answers
764
views
Magento 2 : Remove Delete Image checkbox from image type system configuration
How can i remove 'Delete Image' options from image uploder in system configuration
<field id="image_path" translate="label" type="image" sortOrder="1" showInDefault="1" showInWebsite="1" ...
6
votes
2
answers
7k
views
Magento 2 : Too many redirects in admin login screen
Recently, i have moved the server of my magento2 project. After moving to different server following steps i have taken.
1) Configured the Base URL in
core_config_data
2) Clear the Magento 2 Cache ...
5
votes
1
answer
627
views
Change admin backend password minimum length
I set my frontend password minimum lenth to 6 from backend via
Store > Configuration > Customers > Customer Configuration > Minimum Password Length
But i can't find setting to manage backend admin ...
4
votes
4
answers
12k
views
Magento 2 - Category list for custom magento system configuration section
My problem to get all available categories and display them in a system config multi-select field list.
Here is a link for Magento 1.x. How can it be achieved for Magento 2.x?
4
votes
2
answers
9k
views
Magento 2: How to get store logo in footer phtml?
In magento 1 i could call the store logo in any template with something like this Mage::getStoreConfig('design/header/logo_src');.
How can I do the equivalent in Magento 2?
4
votes
2
answers
2k
views
System Configuration field Validation
I want to Validate Max-limit in system configuration field. i have used some of classes for other validation but did not found any class for max or min text limit for system configuration filed.
4
votes
2
answers
864
views
Magento 2.3.3 System Configuration Tab label Not Support Image Tag
In Magento 2.3.3 I add the following code to display the image in system configuration tab at Label but now not display image only display image tag as a text.
<tab id="mytab" translate="label" ...
4
votes
2
answers
5k
views
Miscellaneous HTML not showing
I'm adding a tracking code to a Magento 2 demo in Stores > Configuration > General > Design > Footer > Miscellaneous HTML. However, after clicking on "Save Config" the code is showing in the Misc. ...
4
votes
3
answers
385
views
Magento2 : How to add new text field in Store->Configuration->General->store Email Address?
Its being created under
System->Config->General->Customers:
<code>
<config>
<system>
<section id="trade_customer" translate="label" type="text" sortOrder="100" ...
4
votes
3
answers
678
views
Magento 2.2.4 : Different group dependency not working
I'm using magento 2.2.4. In system configuration, I want to do apply dependency.
But, both groups and fields are different. It's working in same group. But, I can't get output for different group.
...
4
votes
1
answer
2k
views
Config value not rendering in Magento 2
In my custom module have config section values are saving but not rendering. Could you please let me know where I went wrong?
My code is:
system.xml
<field id="customer_header" translate="label" ...
4
votes
1
answer
814
views
How to detect changed fields only in admin section?
I need to insert some values to custom database table based on the values of changed custom field, if the specific custom field value (in a custom shipping method) had changed.I need to check this in ...
4
votes
0
answers
117
views
Magento 2 Send Order Emails Without Cron
Due to some issue order emails are not sending with cron and always remain with pending status.
So I have to send it without cron. I have changed it to Send Asynchronously from Admin configuration. ...
4
votes
0
answers
754
views
Multiple dependency system config in magento 2
Example:
field_1 values 1,2,3
field_2 values a,b,c
field_2 depends on field_1 value 2
Now I want to make dependency on field_3
field_3 shows only when if field_1 value is 2 or 3 or if field_2 ...
3
votes
3
answers
2k
views
Error when saving configuration in Magento 2
I've been trying to add a system.xml configuration file to a Magento 2 module but I'm getting this error:
Fatal error: Call to undefined method Magento\Config\Model\Config\Structure\Element\Field\...
3
votes
2
answers
4k
views
Magento 2 custom module configuration settings not display in admin
I have created custom module configuration in admin panel to Enable in frontend and Modify Heading title. But the settings are not visible in the admin Store > Settings > Configuration.
I am ...
3
votes
1
answer
7k
views
Magento 2 System Configuration Custom setting for Module not working
I have followed below link and created both "system.xml" and "acl.xml" at their respective locations.
https://stackoverflow.com/questions/32614392/magento-2-system-xml-in-custom-module
But instead ...
3
votes
1
answer
838
views
Retrive Configuration data via API
Is Magento giving any default REST API for retrieving configuration (system.xml) data ?.
If yes then share URL.
Else share the best approach for retrieving configuration data via REST API.
3
votes
1
answer
4k
views
Magento 2 - Allow frontend run in frame
I can't find the option to enable this confiuguration on Magento 2:
allow magento frontend to run in frame
on magento 1 was in system > configuration > admin > security
This old post shows how ...
3
votes
7
answers
3k
views
Magento 2.1.3 Extremely High MySQL CPU Usage
We recently started having big issues with our website slowing down quite often due to maxed out CPU usage (MySQL process using 200% CPU). The CPU usage is constantly at 60-85% and maxes out multiple ...
3
votes
1
answer
302
views
Unable to Upload Logo in Magento-2.2.4
I am trying to upload Logo through admin panel.
When i am trying to save configuration, it is showing an error.
2
votes
1
answer
508
views
Settings defined in website scopes are ignored
Since one month, I set up a multistore platform under Magento 2. Everything worked perfectly under version 2.1.2 but since I updated it in 2.1.3 two weeks ago I got a big problem :
All settings ...
2
votes
4
answers
1k
views
Can we increase the system/security/session size at admin On Magento 2
I need to know, Is there any side issues, if we increase the below path size more than max in config file.
system/security/max_session_size generally as per magento max size is 256000
Can we ...
2
votes
2
answers
774
views
Magento 2 event observer custom config save given error
I have a custom section tab in configuration my section url is:
http://dev.test/admin/admin/system_config/edit/section/vendor_module/key/?????????
exception(s):
Exception #0 (Magento\Framework\...
2
votes
2
answers
5k
views
How to get different store value from core_config_data table in magento 2
I have two store available in Magento
Default store View
German Store
In Default Store View I have one tab Blog => General => Store Information. I stored value from this field and it will be store ...
2
votes
1
answer
1k
views
How to add WYSIWYG Editor to Dynamic fields in System Configuration in Magento 2
I want to add WYSIWYG Editor in Dynamic fields in System Configuration .
2
votes
1
answer
1k
views
Magento2 : How to show custom tables fields to system configuration drop down
I am developing custom module, I want to display tables fields to system configuration drop down.
How to get all tables fields and set it to in drop down for system configuration.
Thanks
2
votes
1
answer
264
views
Magento 2 add & dynamic rows in system config
Is there any way to add & save dynamic rows in magento 2 system config?
I want to add the below fields :
Name
Link
Upload image
Any help would be appreciated.
2
votes
2
answers
916
views
Magento 2: System Configuration Error
I cannot open my System Configuration in Magento 2.2.6, I have forced it back to Developer mode, error below & all installed modules.
I'm starting to pull my hair out. It worked on one system, I ...
2
votes
2
answers
244
views
Getting page error 404 while calling Mage::getStoreConfig with current storeId
Using Magento 1.9.3 Mage::getStoreConfig is redirecting magento admin to 404 page instead of retrieving the store field value.
In controller
$store = $this->getRequest()->getParam('website');
...
2
votes
0
answers
58
views
Select country through Jquery in Origin Address of Shipping Settings
I am trying to set Country for Origin address using jQuery in Shipping Settings of Sales (Store Configuration).
The issue is, on change of country option using jquery, the ajax to fetch region is not ...
2
votes
0
answers
37
views
Magento 2: How to implement method _saveSection() of vendor\magento\module-config\Controller\Adminhtml\System\Config\Save.php
The definition of function says it further checks the method _saveVendorModule in the current class ($this) for custom logic.
Does anyone has used this before to add or override some logic?
/**
* ...
2
votes
0
answers
692
views
Get upload_dir for custom system configuration file upload || getFieldConfig for custom system configuration
Im trying to add a file_upload to my custom module system configuration.
The backend part works flawlessly and im able to upload the files to the directory i want them to.
But i cant read the file ...
2
votes
0
answers
464
views
Media Storage System Message on Magento 2.2
We are utilizing the database media storage feature on our Magento 2.2 site. We ran the synchronization and got the following system message.
We were unable to synchronize one or more media files. ...
1
vote
3
answers
2k
views
getting config value in cms pages magento2
I have added a custom field in system->configuration. The code is below.
<tab id="testtab">
<label>Test settings</label>
</tab>
<section id="...
1
vote
2
answers
658
views
Nexcess Turpentine: Applying VCL on Configuration Save
The Nexcess Turpentine extension for Magento offers a number of features for implementing a varnish configuration on your Magento system. One of those features is the ability to, automatically, apply ...
1
vote
2
answers
778
views
CMS page id from system configurations Magento 1.9
In my custom module, I have a field in the system configwith cmspages. I need to get the id of the selected cms page, not the identifier, so I can get the content of a cms page in a phtml file.
I ...
1
vote
1
answer
1k
views
Magento 2.3.4 use system value checkbox disabled not able to uncheck the box
Can someone help me out from this issue? I have installed Magento 2.3.4 CE in my local system then I just want to enable the DHL shipping method but I am not able to do that because 'use system value' ...
1
vote
1
answer
243
views
Magento2 what is use of canRestore property in system.xml? [duplicate]
Can anyone let me know what is exact use of canRestore property defined in system.xml field in Magento2?
1
vote
3
answers
906
views
Add Dynamic Comments In Magento 2.1x
I am trying to display a comment on a system.xml field based on the results from a function,
This is what i have so far in my Vendor/Module/etc/system.xml
<group id="optional_configuration" module=...
1
vote
1
answer
395
views
Magento system.xml case sensitive module name issue
I have created a custom controller in custom module in Magento ce-1.9.2.4.
Module name is given in camelcase as I want to try if Magento accepts camel-case module name in system.xml also other than ...
1
vote
1
answer
3k
views
Need to Add Custom Button and Related action in System->Config->Custom section as field
I am Adding Custom Section in System->Config Tab.
I need to add Button as Field and its related action which I need to perform. But I cannot find on google for button all example provide other field ...
1
vote
1
answer
536
views
Magento 2 : Add wysiwyg editor in store configuration
I want to add wysiwyg editor in store configuration. I added also. But, when I click on "Insert Variable" it's return error :
Uncaught ReferenceError: MagentovariablePlugin is not defined
How to ...
1
vote
1
answer
1k
views
Magento 2 : toggle whole group in system.xml based on field in another group
I have created two groups in system.xml.
I need to show/hide group 2 depending on the "Module Enable" field in group 1.
But when I use the following code it hides both the sections and does not save ...
1
vote
1
answer
95
views
Magento:System Configuration
This is my system.xml file
<?xml version="1.0" encoding="UTF-8"?>
<config>
<tabs>
<Threede_extensions translate="label" module="designit">
<label>...
1
vote
1
answer
1k
views
In "Default Config" store view, it still shows option of 'Use system Value'
I have installed magento 2 in my local machine. I think there is any problem in my installation because when I tap to Settings -> System -> Configuration and selected my store view as "Default Config"....