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

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

2
votes
0answers
36 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
25 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
36 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'...
0
votes
2answers
31 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
14 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?
1
vote
0answers
53 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 ...
0
votes
0answers
14 views

Magento 1 admin system => configuration 404

Hi I downloaded a multistore site that work perfectly on prod, but on local the system=> configuration gives me a 404. Let me know which information do you need so you can help me. Thanks
1
vote
0answers
19 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 ...
2
votes
1answer
22 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 ...
0
votes
0answers
12 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 ...
2
votes
0answers
17 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 ...
1
vote
1answer
16 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-&...
2
votes
1answer
16 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 ...
0
votes
0answers
17 views

Config returns as plain text, not as xml

I am following this little magento 1 tutorial in which you create a class which shows configs of your entire application. It works fine, showing me all the configs, but i expected to see a nice xml ...
1
vote
1answer
15 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
138 views

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

Good afternoon, I'm a little new to this Magento 2 game so any advice will be happily received. I am trying to add a dynamic image field to my admin configuration tab, so far I have the field ...
0
votes
1answer
44 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
21 views

Magento 2 | get value from system.xml

I have created a menu in the configuration menu. system.xml: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
0
votes
0answers
28 views

Magento 2.2.5: change configuration in magento 2 and block die

I'm learning how to create custom theme in magento 2.2.5 So when i come in Content/Configuration and change theme to my theme (named Custome Theme). You can see it in the below image Then, it make my ...
0
votes
1answer
13 views

Magento 1.14.2.1 : Re-arrange attribute order for Super product attributes configuration

Magento version 1.14.2.1 Looking for some help for something I'm not entirely sure is possible. Basically I'm looking to re-order attributes in the Super product attributes configuration section en ...
0
votes
2answers
38 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
0answers
45 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
27 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. ...
0
votes
0answers
15 views

PHP Error - function

I am getting in the php log: 2018-07-11T15:26:14+00:00 ERR (3): Notice: Undefined index: scheme in /FILENAME/Helper/Data.php on line 715 The line it is referring to is: if($parse_url['scheme']=="...
1
vote
1answer
25 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
32 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 ...
0
votes
0answers
24 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
1answer
91 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
23 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
34 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
17 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
78 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
16 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
45 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
23 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
126 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
31 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: <...
0
votes
0answers
16 views

Paypal Configuration issue

An issue in PayPal configuration. In Magento version 1.9.2.1, Interested country(Qatar) does not li in drop down list of Merchant Country.
0
votes
0answers
22 views

magento 2 store view scope design configuration disabled

I am not sure how, but I am no longer able to edit my design configuration section when in "store view" scope. All fields that have a "use default value" button are disabled. In the console, I see ...
0
votes
0answers
31 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 ...
0
votes
0answers
22 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 ...
2
votes
2answers
459 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?
0
votes
0answers
18 views

How to set configuration value in .htaccess in M2? SetEnv only changes $_SERVER, not $_ENV

As per Magento documentation, we can set config values using system variables. i.e.: CONFIG__DEFAULT__TRANS_EMAIL__IDENT_GENERAL__NAME to set the value for trans_email/ident_general/name config ...
0
votes
1answer
33 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 ...
0
votes
1answer
35 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/...
0
votes
0answers
16 views

If config magento core configuration

I found this code in magento 2 theme if($config['theme'] == \vendorname\moduelname\Model\Config\Source\ListTheme::HORIZONTAL){ $theme = 'horizontal'; I want write code like this but with ...
0
votes
0answers
14 views

Magento 2 custom module system configuration translation

I have developed custom module. I have create i18n folder and nl_NL.csv file in it. Also, did put words to translate from english to netherland. Ex: Show in cart, shiw en carte Now issue is it's ...
0
votes
2answers
14 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"> ...
0
votes
2answers
51 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'}}
0
votes
2answers
75 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/?...