Questions tagged [system-configuration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
3answers
1k 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 ...
0
votes
0answers
10 views

Please help! How can you display individual quantity for each variation?

I have a configurable product with 3 variations. The quantity for each is 1,3 and 5. I want these quantities showing when selecting the relevant variation, but it currently shows the total 9, no ...
1
vote
2answers
38 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 ...
3
votes
7answers
2k 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
0answers
10 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
1answer
901 views

How to get value from core_config_data table and set as default value in config.xml file in magento2

I want to add value from BLOG > General > Store Information > Store name and set value in General > General > Store Information > Store name which i added. How it is possible? ...
1
vote
3answers
2k views

getting config value in cms pages magento2

I have added a custom field in system->configuration. The code is below. <tab id="testtab"> <label>Test settings</label> </tab> <section id="...
0
votes
1answer
21 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
0
votes
0answers
19 views

How to create import csv option in admin configuration of Magento 2.3

I want to create a configuration for may custom module where i need to add import csv field. Once i upload my csv it should upload all the data to my custom table. Below is the code I have added to ...
28
votes
2answers
20k views

Magento 2: available field types in system.xml

What are available values for field types in etc/system.xml configuration file: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
2
votes
0answers
26 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 ...
0
votes
0answers
25 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
42 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
0answers
23 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
1answer
31 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!
1
vote
1answer
760 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 ...
3
votes
1answer
3k views

Magento 2 - Allow frontend run in frame

I can't find the option to enable this confiuguration on Magento 2: allow magento frontend to run in frame on magento 1 was in system > configuration > admin > security This old post shows how ...
0
votes
0answers
73 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 ...
13
votes
6answers
15k views

How can I decrypt an encrypted configuration value?

protected $_paymentData; protected $_scopeConfig; protected $logger; public function __construct( \Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \...
1
vote
2answers
512 views

CMS page id from system configurations Magento 1.9

In my custom module, I have a field in the system configwith cmspages. I need to get the id of the selected cms page, not the identifier, so I can get the content of a cms page in a phtml file. I ...
1
vote
1answer
435 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
1answer
60 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
53 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 ...
0
votes
0answers
33 views

Magento - 1 domain, 2 stores - B2B and B2C under one domain

I was hoping someone could advise on the best approach to achieve the multi store setup we are looking at. We have two customer groups B2C and B2B. The ideal scenario would be everything is hosted ...
1
vote
0answers
42 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
1answer
27 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
1answer
189 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
0answers
30 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
1answer
69 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
2answers
550 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\...
4
votes
2answers
716 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
1answer
222 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
3answers
456 views

Magento 2.2.4 : Different group dependency not working

I'm using magento 2.2.4. In system configuration, I want to do apply dependency. But, both groups and fields are different. It's working in same group. But, I can't get output for different group. ...
0
votes
2answers
911 views

How to set logo in admin configuration tab in Magento 2?

I want to add my company logo to my custom module configuration tab in admin. Here is code of tab: <tab id="mytab" translate="label" sortOrder="110"> <label>My Label Here</label&...
3
votes
4answers
10k views

Magento 2 - Category list for custom magento system configuration section

My problem to get all available categories and display them in a system config multi-select field list. Here is a link for Magento 1.x. How can it be achieved for Magento 2.x?
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
1answer
111 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($...
3
votes
2answers
7k views

Magento 2: How to get store logo in footer phtml?

In magento 1 i could call the store logo in any template with something like this Mage::getStoreConfig('design/header/logo_src');. How can I do the equivalent in Magento 2?
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
1answer
347 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
3answers
104 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
1answer
338 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
0answers
64 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
0answers
434 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 ...
1
vote
2answers
395 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
2answers
494 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.
3
votes
1answer
320 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.
6
votes
2answers
6k views

Magento 2 : Too many redirects in admin login screen

Recently, i have moved the server of my magento2 project. After moving to different server following steps i have taken. 1) Configured the Base URL in core_config_data 2) Clear the Magento 2 Cache ...
1
vote
2answers
114 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/...
6
votes
2answers
504 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" ...