Questions tagged [system-config]

Questions about using and extending the system configuration in the admin panel

54 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
122 views

Add color picker in system.xml in serialized grid in Magento 2

I want to assign the color code to a particular customer group by the system.xml file. I have successfully created the grid, but I am facing difficulty adding the color picker in the color column of ...
D Singh's user avatar
  • 1,144
3 votes
1 answer
1k views

Magento2- Dynamic row system config store data in database but after save not display in backed

My config file after save config data After save data It also show error in console as there is no any field after save data it does not give me unserialaize data my php file to render data in ...
Arjun Soni's user avatar
3 votes
0 answers
488 views

use system config value to disable code from requirejs-config.js

I would like to create a configuration setting in my module's adminhtml/system.xml to disable it's features. I know how I can system config values to disable code in LayoutXML or PHP but is it ...
Holly's user avatar
  • 4,863
2 votes
1 answer
602 views

ACL for custom config group - section disppeared?

I'v tried to add a new section to Store -> Config -> Catalog Section -> Catalog with custom ACL settings. I changed (default) adminrole permissions from "All" to "Custom" and left only the ...
sv3n's user avatar
  • 11.6k
2 votes
0 answers
432 views

What is the event observer for system config page load in Magento 2

We know that we can use custom_admin_system_config_changed_section_general for system config page save event. But is there any observer to the config page load event? Thanks.
subhas's user avatar
  • 53
1 vote
1 answer
284 views

Get System Config Values in JS file without use of phtml

I want to get System Config Value in my JS file directly without using phtml template. thanks in advance.
Muhammad Ali's user avatar
1 vote
0 answers
99 views

Magento 2 - images in store config (per radio button)

I have currently installed Magento 2.3.x and I want to create a radio field in system config with an image (please look at the screenshot below). What is the best practice to do that? I am not so ...
Luboš Hubáček's user avatar
1 vote
1 answer
335 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
1 vote
0 answers
270 views

Magento 2: How to scan and delete all the system config values that start with some prefix

Required to delete all the possible values from core_config_data that are having path starts with "Softtech" via Helper/CoreConfig.php to call Model/HandleConfig.php i.e. Softtech/settings/enable ...
Softec's user avatar
  • 2,065
1 vote
1 answer
354 views

Magento 2 Configuration depends

In my configuration, I have two field number x and number y. I want to add a condition in which the number y must be less than the number x. How can I write this condition in a configuration file (...
Avesh Naik's user avatar
  • 1,180
1 vote
0 answers
352 views

Magento2.2 How to get userContext into ScopeConfig

It's more a core logic issue than a technical issue! I created one new table for admin_user: admin_user_config_data |config_id|user_id|path|value And, like in core_config_data, in this new table ...
Douglas Ianitsky's user avatar
1 vote
0 answers
51 views

Magento 2.2.x admin config, multiple times

I have a question, does anyone know if it is possible to add an admin config field to each payment method without declaring it for each system config section separately? For example, I have an admin ...
Macas's user avatar
  • 487
1 vote
0 answers
153 views

HTTP Error 500 when trying access Admin System Configuration

In the system log I get the following error: 2018-04-09T14:03:13+00:00 ERR (3): Warning: include(Mage/Mailchimp/Helper/Data.php): failed to open stream: No such file or directory in /Applications/...
lvekua's user avatar
  • 197
1 vote
1 answer
817 views

Dynamic number of text fields when a value from dropdown is selected in Magento 2 system configuration backend

I have one drop down with fixed set of values lets call 1 to 5. when i select any number that many number of textboxes should be visible in the admin system configuration in magento 2. for example. ...
Pradeep Sanku's user avatar
1 vote
0 answers
2k views

System configuration:array serialization in magento 2

I have created system configuration for my custom module like below Group 1 It works fine for a group 1 and generates a unique id for each row. But while adding the second group, It adds the same ...
Jaisa's user avatar
  • 2,596
1 vote
1 answer
746 views

How to get system configuration values dynamically in xml file in magento 2

I have created admin grid and form using Ui component, Now I need to get system configuaration values in my form.xml. Please provide me a solution I need to get width,height,image size from below ...
Jaisa's user avatar
  • 2,596
0 votes
0 answers
84 views

Unable to run Magento site on nginx

Using Debian 11, I installed PHP 8.1, PHP-FPM 8.1, Mysql 8, NGINX, Elasticsearch, Magento2 via composer. Now I am able to see the localhost welcome Nginx page and I cant navigate to Magento site. I ...
Leo's user avatar
  • 1
0 votes
0 answers
30 views

Add Javascript to a Single Custom Admin Configuration Page in Magento 2.4 with XML

I am developing a custom module and need to load a javascript function on my "Custom" admin configuration page created with system.xml at url "admin/system_config/edit/section/<...
Fox's user avatar
  • 191
0 votes
2 answers
259 views

Custom ui form with Magento core_config_data table

I was required to manage custom core_config_data (system config) values with a separate form from the Magento Admin side. How I can retrieve the values saved in the table with the data provider?
ajay's user avatar
  • 35
0 votes
1 answer
4k views

Office 365 SMTP Authentication unsuccessful, the request did not meet the criteria

I'm trying to configure SMTP settings on the Magento store as follows: but when I test, I have this error:
Shannak's user avatar
  • 113
0 votes
0 answers
89 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
  • 497
0 votes
1 answer
100 views

How to check system config field value before used in front end in Magetno 2?

I need to check the config field value before they used in fronted at any where Suppose Ex. customform/general/adminmail, the field i used in many extension so i am check that value befor they used ...
Jay Parmar's user avatar
0 votes
0 answers
77 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
0 votes
3 answers
520 views

How to disable custom plugin in admin

I have created a custom module to disable free shipping based on some conditions. I have to used Custom/ShippingRule/Plugin/Magento/Shipping/Model/Shipping.php to do the functionality. It is working ...
Ramesh KR's user avatar
  • 866
0 votes
1 answer
668 views

Magento 2: How to fetch system config value in an email template

I am trying to fetch system config value inside an html file for email template. But below code is not working {{config path="design/footer/copyright"}} Can someone suggest if there is ...
Lokesh Naik's user avatar
0 votes
0 answers
89 views

Load Config Collection including config.xml values

I need to load all configs with some filter, including values, that defined in config.xml files. Here's some code to make some clarity about what I need to do: public function __construct( \...
Vadim Shmyrov's user avatar
0 votes
2 answers
34 views

Magento Error website

Getting The below error in website Parse error: syntax error, unexpected 'protected' (T_PROTECTED) in /home/bhuwalfashion/public_html/lib/Zend/Cache/Backend/File.php on line 30 Does anyone know how ...
user86769's user avatar
0 votes
3 answers
3k views

Magento 2 - Type Error occurred when creating object: Magento\Framework\Interception\Config\Config after upgrade to 2.3.2?

After I ran the update from Magento 2.2.8 to Magento 2.3.2, I am getting this error whenever I run a CLI command like upgrade or cache, main.CRITICAL: Type Error occurred when creating object: ...
EOB's user avatar
  • 265
0 votes
1 answer
129 views

Magento 2 system configuration changes not applying

Magento 2 I am trying to change ups licence number and user is after saving it not showing values it showing blank can any one tell why it happening
Pawankumar's user avatar
0 votes
1 answer
19 views

Magento 2: How can i configure magento shipping option?

i have tried to access "magento shipping" shipping method but i can not able to get any require credentials and also not found any support about pricing list if its a paid service. Is there anyone ...
Dhaval Vaghela's user avatar
0 votes
1 answer
243 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
0 votes
0 answers
114 views

Magento 2 system config get frequency full value

in magento system config xml one can use: <field id="frequency" translate="label" type="select" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Frequency<...
Juliano Vargas's user avatar
0 votes
0 answers
103 views

Magento 2.3 Dynamic comment in system.xml group?

I need a way of adding a group comment that is dynamic, as I need to pass the stores URL (it gets added as a return URL for a 3rd party service) It seems like it used to be possible, using a model ...
Paul Canning's user avatar
0 votes
0 answers
235 views

Magento 2 System Config Plugin

I have created a custom tab in system config and added 1 field Module Enable Yes/No and 1 Dynamic fields which is depends on Module Enable. When Module Enable is set Yes I created various dynamic ...
Juliano Vargas's user avatar
0 votes
0 answers
38 views

Magento 2 system config Concatenate data to existing field with plugin beforeSave or aroundSave

I have a drop down field containing fruits where I would like to concatenate some data e.G: Using a Plugin save the data like so: Bananas are high in potassium Where are high in potassium is the ...
Juliano Vargas's user avatar
0 votes
1 answer
232 views

Magento 2 system xml config get groups name programtically

I have a custom phtml file in system config and been added to 3 groups: group_1, group_2, group_3 in phtml I have: <input id="my_value" type="number" name="groups[group_1][groups][my_settings]...
Juliano Vargas's user avatar
0 votes
0 answers
31 views

How to display numbers of row in table to section in configuration system

I want to count the rows of table and display it to field in section system, can someone help me how to resolve this. Thanks!
manhtuan tran's user avatar
0 votes
1 answer
359 views

Magento2: How to validate a specific system-configuration field on the server-side before save?

I have a custom module with some system configuration fields that needs to be validated on the server side (API credentials, etc...). At the moment, I'm using an observer on the ...
Pini's user avatar
  • 917
0 votes
1 answer
936 views

Display decrypted or empty value in configuration

I have a configuration value that I encrypt upon save, but when I look at it again in the configuration (UI), I get the encrypted string. I would like to show an empty string (production) or the ...
Ynhockey's user avatar
  • 265
0 votes
1 answer
87 views

How to duplicate my magento website keeping configuration to start another project?

I have a magento website and I would like to start another project with distinct domain ,products and the appareance, keeeping all configuration. I am using magento 1.9 Could your help me to ...
SDLUJO's user avatar
  • 1
0 votes
0 answers
208 views

Get Config Path value based on website scope

From a CMS Page, block or transactional email it's possible to get a config path value for the website url with: {{config path="general/store_information/country_id"}} Is it possible to get this ...
Holly's user avatar
  • 4,863
0 votes
1 answer
197 views

Is there any chance to call phtml file into system.xml file?

Hello, I have to know that any chance to call phtml file into system.xml if yes then how is it possible? Thanks.
Moin Malek's user avatar
0 votes
0 answers
662 views

How can I enable system configuration values that are disabled

In the magento backend under stores->configuration, I can't edit most of the system settings anymore. Usually I was able to uncheck "use system value" and then change the corresponding value as I ...
bayer's user avatar
  • 342
0 votes
1 answer
363 views

Add a external link to system configuration tab

Is it possiible to add an external link to system config tab? Usually, when you create new section, you can add link to system config only, but in my case, I want to add a link to custom module grid.
Andrew Sh's user avatar
  • 193
0 votes
3 answers
2k views

I have create system.xml for system config value but not work

I have created one extension now i released i have also need some system config value where user can easily to handle this module. so i have created system.xml in adminhtml folder but its not work ...
Ajay Patel's user avatar
  • 1,513
0 votes
3 answers
2k views

Blank page when trying to configure payment methods in Magento 2

I'm using Magento 2, when navigating to Stores > Configuration > Sells > Payment Methods it shows a completely blank page. I've already enabled dev mode and in other situations errors shows directly ...
Marcos Laurito's user avatar
0 votes
2 answers
2k views

Magento 2 redirect going back to admin

I have a controller that is executed in the system configuration. The desired result is that the code is executed and is redirected back to its original page. When the url keys are active, the page ...
StevanZakel's user avatar
0 votes
1 answer
2k views

How to add a custom block in Magento 2 System Configuration Group?

I am trying to add a text block in Magento 2 system configuration group. I want to write some hints for the users in a separate group. As it can be done in Magento 1. Here is my screenshot what I ...
Gaurav Agrawal's user avatar
0 votes
2 answers
173 views

Adding new model to Contacts module breaks contacts configuration

Recently I tried to extend the contact form on our website. I wanted to add a drop-down with some possible subjects the user could select. To do this I created a new module MyCompany/Contacts in the ...
mlippie's user avatar
  • 43
0 votes
1 answer
57 views

The "contacts" menu in magento configuration under general is missing

The "contacts" menu in my magento 1.9 configuration under general tab is missing. Can anyone help me understand why it is missing and where can i find it?
CodeFan's user avatar
  • 41