Questions tagged [configuration]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
155 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
58 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
1answer
259 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
112 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 ...
2
votes
1answer
1k 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 ...
4
votes
2answers
1k 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 ...
2
votes
1answer
2k 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
159 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
443 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
3answers
704 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
2answers
517 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
31 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
1k 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
129 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
241 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
426 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
25 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
148 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
97 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
366 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
110 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'...
1
vote
2answers
477 views

How to get config field value for all available store views as an array?

I have one configuration field with scope as store view in my module. System config path: vendor/module/title I have multiple websites with multiple store views and I want to get values of my field ...
0
votes
1answer
167 views

Magento2 what is use of canRestore property in system.xml? [duplicate]

Can anyone let me know what is exact use of canRestore property defined in system.xml field in Magento2?
2
votes
0answers
276 views

Magento 2 Design Configuration edit action not shows

I'm new in Magento so I follow YouTube tutorials to change design but Edit action not shows on Configuration Page. I just open Content / Design / Configuration Action are empty, I'm unable to find ...
1
vote
0answers
51 views

Magento 1.9 Admin Module Error Path menu

Error: ERR (admin): /index.php/admin/system_config/edit/section/mycompany_mymodule/key/ when I'm on the admin panel and I click on mycompany -> mymodule menu, appears page with error 404 and inside ...
3
votes
1answer
200 views

Is there a way to temporary change a configuration value during runtime? (no saving)

I want to change a variable during runtime in Magento 2. Is this possible? If I look at how scope configuration works it only exists of getters, but I cannot find a way to manipulate this during ...
2
votes
0answers
45 views

Get all configuration fields in group

I have made 2 example groups, which look like this: first_group first_field_1 first_field_2 first_field_3 second_group second_field_1 second_field_2 How can I dynamically get the ...
4
votes
0answers
891 views

Create system config section with dynamic number of fields

I have looked around and this is my last resort. I'm new to magento 2. I created a plugin in magento 1 (using this link as a good guide) and i would like to replicate same in magento 2 however things ...
3
votes
1answer
331 views

Get entire config group with scopeConfig

Currently when I want to get an entire admin page worth of module configuration, i.e. a <section> or <group>, I just end up doing something like: $emailOnSuccess = $this->scopeConfig-&...
3
votes
1answer
413 views

Magento + Redis: same config for two different instances - safe?

Can I use the exact same config for redis for two different magento instances or do they access / write to the same cache? F.e. I have a "production" and "staging" instance of magento which have their ...
2
votes
1answer
49 views

Creating bundles with Multiple instances of the same product in them

I'm a bit on the new side to Magento (currently using version 1.9) and I'd like to offer various bundles of the products I'm offering as options on the product page. Essentially the pricing is as ...
0
votes
1answer
859 views

Magento 2 Admin Config - Add dynamic Image field programmatically - Setoptions

I am trying to add a dynamic image field to my admin configuration tab, so far I have the field appearing but I can't save and or preview an uploaded image. I can get this working fine with the ...
1
vote
2answers
1k views

Production Mode app:config:import issue

after a new deployment I get the following error: {"0":"The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration.","1":"#0 \/var\/www\/dev.xxx....
2
votes
1answer
750 views

Magento 2 | get value from system.xml

I have created a menu in the configuration menu. system.xml: I have an observer and I want to get the values of those two fields. How can I do that? Thanks for any help!
0
votes
2answers
619 views

Magento 1.9 : 404 Error Page not found for configruation [closed]

I created system xml and configuration tab but it shows 404 error. Any hint?
0
votes
2answers
1k views

Magento 2: values of multiselect attribute don't ever change!

i have a multiselect product attribute, that when ever i change its settings and save, i get but the settings don't get changed. Here's the attribute's database values: I'm on magento 2.2.4, ...
0
votes
1answer
564 views

Magento 2 Store Configuration Fields not Showing updated Data

I am having an issue. When I update/save data in Store configuration, then it get's updated in the database, but on admin panel, it's not getting changed. It's urgent so please help me with this. ...
1
vote
1answer
311 views

system settings withing Ui Component Form

I want to show a certain text (that is set with a configuration setting from system.xml) within my UI component Form. The UI component is used in the frontend. Do i provide it with a DataProvider? ...
1
vote
1answer
66 views

Custom Magento module config.xml not loading after applying security patch

I've just applied the security patches on Magento 1.9 and after that, my custom modules didn't work. I tried clearing the cache and index but nothing happened. When I tried visiting the URL of my ...
3
votes
0answers
182 views

M2 - Difference between ScopeInterface SCOPE_STORE and SCOPE_STORES

I understand that there are websites, stores within websites, and store views within a store. However, one thing I've never understood is the difference between ScopeInterface::SCOPE_STORE and ...
0
votes
2answers
3k views

Magento 2 Locked Config Values

I'm having a problem with config values being locked in the Magento 2 admin. I've seen that this can happen when you dump the config, but I didn't do that. When, You dump it's supposed to update ...
0
votes
1answer
184 views

How to prevent LastPass to autofill Magento's admin configuration while edit?

The problem happens when you modify something in admin configuration in Magento 2 admin panel. The LastPass will autofill obscured fields and you will lose your data in these fields. How to prevent ...
0
votes
0answers
344 views

DOM can't read right the opening Tag of a XML file

I work with Magento ver. 2.1.7 and when I open the admin panel, I get this message after only trying to navigate to (Stores -> Configuration) Warning: DOMDocument::loadXML(): Start tag expected, '&...
0
votes
0answers
23 views

Magento 2: Showing grid in configuration page

How can I show the grid view of a table inMagento 2 configuration page? I have a table of certain data and I need it to show it on the configuration page. Is there a way to do so? I want the gird ...
0
votes
1answer
635 views

How to get rid of this URLs for product page?

Currently, I am working on site, where I am facing following issue related URLs. when I open a product page, In the browser, following URL gets displayed: https://zitomer-upgrade.aastaging.us/...
0
votes
1answer
47 views

Can't add custom configuration options for module in backend - 404 page not found

I was following different tutorials from the internet and from books, but none of them works. Let's follow this tutorial (https://code.tutsplus.com/tutorials/custom-back-end-configuration-in-magento--...
3
votes
2answers
331 views

How to show merged config.xml?

In magento all config.xml files from all modules are merged to a single file at the end. Is it possible to show the content of that file for debugging purposes?
1
vote
0answers
39 views

magento2.2.4 error while extracting winRAR file

! C:\Users\dell\Downloads\Magento-CE-2.2.4_sample_data-2018-05-01-09-51-36.tar.gz: Cannot create vendor\magento\magento2-base\dev\tests\integration\testsuite\Magento\Framework\View_files\...
1
vote
1answer
770 views

System-specific env.php values are included in database config snapshot

I have an instance of Magento 2.2.3 on my development server, and my env.php file includes the following: 'system' => array ( 'default' => ... 'web' => array ( ...
0
votes
1answer
104 views

Magento Config XML Path

In my custom module I have added a tab to the admin configuration section to manage service providers for an external service. I have creted the following group in my system.xml of my module: <...

1 2 3
4
5
20