Questions tagged [system-configuration]
The system-configuration tag has no usage guidance.
113
questions
0
votes
1
answer
88
views
Magento 2.4.5 - ACL for Menu and Configuration!
How to use ACL for Menus and Configuration in Magento 2.4.5 ?
0
votes
0
answers
37
views
How to show system admin configration message on checkout?
I have created system.xml file and passed value from config.xml file want to show that value message on checkout page.like this
0
votes
2
answers
381
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....
2
votes
1
answer
1k
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.
1
vote
0
answers
149
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 ...
0
votes
0
answers
40
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="...
0
votes
2
answers
328
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 ...
6
votes
5
answers
8k
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 ...
0
votes
2
answers
25
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 ...
0
votes
0
answers
66
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=&...
0
votes
1
answer
271
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 ...
0
votes
1
answer
125
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 ...
0
votes
2
answers
109
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 ...
0
votes
0
answers
54
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 $...
1
vote
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
2
votes
0
answers
71
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 ...
1
vote
1
answer
265
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
0
answers
91
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 ...
0
votes
1
answer
133
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!
0
votes
0
answers
341
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 ...
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' ...
1
vote
1
answer
257
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
2
answers
177
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
0
answers
53
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" ...
0
votes
1
answer
271
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://...
1
vote
1
answer
728
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 ...
2
votes
0
answers
47
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?
/**
* ...
1
vote
1
answer
90
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.
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\...
0
votes
1
answer
799
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
4
votes
2
answers
944
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" ...
0
votes
1
answer
137
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
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 ...
0
votes
1
answer
391
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($...
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"
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>
<...
4
votes
3
answers
848
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" ...
5
votes
1
answer
770
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 ...
4
votes
0
answers
138
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. ...
1
vote
0
answers
483
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 ...
3
votes
2
answers
978
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\...
3
votes
1
answer
1k
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.
1
vote
2
answers
277
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/...
1
vote
1
answer
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 ...
1
vote
1
answer
265
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 ...
0
votes
2
answers
850
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.
2
votes
0
answers
38
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?
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 ...
6
votes
2
answers
868
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" ...
2
votes
2
answers
990
views
Magento 2: System Configuration Error
I cannot open my System Configuration in Magento 2.2.6, I have forced it back to Developer mode, error below & all installed modules.
I'm starting to pull my hair out. It worked on one system, I ...