Questions tagged [system-configuration]
The system-configuration tag has no summary.
119 questions
0
votes
2
answers
72
views
Blocking one specific category for robots - Magento 2.2.11
I want to set robots: noindex, nofollow for 1 specific category.
I thought I just add a line in a source code like:
if (stripos($categoryName, 'MyCategoryName') !== false) {
$this->layoutFactory-&...
0
votes
1
answer
46
views
How to add Enable Objects system configuration in magento 2.4.6
Select objects to log actions when any admin users perform in the backend how to do?
system.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/...
0
votes
2
answers
314
views
How can I set the value of a Yes/No Config field based on the value selected in another yes/no field in Magento 2 system.xml
I have a system.xml which has 2 yes/no fields.
<field id="popup" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite=&...
2
votes
2
answers
189
views
color picker in configuration Mismatched anonymous define() module in Magento 2
when I add color picker to admin system configuration i got this kind of error can any one know about how can I rsolve it.
2
votes
1
answer
74
views
Magento 2 System config Categories list not working on website scope update
I have created a system configuration to show the Categories list as assigned website-wise.
When we change the website scope the categories list options are the same.
Would you please share your ...
0
votes
1
answer
87
views
Setup Production Database on Staging server in Magento 2.4
I downloaded the production database. Now I want to setup the database on the staging server. So what sanitize process I have to apply on the database before uploading to the staging server.
1
vote
2
answers
855
views
Is there any way to disable pagebuilder for category description without using xml in magento2?
I just wanted to disable pagebuilder from category description without using ui_component category_form.xml , is there any other way to do that like using plugin/event ?
0
votes
1
answer
724
views
Magento 2.4.5 - ACL for Menu and Configuration!
How to use ACL for Menus and Configuration in Magento 2.4.5 ?
1
vote
2
answers
1k
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
3k
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
288
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
84
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
1k
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 ...
10
votes
5
answers
15k
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
52
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
100
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
367
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 system....
0
votes
1
answer
280
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
158
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
92
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 $...
2
votes
2
answers
3k
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
120
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
362
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
118
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
225
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
472
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
2k
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
375
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
394
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
80
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
411
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
2
answers
1k
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
55
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
104
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
2k
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
1k
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
1k
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
309
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
8
answers
5k
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
648
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
39
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
2k
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" ...
6
votes
2
answers
1k
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
164
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
504
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
1k
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
2k
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.
2
votes
2
answers
736
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
2
answers
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 ...