Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [system-configuration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

How to add Enable Objects system configuration in magento 2.4.6

Select objects to log actions when any admin users perform in the backend how to do? system.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
Ravindrasinh Zala's user avatar
0 votes
2 answers
108 views

How can I set the value of a Yes/No Config field based on the value selected in another yes/no field in Magento 2 system.xml

I have a system.xml which has 2 yes/no fields. <field id="popup" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite=&...
nickcobb's user avatar
2 votes
2 answers
99 views

color picker in configuration Mismatched anonymous define() module in Magento 2

when I add color picker to admin system configuration i got this kind of error can any one know about how can I rsolve it.
Jay Parmar's user avatar
2 votes
1 answer
53 views

Magento 2 System config Categories list not working on website scope update

I have created a system configuration to show the Categories list as assigned website-wise. When we change the website scope the categories list options are the same. Would you please share your ...
Prince Kumar's user avatar
0 votes
1 answer
58 views

Setup Production Database on Staging server in Magento 2.4

I downloaded the production database. Now I want to setup the database on the staging server. So what sanitize process I have to apply on the database before uploading to the staging server.
Kushal Dani's user avatar
  • 2,134
0 votes
2 answers
560 views

Is there any way to disable pagebuilder for category description without using xml in magento2?

I just wanted to disable pagebuilder from category description without using ui_component category_form.xml , is there any other way to do that like using plugin/event ?
Mark's user avatar
  • 63
0 votes
1 answer
395 views

Magento 2.4.5 - ACL for Menu and Configuration!

How to use ACL for Menus and Configuration in Magento 2.4.5 ?
Wakar Ahamad's user avatar
1 vote
2 answers
829 views

System Configuration multi date selection Magento 2.4

I need to add option to select multiple dates in system configure. I can add single date input field in system configure. but I doesn't have any idea about to add multi date picker in system configure....
Harsh Patel's user avatar
1 vote
1 answer
2k 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.
user avatar
1 vote
0 answers
265 views

Load specific scope configuration data in Multi site

I have three websites in the single Magento 2.4.2 application. When I load any one of the website it will load all the websites configurations data in the configuration cache. I'm looking for a way to ...
Bilal Usean's user avatar
0 votes
0 answers
67 views

System configuration loop fields

Do I need to list different fields for all websites in the system configuration? How can I do this? I have 3 websites. And I want to list different fields with YesNo source. <group id="...
Zalmoxis's user avatar
0 votes
2 answers
828 views

Saving Magento configuration doesn't change the actual value

In Stores -> Configuration -> General -> Contact. I am changing the email template and clicking the Save button, The page gets reloaded and says You saved the configuration but the email ...
Sathya's user avatar
  • 518
9 votes
5 answers
13k 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 ...
Learing_Coder's user avatar
0 votes
2 answers
30 views

Reusing vs Redefining System Config Tabs, Menus and ACL Resources

When we want to create a system config we add section items in the system.xml file. In these sections we specify a tab. That tab needs to also be defined. There is a possibility that a tab is already ...
pro100tom's user avatar
  • 145
0 votes
0 answers
95 views

Magento 2 : system config

app/code/Vendor/Paypal/etc/adminhtml/system.xml <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=&...
devhs's user avatar
  • 507
0 votes
1 answer
343 views

How can I set custom validation using controller in system config file in Magento 2?

I want to set custom validation on system config file that "accept character do not allow any script tag" only accept like that ex. config/group/field, config/group/field Here is my ...
Jay Parmar's user avatar
0 votes
1 answer
252 views

Change the config value based on dropdown change in magento 2.4.2

I am using Magento Open Source Edition 2.4.2. I have a custom module where I have an admin configuration like below which is under 'Stores > Custom Menu'. In the system.xml, I have added the ...
Octopus's user avatar
  • 355
0 votes
2 answers
133 views

Run Magento 2 On low end system resources,

I saw a system with below configuration :- dual core processor 8 gb ddr3 Ram 240 gb SSD windows 10 I've tried to run Magento 2 in it using Bitnami stack, but its very slow. Is their any other way or ...
Hamendra Sunthwal's user avatar
0 votes
0 answers
81 views

Is there any way to change getConfig method (AbstractHelper class) to be a static method?

I'm new to Magento 2 and from what I know, in order to retrieve config values, you need to extend the AbstractHelper class and create a method: public function getConfig($config_path) { return $...
mageboi123's user avatar
2 votes
2 answers
2k views

Display Customer Groups Dropdown in admin system configurations in custom module of Magento 2

I want to provide customer group based configuration in my custom group. So need to add customer group multiselect dropdown in system configuration at admin in Magento 2.x
Ronak Parmar's user avatar
2 votes
0 answers
106 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 ...
Afreen Sheikh's user avatar
1 vote
1 answer
343 views

Magento 2 : Fetch system.xml group id in source model

In Magento 2, I want to fetch group id from system.xml in my custom sourceModel But I am unable to find a solution online. Please do let me know if it's possible or not. I know there's an alternate ...
Ashwani Shukla's user avatar
0 votes
0 answers
109 views

How to send email admin dynamically when order placed

In this I want to create custom module for Send email to admin from one email sending field to get email id and send email on that id after order placed successfully using event and observer and one ...
Deep Shah's user avatar
  • 567
0 votes
1 answer
172 views

Magento 2 admin panel integration is missing

does anyone know how to fix a system error. I have asked someone to install Magento 2, but it seems like the system integration section is missing. Anyone know how to fix this problem? Thank you!
Zusuie Swiss's user avatar
0 votes
0 answers
443 views

Admin config value not updating to match database value

When I save a config value, it updates the database but does not change the content in the configuration > admin section. When I get the value, its the unchanged one from the admin, not the value in ...
willboudle's user avatar
  • 1,705
1 vote
1 answer
2k 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' ...
shankar boss's user avatar
  • 1,453
1 vote
1 answer
336 views

Dropdown 'selected' not working in config

I created dropdown in a table similar to Store > Config > Catalog > Invenotry, everything is working perfectly except selected is not working in my dropdown, however values are stored in a ...
Sagar Parikh's user avatar
0 votes
2 answers
357 views

Select option in configuration not store in database

I am following the answer to creating a table with dropdown in Store>Configuration. Its looks good but not storing my selected dropdown value in core_config_data table. currently its storing null ...
Sagar Parikh's user avatar
1 vote
0 answers
58 views

How can we clone groups like clone field in system.xml in Mageno 2?

In system.xml file, for cloning the fields we use clone_fields and clone_model. Here is the example: <group id="placeholder" translate="label" sortOrder="300" showInDefault="1" showInWebsite="1" ...
26vivek's user avatar
  • 467
0 votes
1 answer
361 views

Magento 2: Show each time different comment depends on Field option value in system.xml

Currently, using the below code in the system.xml Does anyone have a more efficient way (using only one Field or some other way) to do this? <?xml version="1.0"?> <config xmlns:xsi="http://...
sandip's user avatar
  • 4,034
1 vote
1 answer
947 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 ...
Madhu Patel's user avatar
2 votes
0 answers
48 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? /** * ...
sandip's user avatar
  • 4,034
1 vote
1 answer
93 views

Magento2 System configruation

I upgraded my magento2.2.8 to 2.2.3 after that I open system configuration and try to open configuration but some configuration shows a blank page and some option showing normal.
imtiazau's user avatar
  • 379
0 votes
2 answers
2k views

Magento 2: How to add css in system config field

I need to add phtml file for the following path. \app\code\Abc\Mkt\view\adminhtml\templates\validation.phtml How do I add this? Validation.phtml <?php $enable = \Magento\Framework\App\...
Shomita's user avatar
  • 1,123
0 votes
1 answer
1k views

Magento 2: Need to add custom module grid link in system config tab

I have created a custom module grid in admin and need to add grid link to system config custom tab. I am struggling with this. Custom module System config field How I can achieve this? Thanks
Shomita's user avatar
  • 1,123
4 votes
2 answers
996 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" ...
Chirag Gondaliya's user avatar
0 votes
1 answer
270 views

How to get configuration value from default

I want to get a config value from core_config but the default level I know we can get it by using scope config but I want default
Jack Brooks's user avatar
3 votes
7 answers
4k 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 ...
Oliver's user avatar
  • 41
0 votes
1 answer
574 views

How to Set Store Config (system configuration)

We can get system configuration values using Mage::getStoreConfig($xmlPath); But how can we set such configuration field programatically? I would expect some method like Mage::setStoreConfig($...
Nick Rolando's user avatar
  • 1,212
0 votes
1 answer
26 views

Magento 2: How to create gird in configuration

I am trying to create a new configuration for checking postcodes. Is it possible to add so many postcodes rather than creating one text field So I can pick which ever postcode by using type="select"
Jack Brooks's user avatar
0 votes
1 answer
1k views

magento 2 system configuration with a custom .phtml template?

in system.xml: <field id="custom_field" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Custom Field</label> <...
Juliano Vargas's user avatar
4 votes
3 answers
1k 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" ...
Dinesh Rajput's user avatar
6 votes
1 answer
912 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 ...
blue's user avatar
  • 128
4 votes
0 answers
152 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. ...
Magecode's user avatar
  • 1,514
1 vote
0 answers
496 views

Magento 2 : How to configure cookie free domain?

In GTMetrix, I checked "Use cookie-free domains" result is 0 and also checked that there are Magento 2 default provide this configuration. How to setup that and upgrade maximum "Use cookie-free ...
Emipro Technologies Pvt. Ltd.'s user avatar
3 votes
2 answers
1k 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\...
Juliano Vargas's user avatar
3 votes
1 answer
2k 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.
Himanshu's user avatar
  • 1,776
1 vote
2 answers
583 views

getting 404 on system configuration

I am using Magento 1 to create a system configuration left menu is created successfully but when I click on that getting 404. what I have tried Re-logging into the dashboard. Using ACL. Clearing var/...
Adarsh Shukla's user avatar
1 vote
2 answers
2k 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 ...
Abid Malik's user avatar
1 vote
1 answer
284 views

payment method configuration page in admin is not opening magento 2

I am trying to open configuration > sales > payment methods but it shows Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity ...
Shubhajay Das's user avatar