As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [configuration]

General settings of all the modules, either core or third party.

Filter by
Sorted by
Tagged with
1 vote
0 answers
138 views

Magento 2 : Set default image in image uploader field in system configuration

I want to set default image when user save configuration empty records. For eg : when user delete image and don't upload new image at that time, default image should be available in database/image ...
Ankita Patel's user avatar
1 vote
2 answers
245 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
  • 1,945
1 vote
0 answers
14 views

Magento Custom Module named Bms_Scan not getting Displayed in Advanced Page of Magento Admin Panel

Config.xml file <?xml version="1.0"?> <!-- /** * @category Bms * @package Bms_Scan * @author ModuleCreator * @license http://opensource.org/licenses/osl-3.0.php Open ...
DHEERAJ RAO's user avatar
0 votes
1 answer
1k views

Magento 2.3: system.xml and config.xml: Default values not showing up in the admin

I'm developing a module for Magento 2.3 and can't get default config values to show up in the admin. To the best of my knowledge, I've followed all the documentation I can find. It's kind of driving ...
Crankycyclops's user avatar
2 votes
1 answer
2k views

How to refresh the module configuration after change the etc/config.xml?

I've created a module with default configurations into the etc/config.xml file, but I changed the default configuration and I'm not able to see them reflected into my module installed. How could I ...
Rafael Corrêa Gomes's user avatar
6 votes
1 answer
1k views

What's the difference between element and elementTmpl

In UI components, what's the difference between setting template and elementTmpl in a component's <config/> node? <item name="config" xsi:type="array"> <item name="template" xsi:...
Adarsh M's user avatar
  • 562
1 vote
0 answers
75 views

Blank page in Stores>Configuration>Sales>Tax

I have succesfully installed magento 2.3.3 following this guide https://digitalstartup.co.uk/t/how-to-install-magento-2-3-and-build-a-web-server/263#chapter2 Then installed the claue theme with a demo ...
Rick Sanders's user avatar
0 votes
1 answer
1k views

Magento2.3: Cannot add a product to wish-list even after logged in

I'm facing an issue in adding the product to wish-list. I have logged-in the site but still can't add the product to wish-list. When checking the admin configuration, I see the wish-list is enabled ...
MagentoDev's user avatar
1 vote
0 answers
736 views

my.cnf MySQL optimize for 2G RAM Magento 1.9

I'm find my.cnf optimized for 2G RAM. It's good configuration for 2G RAM and magento 1.9 and 5.5.56-MariaDB? Server VPS CentOS 7.5 on SSD. In this case i have about 30 domains in 1 multidomain ...
Boulatov's user avatar
1 vote
1 answer
2k views

Magento 2.3 - Intergration varnish cache with, error socket :80: address already use

When I check status Varnish, always receive error : Error: Could not reopen listen socket :80: Address already in use. But, run command sudo netstat -nlpt, don't have process using port :80 ??? ...
Nguyễn Hoàng Tuấn's user avatar
0 votes
3 answers
98 views

Magento 2 Admin panel configration migration

How can we migrate Magento 2 Admin panel configurations from one magento 2 project to another. Lets say we did some configuration in DEV server and when you setup UAT server you will need to do the ...
Kaushik Kumar Roy's user avatar
0 votes
1 answer
35 views

Is Magento 2's ScopeConfig lazyloaded?

When i need to retrieve config values, i usually inject Magento\Framework\App\Config\ScopeConfigInterface to use. But i have a concern about the core_config_data table getting too big and at one ...
Long M K Nguyễn's user avatar
2 votes
1 answer
509 views

How to disable Compiled Configuration?

I was trying to disable all my caches, then I noticed that one of my Magento 2 installations has a particular cache type called Compiled Config. I don't want to use my installation compiled, I wan't ...
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
156 views

Add grunt-notify to M2 Grunt config

How to add grunt-notify module to Magento 2 Grunt config. Reference: https://github.com/dylang/grunt-notify Thanks.
Max.A's user avatar
  • 97
0 votes
2 answers
250 views

Magento2 Multi store problem

I have created three websites within a single Magento instance. All three store is showing in configuration it means are enable and active. I have put Magento version 2.3.3 with sample data. When ...
Ketan Borada's user avatar
  • 2,583
3 votes
3 answers
684 views

tax configuration blank after migration (and upgrade) 2.3.2 -> 2.3.3

We migrated from magento-1.9.2.4 to magento-2.3.2 without problems so far. After upgrading to magento-2.3.3 (using composer) the tax configuration (Sotres -> Configuration -> Sales -> Tax) page only ...
ulbiopro's user avatar
3 votes
1 answer
111 views

What is use of direct_document_copy in data migration config.xml

I have recently migrate M1 DB to M2 DB there is option in config.xml called direct_document_copy <!-- Set direct_document_copy = 1 for better performance. NOTE: 'source' and 'destination'...
Zaheerabbas's user avatar
  • 2,058
1 vote
1 answer
2k views

Why I can't change any configuration in admin panel?

I have all access to the admin panel by my user, I tried to use production and developer mode, I keep seeing the options locked as the image below. I can't click into the Use Default option, it's ...
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
175 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
4 votes
0 answers
393 views

Validation Failed when running bin/magento app:config:import

I have added the following data to my app/etc/config.php file: 'scopes' => [ 'websites' => [ 'admin' => [ 'website_id' => '0', 'code' => 'admin', ...
Ryan Copeland's user avatar
2 votes
1 answer
786 views

how magento 2 generats and archives log files in file system in server?

I have been searching in internet for this question "how Magento 2 generate log files and make archive files when the day passes is there an cron or configuration in admin area so I can change it for ...
lazy_coder's user avatar
1 vote
2 answers
103 views

I Need Help In Issue In My Theme Configuration: Magento 2

I think there is must be in-store and storeview the name of my store and store view ?? it was working but now when I go to edit anything in this design configuration it does not apply on my website .. ...
Fady Moheb'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
1 vote
0 answers
140 views

Config value in html template Magento 2

<type name="Magento\Checkout\Model\CompositeConfigProvider"> <arguments> <argument name="configProviders" xsi:type="array"> <item name="...
MichaelHa's user avatar
  • 661
0 votes
0 answers
120 views

magento 2 Change configuration value dynamically on certain condition

I required to change configuration values dynamically On certain condition. Consider i need to change value of "Display Out of Stock Products" dynamically on certain condition. I do not want to ...
Amitkumar solanki's user avatar
1 vote
1 answer
426 views

Magento 2: Get value from Cron system.xml

I would like to take the value of the ahead schedule of this system.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...
Mastafis's user avatar
  • 187
0 votes
1 answer
55 views

Logo shows old URL with HTTPS protocol

On my development store, I changed the URL recently which made the logo disappear. The image link keeps showing the old URL unless I use unsafe URL's in the frontend in stores > configuration > ...
Marcel's user avatar
  • 112
5 votes
3 answers
2k views

Unable to save blank multiselect value in system configuration in Magento 2

I have created multiselect in system.xml with backend_model and customize afterSave function and return parent::afterSave(). <field id="populatavailablebanknetbanking" translate="label" type="...
Prince Patel's user avatar
  • 22.4k
2 votes
2 answers
1k views

Validation for file type not working in File Upload in Magento 2 Store Configuration

I am following below Article to upload file in store configuration: https://www.mageplaza.com/devdocs/how-file-upload-sytem-configuration-magento-2.html I have defined custom backend model as ...
Khushbu's user avatar
  • 805
1 vote
0 answers
45 views

Magento 2x web rest api: Anyone can tell me about endpoint to get order status from store configuration?

I wonder if there is endpoint to get orderstatus by using api in magento 2x. As I check there is issue that created since 2016 but closed because report in github link
Chileap Chhin's user avatar
0 votes
1 answer
827 views

Magento 2 : How to create Store Configuration multiselect with Payment methods

I want to create a multiselect in the admin area which lists out payment methods. Has anyone got any experience of this? Just need system.xml and source model if applicable. I can sort rest.
Dominic Pixie's user avatar
3 votes
1 answer
195 views

Magento 2. Declarative schema. What is the use of the memory engine?

When creating tables using the Declarative Schema one can set the engine="" attribute value as memory. I can't seem to find an example in the core. What is a use-case for this configuration, how does ...
vitoriodachef's user avatar
3 votes
2 answers
3k views

How to recover env.php file in Magento 2?

is there any way to recover the env.php file. As my file deleted unexpectedly when editing using command line. Now file is empty and showing with 0 size in the ftp. As i don't have the backup of the ...
Mehar's user avatar
  • 205
0 votes
1 answer
152 views

Magento 2: Facing issue in "Edit Configurations" can't save product

I faced issue in "Edit Configurations" of product, can't save products, in Magento 2.3.1 with Apply images for all. Error: The "/var/www/html/magentosample231/pub/media/tmp/catalog/product/d/o/...
Kirti Nariya's user avatar
  • 3,373
0 votes
1 answer
395 views

Tax/VAT field configuration is not working on multistore Magento2 Core

I have a multistory website as Retail-Website and Wholesale-Website Configuration with fresh Magneto2.2 at Store >> Configuration >> Customer Configuration >> Show Tax/VAT Number Retail-Website ...
fernandus's user avatar
  • 454
0 votes
1 answer
714 views

Undefined index: id in vendor/magento/module-config/Model/Config/Structure/Element/Iterator.php on line 63

I am having this issue when I try to install the extension ...
1990rk4's user avatar
  • 573
0 votes
1 answer
36 views

Extension is missing delivery option

Recently i had installed a custom product type (custom module),but then it is missing delivery option .Is configuration from the custom module's end? or magento's delivery method end?
Ed Tan's user avatar
  • 173
1 vote
2 answers
307 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/...
Adarsh Shukla's user avatar
1 vote
0 answers
50 views

how to make my custom attribute an attribute of configuration m2

I want to create a configurable product according to my custom attribute but i can't find it when i pass create configurations here is my code public function install(ModuleDataSetupInterface $setup,...
Developper Magento 's user avatar
1 vote
1 answer
2k views

how can I save the value from a select element in custom config field in magento2

I'm trying to add a custom configuration field in system.xml like this where one of the columns will be a select element instead of a simple input element and will load values dynamically from the ...
gabtzi's user avatar
  • 606
4 votes
2 answers
6k views

how to configure Consumer_run for async.operations.all?

I have enabled my custom modules for certain functionality, successfully deployed but magento2 admin portal prompts me "something went wrong" when I click my newly installed module.(the module is not ...
Ed Tan's user avatar
  • 173
1 vote
1 answer
467 views

How to get Multi-select value Magento 1

I have added below code in my config.xml file to add one option in Magento multi select captcha section <default> <customer> <captcha> <always_for> ...
Jaimin's user avatar
  • 2,126
3 votes
0 answers
1k views

how to set default value for multi select field e.g specificcountry?

I've a field in system.xml <field id="specificcountry" translate="label" type="multiselect" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="0"> <label>Ship to ...
hkguile's user avatar
  • 2,161
0 votes
1 answer
263 views

Magento 2 Dynamic cronjob

i'm trying to create dynamic cronjob based on my configuration value. already created group defined in cron_groups.xml and defined cron task <group id="mycompany"> <job instance="Vendor\...
Naberd Zendi's user avatar
0 votes
1 answer
49 views

Observer doesn't work

I tried a few iterations and for whatever reason I can't add cookies or even execute any code from my observer, as it's not giving anything even if my observer has dies in it. I have my module visible ...
MarcinWolny's user avatar
1 vote
2 answers
11k views

Magento 2.3 - Required parameter 'theme_dir' was not passed after applying custom 'Blank' theme

I'm having an issue when applying a custom 'Blank' child theme. I'm running a fresh install of 2.3 on LAMP. I followed the Magento docs with respect to theme.xml and registration.php etc, but after I ...
Jusso's user avatar
  • 21
1 vote
1 answer
813 views

Magento2: How to disable password autofill on store-configuration?

I have 2 fields on my system.xml. The first one is an authentication key (obscured). The second one is an email. The thing is, because I use my email & it's also saved in my browser with a ...
Pini's user avatar
  • 907
5 votes
1 answer
1k views

php bin/magento app:config:dump gives me [Magento\Framework\Exception\ValidatorException] Path "app/etc" cannot be used with "app/etc"

I'm trying to change some settings, and this answer has already been very helpful. But now php bin/magento app:config:dump gives me [Magento\Framework\Exception\ValidatorException] Path "/var/...
the's user avatar
  • 331
1 vote
0 answers
40 views

How admin menu.xml configuration file process in mageno2

How Admin menu.xml config file process in mageno2? which file responsible for processing admin menu.xml configuration file?
Muhammad Hossain's user avatar
3 votes
1 answer
38 views

Is there a standard way to make add a config on theme scope?

To solve a problem in an FOSS extension I need to introduce a configuration settings with the scope "theme". Is there a standard way do to such? I was thinking about extended in the theme.xml but ...
Alex's user avatar
  • 13.7k

1 2
3
4 5
21