Questions tagged [system-configuration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
112 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
  • 53
1 vote
0 answers
84 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 ...
user avatar
  • 9,479
0 votes
0 answers
25 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="...
user avatar
0 votes
2 answers
27 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 ...
user avatar
  • 425
0 votes
0 answers
18 views

Display Out of Stock product only Grouped Product

I have to show Out of Stock child product only in Grouped Product on Product Detail Page. Without using store Configuration setting. Stores → Configuration → Catalog → Inventory → Stock Options → ...
user avatar
  • 1
0 votes
0 answers
25 views

magento 2.4 config.xml default value for obscure field

I've successfully created a custom section on stores > configuration via system.xml. This section has some api credentials to connect to an external service: one group is for sandbox credentials, ...
user avatar
  • 129
2 votes
4 answers
596 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 ...
user avatar
0 votes
2 answers
22 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 ...
user avatar
0 votes
0 answers
116 views

Magento 2: How to add button in system configuration?

I'm trying to add a button in the system configuration but also wanted to save it in the core_config_data. The reason is in every store view I want to show different messages based on the store id. ...
user avatar
  • 60
0 votes
0 answers
31 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=&...
user avatar
  • 357
0 votes
1 answer
101 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 ...
user avatar
0 votes
1 answer
52 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 ...
user avatar
  • 335
0 votes
0 answers
20 views

Display config data array in a admin grid

I create a system.xml file that saves an array in the config_data table. {"_1621473140678_678":{"shipping_method":"shipmethod1","cost":"15"},"...
user avatar
0 votes
2 answers
83 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 ...
user avatar
0 votes
0 answers
38 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 $...
user avatar
0 votes
1 answer
856 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
user avatar
2 votes
0 answers
55 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 ...
user avatar
1 vote
1 answer
156 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 ...
user avatar
0 votes
0 answers
42 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 ...
user avatar
  • 473
0 votes
1 answer
77 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!
user avatar
0 votes
0 answers
241 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 ...
user avatar
  • 1,685
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' ...
user avatar
  • 1,357
1 vote
1 answer
140 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 ...
user avatar
0 votes
2 answers
68 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 ...
user avatar
1 vote
0 answers
50 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" ...
user avatar
  • 427
0 votes
1 answer
137 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://...
user avatar
  • 3,542
1 vote
1 answer
511 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 ...
user avatar
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? /** * ...
user avatar
  • 3,542
1 vote
1 answer
88 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.
user avatar
  • 379
0 votes
2 answers
1k 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\...
user avatar
  • 1,015
0 votes
1 answer
595 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
user avatar
  • 1,015
4 votes
2 answers
854 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" ...
user avatar
0 votes
1 answer
20 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
user avatar
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 ...
user avatar
  • 31
0 votes
1 answer
254 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($...
user avatar
  • 1,180
0 votes
1 answer
22 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"
user avatar
0 votes
1 answer
743 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> <...
user avatar
4 votes
3 answers
346 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" ...
user avatar
5 votes
1 answer
608 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 ...
user avatar
  • 64
4 votes
0 answers
107 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. ...
user avatar
  • 1,434
1 vote
0 answers
462 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 ...
user avatar
1 vote
2 answers
726 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\...
user avatar
3 votes
1 answer
799 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.
user avatar
  • 1,683
1 vote
2 answers
181 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/...
user avatar
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 ...
user avatar
1 vote
1 answer
212 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 ...
user avatar
0 votes
2 answers
710 views

How to set List Mode(backend configuration) programmatically for category page magento 2?

Actually i want to set list/grid mode(List Mode) configuration values for category page programmatically not from magento admin backend.if anyone have any idea please guide me.
user avatar
1 vote
0 answers
19 views

Purpose of include, advanced and extend in system configuration

How to use include node in system.xml? How to use attributes extend and advanced in system.xml?
user avatar
  • 8,548
1 vote
1 answer
1k views

FollowSymLinks is enabled for <Directory> however Apache returns HTTP 403 for image request

It seems like I have some generic Apache configuration issue, but I cannot spot the problem. I have Magento v2.2.7 installed to default Apache document root directory (/var/www/magento) under user ...
user avatar
  • 111
6 votes
2 answers
754 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" ...
user avatar
  • 1,009