Questions tagged [system-config]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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( \...
1
vote
0answers
20 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 ...
3
votes
1answer
26 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 ...
0
votes
0answers
15 views

Create dynamic field with Drag-able feature in system configuration in magento 2

I want to implement a dynamic field with a drag-able feature in a system configuration in Magento 2. Can I implement this feature or not?
1
vote
1answer
22 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 ...
0
votes
1answer
35 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 ...
0
votes
0answers
22 views

Magento 2: Import store configuration using csv

I want to import the configurations using CSV in Store -> Config under my module. After importing, it should set in the store config fields. How can I achieve that? I have referred this link ...
0
votes
0answers
12 views

Demo Mode - Long Term Effects

Amidst all the global pandemonium we are preparing for our government to enforce a lock-down. Unfortunately for us that means we won't be able to fulfill any new orders placed through our website... I'...
0
votes
2answers
28 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 ...
1
vote
1answer
44 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 ...
0
votes
2answers
51 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 ...
1
vote
1answer
68 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 ...
0
votes
2answers
225 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: ...
1
vote
0answers
18 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 ...
1
vote
2answers
61 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 ...
0
votes
1answer
25 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
0
votes
1answer
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 ...
0
votes
1answer
11 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
0
votes
0answers
29 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<...
0
votes
1answer
20 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"
0
votes
0answers
22 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 ...
0
votes
0answers
71 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 ...
0
votes
1answer
53 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 ...
0
votes
0answers
20 views

Magento 2 check whether value retuned from SCOPE_STORE Config is default(0)

I have this: $data = $this->_config->getValue(self::MY_CONFIG_PATH, ScopeInterface::SCOPE_STORE); $data will contain the my data whether it's a string or [] for the simplicity lets say it ...
0
votes
0answers
27 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 ...
0
votes
1answer
123 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!
0
votes
1answer
125 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 ...
1
vote
0answers
92 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
0
votes
1answer
144 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 ...
0
votes
1answer
62 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]...
4
votes
3answers
84 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" ...
0
votes
1answer
542 views

Get config value in html using knockoutjs

I am trying to get config value to html file. My aim is to check if the config value is enabled of it is show a button and if it’s continue normally with out button the button. I am not sure how to ...
1
vote
2answers
276 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\...
0
votes
0answers
27 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!
2
votes
1answer
215 views

Magento system configuration issue

How can I fix the next error please: When i go to Store>Configuration>Store email address and try to change from Name: Owner E-mail: owner@exemple.com to Name: Shop e-mail: shop@domain.com i get ...
2
votes
0answers
24 views

What is the scope of source model extend and implement?

What is the scope of source model extend and implement between these two? \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource \Magento\Framework\Data\OptionSourceInterface Attribute options ...
1
vote
1answer
46 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 (...
1
vote
1answer
373 views

magento 2 - display shipping method logo

I have created a module to add a shipping method logo. In backend its successfully working fine like uploading logo image, deleting logo image, etc. Please see the below image. But I am stuck to ...
0
votes
1answer
25 views

Show the content of other site in my system configuration in Magento 2

How do I show the content of other sites in my system configuration, Please provide me a solution <group id="general" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="...
1
vote
1answer
95 views

How to get all the system configuration values in magento 2?

I need to get all the fields and values from Stores -> Configuration -> General
3
votes
2answers
2k views

Magento 2 toggle switch (yes/no) in admin config of custom module using system.xml or in any programmatic way

I understand that we can create a toggle switch using form with ui_component. However, I want to create an admin configuration for my custom module using system.xml configuration. Is there any way ...
4
votes
1answer
536 views

Magento 2 Scope Interface Model

I have recently gone through magento's core ScopeInterface file which is located in Magento\Store\Model. My question is why magento define SCOPE_STORES & SCOPE_STORE similar as WEBSITE and for ...
0
votes
1answer
523 views

Why we rewrite urls in magento 2?

When I deployed magento project from one server to another server css and js didn't loaded. So I google and got this answer which worked for me. <Directory /var/www/html> Options ...
1
vote
0answers
117 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 ...
0
votes
2answers
533 views

How to Save custom data from admin->system->configuration magento 1.9

I am working in magento 1.9 . I have created a custom tab in admin -> configuration . There I created custom fields , I want to save the data from those custom fields on click "save config" button. ...
2
votes
1answer
117 views

Inside admin when i click on system i'm throwing an error on m2 2.2.5

I've tried to change the ID name but it did not work. 1 exception(s): Exception #0 (InvalidArgumentException): Element with id "system_cron_template_use_separate_process" already exists Exception #0 ...
2
votes
0answers
137 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 ...
1
vote
1answer
2k views

Magento 2: `magento app:config:import` doesn't import system configuration

I'd like to import system config through the app:config:import command. I have update app/etc/config.php file with described customer/captch/enable config path: <?php return array ( 'system' =&...
0
votes
1answer
269 views

Fatal error: Uncaught Error: Call to undefined method getScope()

getScope() method generates: Fatal error: Uncaught Error: Call to undefined method Magento\Framework\App\Config::getScope() public function __construct( \Magento\Framework\...
1
vote
2answers
635 views

Magento2 select by default one radio button in system configuration

In my custom module system.xml I added <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd"> <...