Questions tagged [system-config]

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

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

magento 2.4 how to add a price field in system.xml

On my magento 2.4.4 I'm creating a new module with its configuration in system.xml. The file itself works fine, I've created a yes/no field to enable/disable my feature plus an input text to add some ...
Lou Nik's user avatar
  • 373
0 votes
0 answers
53 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
21 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
  • 161
0 votes
1 answer
119 views

How to depend a field to a field having type="checkbox" in system.xml?

i am new to magento..i am facing issue while learning configuration of system.xml..i want to depend a field of type="dropdown" to field of type="checkbox"..any help would be ...
MihirBangia's user avatar
0 votes
0 answers
29 views

How to Create Custom Shaped progressbar in Magento2

How to create dynamic Custom Shaped(or circular) progressbar in magento2. For example: I have total 100 products out of these 40 them are soldout then how to show the progressbar for this.The ...
Alshihab's user avatar
  • 131
1 vote
1 answer
214 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
0 votes
1 answer
798 views

How to get window.checkoutConfig value in html file using data-bind

I made my custom delivery method programmatically. It also appears in the Magento 2 admin config section. It is a multi-select field with values of days of the week. In my js file below: define( [ ...
Muhammad Muiz Ather's user avatar
0 votes
2 answers
250 views

System.xml changes not reflecting on adminpanel

I am trying to create tabs in magento admin panel but it is not working. I tried running all the commands and cache clear. Please check if everything is fine with the code ` <system> <...
Charanjeet Singh's user avatar
1 vote
2 answers
654 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
1k views

Magento 2 : how to create dynamic filed in admin system configuration?

I want a multi-select drop down in system configuration with dynamic field. So How to create ? Please check this image.
rahulraj vdc's user avatar
0 votes
1 answer
154 views

admin configuration with automatically add certain product to cart for free

I'm trying to create admin configuration with two SKU's fields, where later you can choose main product and second product will automatically add to cart for free. So, I created system.xml file first: ...
tomk1v's user avatar
  • 3
0 votes
1 answer
207 views

How to add magento ui image uploader in store/system config?

I need to insert an image uploader like this.
Rutvik Monpara's user avatar
0 votes
2 answers
240 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
84 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
97 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
2 votes
1 answer
658 views

How to get country of origin of the store from configuration

I need to programmatically get the country, zip code and state of the store that is at: Stores->Configuration->SALES->Shipping Settings->Origin
Hudson Alves Triunfante's user avatar
0 votes
2 answers
693 views

Programaitically Insert Values for Dynamically Created Rows

I am working on creating an Magento REST API which passes values to dynamic rows of Stores->config. Dynamic rows were already created through frontend & backend Models. I just need to insert ...
blakcaps's user avatar
  • 1,965
0 votes
1 answer
96 views

Magento 2: Predefine configuration values in config.php

I am trying to predefine the values for field in Configuration > Sales > Sales Email I am not sure how to predefine it & check if it works. Any thoughts ?
devhs's user avatar
  • 497
0 votes
1 answer
211 views

Display admin configuration field by other field text value

In Magento2 admin configuration we can display field conditionally like below, <field id="do_3Dsecure" translate="label" type="select" sortOrder="1" ...
Elavarasan's user avatar
0 votes
0 answers
73 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
480 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
  • 836
0 votes
1 answer
603 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
80 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
1 vote
0 answers
74 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
3 votes
0 answers
121 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,134
1 vote
1 answer
324 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
1 answer
56 views

Want to Learn magento 2.3.5

I am Working as PHP Developer and want to learn about magento 2.3.5 from scratch so can anyone having material related to magento 2.3.5 then please send me for self learning and any demo of modules as ...
Deep Shah's user avatar
  • 535
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
1 vote
1 answer
315 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
297 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
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
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
  • 255
1 vote
0 answers
264 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,055
1 vote
2 answers
266 views

Magento 2 : To find out whether Single Store Mode value changed or not

Is there any class/file from module-config module that can be useful whether single_store_mode value has been changed from yes to no or vice-versa. Have checked admin_config related events but these ...
Softec's user avatar
  • 2,055
0 votes
1 answer
124 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
232 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
109 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
1 answer
25 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
0 answers
99 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
234 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
1 answer
626 views

How to create a custom system field in magento 1?

Magento 1.9 I want to create a new tab in System > Configuration. In this tab, I need a group tab and in this group tab i want a textarea which is connected to a field of my database. If i edit my ...
Theo Cerutti'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
490 views

Magento 2 Dynamically Add file uploader in system config

How to add a file uploader render in a dynamically added rows? something like: But in dynamically added Like: Let say before or after drop down and the input text field? Best!
Juliano Vargas's user avatar
0 votes
1 answer
996 views

Creating a dynamic row file upload and drop down option in system config

I've checked the example here: https://devdocs.magento.com/guides/v2.3/ext-best-practices/tutorials/dynamic-row-system-config.html Which add text inputs, But how to add other types of input such as ...
Juliano Vargas's user avatar
1 vote
1 answer
968 views

Magento 2 : window.checkoutConfig returns empty, So Checkout page is not loaded without configuration values

Here My Checkout page is not loading which throws following issue It also shows like below while hit checkout page. Can anyone please suggest me the solution for this. Thanks in advance
Jaisa's user avatar
  • 2,556
0 votes
1 answer
432 views

Magento 2 How to show column on the basis of admin config value in admin custom grid by using UiComponent?

I had created a Custom Admin Grid by using uiComponent in which I am showing Order Details, please check below Screenshot I had created System Configuration to show IGST, CST, SGST field or not, if ...
temper's user avatar
  • 974
0 votes
1 answer
228 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
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