Stack Exchange Network

Stack Exchange network consists of 174 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
0answers
9 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 ...
0
votes
0answers
15 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
25 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
1
vote
3answers
167 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
16 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
19 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
9 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
20 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
20 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
90 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
14 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
26 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
10 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
9 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
20 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
26 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
25 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 ...
0
votes
1answer
38 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
15 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
225 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
64 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
30 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
28 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
108 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
41 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
27 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
26 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
23 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
91 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
27 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
66 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 ...
-1
votes
0answers
27 views

Remove State Selection when Order Address is changed in Backend

The following situation appears on Magento with Version 2.2.6 installed and only in backend. I actually don't know, if this is also the case on other Versions since I only have this one available at ...
2
votes
1answer
87 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
14 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
59 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
56 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
63 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
35 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" ...
0
votes
1answer
27 views

Is it possible to append a system configuration to existing configuration section group via a custom module

I've tried to add a configuration item to sales/carriers/fedex in my custom moduel, but seems not work <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
1
vote
1answer
17 views

Magento 2 multistore website codes caching

Changed the website/store codes on a multistore installation to something more meaningful/relevant. These new codes are saved in the database OK. When i try to access websites/stores other than the ...
4
votes
2answers
155 views

How to set default value for configuration field with type time

How can I set a default value for a field from system.xml with type time? <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...
2
votes
1answer
30 views

How to add rental period attribute in Magento 2?

RENTING PERIOD: How to add rental period attribute in Magento 2 ? So i can add price on Hourly and Daily Rental Period. There will be product like daily based renting type which are used for days ...
1
vote
1answer
42 views

klarna merchant_checkbox_text is disable

I am using klarna m2 module in klarna checkout I want to unable merchant checkbox under sales->checkout->klarna checkout option. I am able to make it active but when I tried to change its text ...
2
votes
0answers
59 views

Syntax for overriding config.xml module configuration with config.php in magento2?

I have a module MyCompany_ExampleModule. Its etc/config.xml file: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/...
3
votes
0answers
18 views

M2: Setting delivery methods - exact configuration

How to configure delivery and payment methods. 1) In the first step (1/2) checkout, I can choose the form of delivery: Courier shipment (paid in advance) - delivery cost 4€) Courier shipment (...
0
votes
2answers
40 views

SOLVED: Magento 1.9 ignores config from default scope

The Magento shop of a new customer (I didn't set up the store, I was brought into the project as a developer) was recently infected with the magentocore.net skimming malware. I removed it from the ...
3
votes
0answers
58 views

Magento 2: Extension settings not displayed under configuration

I have installed a Magento 2 extension. It's not showing the fields under configuration settings in Magento 2. Here is System.xml file: <?xml version="1.0"?> <config xmlns:xsi="http://www....
1
vote
2answers
45 views

How to use some function in configurable.js in custom phtml in magento 2

I want to use the _getSimpleProductId function of configurable.js in my custom phtml file. What i want to achieve is get the product id according to the customer select the configurable options. I ...
0
votes
2answers
56 views

MailChimp for Magento

I am following these directions: https://mailchimp.com/help/connect-or-disconnect-mailchimp-for-magento/ The site is running Magento 1.9.3.2, I'm a PHP developer, but haven't used Magento before, it'...