Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [configuration]

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

0
votes
2answers
45 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 ...
1
vote
1answer
21 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 ...
2
votes
0answers
24 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/...
1
vote
0answers
23 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?
3
votes
1answer
21 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 ...
2
votes
0answers
16 views

How to show only all store views on default store view

How to show all store views on default store view and on other store views only the current store view shows. my code is <?php namespace PME\Hideprice\Model\Config\Source; /** * @api * @since 100....
0
votes
0answers
19 views

server is out of memory

I'm running magento project on c5dxlarge with 8GB RAM. storefront was working fine but suddenly server get out of memory and memory usage became 80 percent. Also I had about 300 running processes even ...
0
votes
1answer
52 views

Varnish cache not clearing from magento admin

M2 Version : 2.2.2 PHP : version : 7.1.26 Varnish version : 6.0.2 Server : Nginx I have configure varnish in my magento website it working well i have checked in frontend and and passed all ...
0
votes
0answers
38 views

Magento 2.3 Can't change Locale Options

I am unable to change Locale options in Stores >> Configuration >> General tab Configurations. After saving the configurations it shows 'You saved the configuration.' but there is no change. Flushed ...
0
votes
2answers
22 views

Magento 2 describe attrubute property used in Plugin method

I am trying to create a simple module and I can't find the propose of the attribute name and type inside the tag type and plugin in di.xml. can anyone describe attribute name used in plugin? <?...
0
votes
0answers
40 views

Magento 2.2.2 error: The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration

I am getting this error when attempting to install Magento locally: The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration. When running "...
1
vote
1answer
17 views

Deploying code via GitHub

Due to the security reasons, we want to deploy the changes in code with GitHub. I can see that we can only change the code via GitHub. Is it possible to change the admin configuration as well via ...
0
votes
0answers
10 views

Any reason Magento2 decided against using one of the standard config file formats?

Any reason Magento2 decided against using one of the standard config file formats? Did the rest of the world get this so wrong? I love how they decided to use plenty of XML in their framework, but ...
1
vote
0answers
19 views

AH01797: client denied by server configuration: <directory_name>/update/cron.php14,19,33,45

I was just changing my magento2 mode from developer to production, And it resulted in blank webpage on the application URL. In my webserver logs I have found: AH01797: client denied by server ...
0
votes
1answer
51 views

Change Default Web URL

I want to change the url of the index page for magento 2 store. I changed the Default Web URL to "custom", but when I go to site.com/custom it gives me a 404 and the index page is still site.com/cms
2
votes
3answers
176 views

What could cause this (config) cache issue after upgrading from 2.1.14 to 2.1.15?

after upgrading a shop from 2.1.14 to 2.1.15 I'm getting the following exception when visiting any page via the browser: 1 exception(s): Exception #0 (Exception): Notice: Undefined index: in /src/...
0
votes
0answers
9 views

interesting m1 problem with config / update toggles

we have a tricky problem that i'd like to throw out to the community. essentially we want to be able to IP restrict traffic using a toggle (so we can test a feature before releasing to the public) ...
1
vote
1answer
18 views

Magento2 : Recommended way to properly filter the logs?

Recommended way to properly filter the logs? It's like a log4j Java app with every logger active, so essentially a flood of useless chatter. Is there any way I can configure or manage what gets ...
0
votes
1answer
26 views

Magento 2. Retrieve information from env.php in the js files programmatically

I'd like to read and use the information stored in my env.php to my js files. Is there an entity that I can use to fix this? Any tips are highly appreciated. Thanks in advance.
0
votes
0answers
10 views

Recommended way to get a list of all valid config fields?

I'm looking to get a structure of all valid config fields, so that I can write something to clean them, how should I do this? I'm also looking to get a structure of all config fields present in an ...
0
votes
1answer
25 views

Magento 2. How to create StoreView in System.xml

How to create Store View in System.xml. I can explain it with image given below
0
votes
0answers
24 views

Unable to apply changes to design configuration header/footer, magento 2.2.7

Running magento 2.2.7 Attempting to change footer copyright as well as add a style sheet under the html head. (under content->configuration) No changes of any sort are being saved when save ...
7
votes
3answers
103 views

What is the use of “mapping” node in di.xml in Magento 2?

I am using Magento 2.2.5 have a look on file vendor\magento\module-sales\etc\di.xml <type name="Magento\Payment\Model\Checks\SpecificationFactory"> <arguments> <...
1
vote
0answers
16 views

Magento 2. How to get every single Product ID

I'm trying to get Category ID and as well Product Id Like I want to get it for to show all 'add to cart' button for specific category if you can help me that how can I hide 'add to cart' button for ...
2
votes
0answers
32 views

Magento 2. how to hide price only for specific categories

Actually I hide the price using Plugin but now I want to hide price only for specific categories like I only want to hide the Price for bags. I want to do this thing by using Admin configuration like ...
0
votes
0answers
14 views

control the visibility of add to cart according to group and their catalog magento 2

I have created two catalogs and two group and each group had his own catalog so when he connects he can just see added to the cart of his catalog and not the other catalog. Is there a sol of creating ...
0
votes
0answers
18 views

Magento2 Functional Testing Framework (MFTF) - URL not redirecting properly

I want to redirect below page - <amOnPage url="admin/system_config/edit/section/adminconf/" stepKey="navigateToIncommCartTimeout"/> But it is redirecting only admin/system_config/edit/...
0
votes
0answers
33 views

What is the purpose of validation.xml file in Magento 2?

What is the purpose of validation.xml file in Magento 2? When and where do we use them ? I see there are couple of validation.xml files in Magento 2 directory. For example: vendor/magento/module-...
2
votes
1answer
36 views

Magento 1: How to add a system configuration setting of custom module under the second module tab in admin?

I have two modules with same vendor name. I want to display the second module system configuration setting under first module tab in admin. Do you guys have any idea? Here are my system.xml files for ...
0
votes
0answers
37 views

Magento2 How to create custom variables to use on config.xml

In the etc/config.xml I can use some variables, like {{base_url}}, but I need to use other urls in this config. How I can create custom variables to use in the etc/config.xml file? Example: In my ...
1
vote
1answer
50 views

Magento 2 Saving store configuration programatically in upgrade script

I want to save store configuration programtically but I'm just getting one problem after another. Firstly I wanted to use Writer class but since it only updates core_config_data table it doesn't work ...
0
votes
0answers
19 views

How to lock configuration settings in Magento2 Admin?

There seem to be three places for configuration / settings: env.php config.php database (via Admin > Stores > Configuration > ...) For some of the settings available in Magento Admin I would prefer ...
0
votes
2answers
725 views

magento 2.3 Design Configuration > Global page keep loading

I'm using magento 2.3 ver, i getting some issue about Design Configuration > Global > page keep loading. but Main Website and Main Website Store is working. i already rm -rf generated/code var/* pub/...
0
votes
0answers
104 views

Remove ?___store &___from_store=default from the code url of magento 2 in multistore

'Add Shop Code to URLs' to Yes in System -> Configuration -> Web -> URL options. But show ?___store &___from_store=default. I used magento 2.25. Thanks for help.
1
vote
1answer
72 views

Magento 2.2.X How to create system.xml in admin panel and show & hide field based on parent (depends)

Step 1 : Create a new module (app/code/) Step 2 : Create system.xml (app/code/vendor/module_name/etc/adminhtml/system.xml) <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/...
0
votes
1answer
62 views

How to integrate couriers service in Magento 2? [closed]

I want to integrate a courier service like Fedex/Bluedart in Magento 2.
0
votes
1answer
172 views

Magento2 Admin Side Custom configuration page with a menu

I created an admin menu in magento2 which is linked to a new admin page. I would like to have my own configuration fields (some text fields) in this new page with a save button.
2
votes
0answers
75 views

Magento2: How can I set to a model in “specificcountry” on config.xml file?

I want to set default values with a model from declared class in system.xml. The result of the model is extracted from the database, from a custom table and the result looks like this: AF,AL,DE,BE,FR ...
0
votes
1answer
38 views

Issues updating Magento 2 Extension Namespace to uppercase

I think there were previous issues with Magento 2 allowing extensions namespaces to be lower case when we initially submitted ours. But now, it seems that Magento 2.2.x enforces uppercase first ...
0
votes
0answers
29 views

Admin changes not reflecting after migrating magento 1.9 to magento 2.2

I have migrated my magento 1 site to magento 2.2.X by using the migration tool after done product and configuration all are migrated but when i change anything in admin like product qty or system ...
0
votes
0answers
40 views

Magento 2: my_variable is not defined in ArraySerialized

I'm trying to make a custom store configuration with ArraySerialized But at first, i try with 2 column and it working fine, i've successfully in created and get data from it, but then, i created 1 ...
0
votes
1answer
103 views

I am not able to reflect the contents added in html head of admin panel in view source code in magento 2

I have added few script tags in the following path of admin panel: content->design->configurations->our theme(edit)-> html head->scripts n style sheets. But it's not reflecting in view page source ...
0
votes
0answers
28 views

Configurable product : sample

I've created an attribute for my configurables products. See this picture (that's the attribute) : I need to set the sample ("échantillons" in french) by default on each configurables of my product....
0
votes
1answer
104 views

Magento 2 How to Change Estimate Shipping Default Country

I have Magento 2.2.5 installed. General > Default Country is set to 'United Kingdom' however on the 'Estimate Shipping' part of the cart page, the default country shown is United States (we don't ...
2
votes
1answer
139 views

Translation of name prefix options

I'm setting up a Multi-store in English, French and German. I'd like to enable Name Prefix as an optional field but Customer Configuration > Name and Address Options is only editable at the website ...
0
votes
0answers
15 views

How to add custom property to a custom shipping method?

I added a custom shipping method. Now I would like to have a custom property to be able to recognize, in the obersver, if the selected shipping method is mine. I want a property not modifiable by ...
0
votes
1answer
187 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
76 views

Change config file from magento 1 to magento 2

Facing this issue: 1 exception(s): Exception #0 (ReflectionException): Class mygateway does not exist Don't know where I find this class in my module Please help. Here's my code: /home1/...
0
votes
2answers
109 views

Magento 2 flat catalog category not available

I would like to enable Flat Catalog Category in our multistore Magento 2 (2.1.9), but I cannot find the option in Store > Configuration > Catalog > Catalog > Storefront What could be the cause of ...
0
votes
2answers
42 views

Get all dropdown and multi select attrinbutes in system configuration

I have to get all the attributes which have type dropdown or multiselect in system configuration. <field id="test" translate="label" type="multiselect" sortOrder="0" showInDefault="1" ...