Questions tagged [configuration]

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

Filter by
Sorted by
Tagged with
2 votes
0 answers
316 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 ...
Shivam Kumar's user avatar
1 vote
0 answers
53 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 ...
Orazio D'Arrigo's user avatar
5 votes
1 answer
362 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 ...
Giel Berkers's user avatar
  • 12.1k
2 votes
0 answers
54 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 ...
Maarten Wolfsen's user avatar
4 votes
0 answers
1k 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 ...
Jen's user avatar
  • 41
3 votes
1 answer
628 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-&...
Ynhockey's user avatar
  • 266
3 votes
1 answer
734 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 ...
koseduhemak's user avatar
2 votes
1 answer
67 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 ...
CJNotts's user avatar
  • 392
0 votes
1 answer
1k 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 ...
Dan S's user avatar
  • 1
1 vote
2 answers
2k 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....
bambamboole's user avatar
2 votes
1 answer
1k 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!
silberfuchz's user avatar
0 votes
2 answers
884 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?
imtia's user avatar
  • 67
0 votes
2 answers
2k 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, ...
Mariam Ghalleb's user avatar
0 votes
1 answer
1k 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. ...
Manish Joy's user avatar
  • 1,185
1 vote
1 answer
533 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? ...
CompactCode's user avatar
  • 2,427
1 vote
1 answer
121 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 ...
nosnevetzy's user avatar
3 votes
0 answers
236 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 ...
silverman63's user avatar
1 vote
2 answers
4k 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 ...
Mageician's user avatar
  • 707
0 votes
1 answer
249 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 ...
Fred August's user avatar
0 votes
0 answers
681 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, '&...
Sam Bo Hamdan's user avatar
0 votes
0 answers
38 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 ...
Avesh Naik's user avatar
  • 1,129
0 votes
1 answer
709 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/...
1990rk4's user avatar
  • 573
0 votes
1 answer
49 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--...
Black's user avatar
  • 3,003
3 votes
2 answers
503 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?
Black's user avatar
  • 3,003
1 vote
0 answers
53 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\...
Sunil Patel's user avatar
1 vote
1 answer
1k 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 ( ...
Nathan Casebolt's user avatar
0 votes
1 answer
167 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: <...
Alan A's user avatar
  • 133
0 votes
0 answers
45 views

Magento 1.x - How to create a copy of my shop for testing?

I want to create a copy of my shop so I can develope and test without destroying anything on the live. I already copied the database and renamed it to "magento_dev", but what do I have to change in ...
Black's user avatar
  • 3,003
1 vote
1 answer
593 views

Magento 2.2: moving configs from config.php to env.php after app:config:dump

I've dumped all the Magento configs with php bin/magento app:config:dump. All the configs are in env.php and config.php now. I've committed the config.php to version control. My question is: How can ...
Tjitse's user avatar
  • 1,250
5 votes
2 answers
6k views

How to create a dynamic generated admin fields?

How to create multiple custom configuration for two multiple fields?. And how to get it in frontend?
Ketan Borada's user avatar
  • 2,593
0 votes
1 answer
53 views

Magento 2.1 How to get custom configuration in custom observer?

I am using Magento 2.1 and I am trying to get my custom configuration field's values in my custom observer. I have tried implementing this solution, but it is not working. I am trying using object ...
Wasiq Shahrukh's user avatar
1 vote
2 answers
751 views

Constants in config.xml

Is it possible to use PHP class constants as values in the config.xml file? For example, if we have this config.xml file: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
knospe's user avatar
  • 238
1 vote
3 answers
185 views

Display product types in mutiselect options system configuration in magento 2.2.3

app/code/Vendorname/Modulename/etc/adminhtml/system.xml <field id="display_product_types" translate="label" type="multiselect" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="1"> ...
Ravindrasinh Zala's user avatar
2 votes
3 answers
1k views

Magento 2. Get value from config inside email template

I wish to retrieve value from config.xml inside email template. Is it possible? If so how? This is what I tried without success {{config path='path/to/value'}}
vitoriodachef's user avatar
0 votes
2 answers
426 views

CSS/JS don't load after changing URL

I have two store views, I changed one of them from wesbitetest.com to websitetest.com/fr-ca/ but the front end didn't load the js and CSS files as expected, and the URL becomes websitetest.com/fr-ca/?...
Mariam Ghalleb's user avatar
5 votes
1 answer
2k views

Implement "Use system value" in custom module

In the magento backend under Stores -> Configuration some of the fields have the "Use system value" checkbox next to them and some don't have it. Checking the checkbox "restores" the field to the ...
maginfortis's user avatar
1 vote
1 answer
388 views

Translate Magento Admin config settings to config.php settings

I want to modify a setting, which I know how to find and change in the Magento Admin, - but I want to modify it in the config.php file. Which way can i find out the configuration path / syntax within ...
hey's user avatar
  • 1,127
2 votes
3 answers
8k views

Magento 2. config.xml and how to use it

What is the purpose of config.xml file in M2. How to use it (examples). How does one config file interact with other config files from other modules Is it mandatory to put our nodes under the default ...
vitoriodachef's user avatar
1 vote
1 answer
1k views

Database connection parameters via environmental variables

Currently working on the deployment of a Magento 2.2.x instance and I can't seem to find any documentation regarding the ability to set the database connection parameters as environmental variables. ...
Kenny's user avatar
  • 1,395
1 vote
1 answer
49 views

Magento 2 - How to create admin configuration for a custom theme

I cannot find a tutorial to create admin configuration for a custom theme. I need to create admin customization design and colors
Altravista's user avatar
0 votes
0 answers
15 views

Best product setup in Magento 1

Alright guys, I need some help to make sure this is the best way to do this. We have a client selling furniture. Let's say we have the following example data set: sofa love seat Then we have 3 ...
CD Brian's user avatar
  • 169
3 votes
2 answers
2k views

How to set one domain for each language

I need to redirect my magento to another domain after changing the language. Example: After select English - switch domain to mydomain.co.uk After select Czech Republic - switch domain to mydomain....
Sylvester's user avatar
  • 2,156
3 votes
2 answers
125 views

Not all functions are being called from config.xml

I have few functions which I want to call from my config.xml, like so: <firegento_pdf_invoice_edit_page> <observers> <firegento_pdf> &...
Jack Perry's user avatar
1 vote
1 answer
5k views

Fatal error: Maximum function nesting level of '256' reached, aborting! in app/code/core/Mage/Core/Model/Config.php on line 596

Magento ver. 1.9.2.1 Getting fatal error while setup magento project on localhost. Localhost config: PHP 5.6.33-3+ubuntu16.04.1+deb.sury.org+1 (cli) mysql Ver 14.14 Distrib 5.7.11 apache
Pranav Murari's user avatar
18 votes
1 answer
7k views

Magento 2. Retrieve information from env.php programmatically

I wish to read and use information stored in my env.php. Is there an entity that I can use to achieve this? Any tips are highly appreciated. Thanks.
vitoriodachef's user avatar
1 vote
1 answer
775 views

Store data in a xml file in Magento 1.9

I have a module that has some input fields in admin. One of the input is an ID that will use the same value every time, so I don't want to display that input in admin anymore to avoid changing or ...
Ciprian's user avatar
  • 527
1 vote
0 answers
106 views

Ensure module is loaded after all magento 2 modules

I want to create a module that is loaded first after all the magento modules are loaded. Is there a list somewhere of all them magento 2 module sequence? Or is there any way to set a module to load ...
Spencer Rohan's user avatar
0 votes
1 answer
274 views

Multiple initStatements in local.xml

I have a question regarding the local.xml (config) file in app/etc/. How is it possible to add multiple initStatements? Currently it looks like this: <initStatements><![CDATA[SET NAMES utf8]...
user63467's user avatar
2 votes
0 answers
15 views

How come for a batch of newly imported products the URL structure is different than our normal configuration?

I imported some 34 simple products to our admin store, base site, via MageBees' Import/Export Products extension, as I often do. The problem is that their URLs are rendering as default/catalog/product/...
Linens Digital's user avatar
0 votes
1 answer
697 views

New Mailchimp Extension - Missing Webhook in List [closed]

I've followed Mailchimp's steps to uninstall the old MageMonkey extension and install their new version. In doing so, they say to remove all old webhooks as the new extension does not work with them. ...
Steven J's user avatar
  • 808

1
3 4
5
6 7
21