Questions tagged [configuration]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
16 views

tax configuration blank after migration (and upgrade) 2.3.2 -> 2.3.3

We migrated from magento-1.9.2.4 to magento-2.3.2 without problems so far. After upgrading to magento-2.3.3 (using composer) the tax configuration (Sotres -> Configuration -> Sales -> Tax) page only ...
3
votes
1answer
29 views

What is use of direct_document_copy in data migration config.xml

I have recently migrate M1 DB to M2 DB there is option in config.xml called direct_document_copy <!-- Set direct_document_copy = 1 for better performance. NOTE: 'source' and 'destination'...
61
votes
17answers
62k views

Required parameter 'theme_dir' was not passed

What is the error message: Required parameter 'theme_dir' was not passed Is it related to in Magento 2? And how can this problem be fixed?
2
votes
1answer
988 views

Magento2: In the admin under Stores Configuration, how can I make changes to an existing field made in the vendor?

So in the Magento2 admin, under Stores > Configuration > Sales > Checkout > Shopping Cart, I would like the "After Adding a Product Redirect to Shopping Cart" dropdown with the Yes/No option to either:...
1
vote
1answer
40 views

Why I can't change any configuration in admin panel?

I have all access to the admin panel by my user, I tried to use production and developer mode, I keep seeing the options locked as the image below. I can't click into the Use Default option, it's ...
17
votes
6answers
10k views

How to get store phone number in magento 2

I want to display phone number saved in magento admin in frontend in magento 2. Like in magento 1.9 its like $storePhone = Mage::getStoreConfig('general/store_information/phone');
0
votes
3answers
223 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" ...
3
votes
5answers
2k views

Magento 2 module version number not editable

I have just started exploring Magento 2 structure and code-flow, also module development. When I created module from an online module generator and tried to change it's "setup_version" & "...
0
votes
1answer
149 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
1answer
782 views

calculate total price of product for different attribute

I am new to magento and trying to calculate total price of any configurable product in magento 2,and I am struggling with it. Suppose I have two dropdown attribute as following, 1. Paper size ...
0
votes
2answers
419 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....
3
votes
0answers
377 views

Magento 2 make purchase order number optional

In Magento2 - Is there a way to make the purchase order number in the checkout optional? Currently it's a required field in 2.1.7 and I can't find a configuration setting to change it. I'm aware that ...
7
votes
3answers
3k views

Magento 2: How to setup separate theme for desktop and mobile?

I want to load device wise (like mobile and tablet) theme in Magento 2. How can I do that? I have tried below code in User Agent Rules but not working for me: iPhone|iPod|BlackBerry|Palm|Googlebot-...
2
votes
1answer
235 views

Exception #0 (UnexpectedValueException): Setup version for module 'MagePal_GmailSmtpApp' is not specified

the website was working fine until i changed an email setting from the admin panel, all of a sudden the website only shows this error 1 exception(s): Exception #0 (UnexpectedValueException): Setup ...
3
votes
3answers
3k views

How to configure Magento 2 Theme/Design via the Command-Line?

I'm doing some server configuration related tasks and was looking for a way to configure the theme of a store/website via the command-line. I'm setting up a store with a custom theme (e.g. "Vendor/...
0
votes
1answer
11 views

How to get configuration value from default

I want to get a config value from core_config but the default level I know we can get it by using scope config but I want default
5
votes
1answer
3k views

Display Out of Stock Configuration not working in magento1.9

I have a configurable product with 3 simple products associated to it that were added via REST. I have set the "Display Out of Stock Products" option in System->Configuration->Inventory to "Yes" ...
0
votes
0answers
17 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 ...
2
votes
1answer
26 views

Validation Failed when running bin/magento app:config:import

I have added the following data to my app/etc/config.php file: 'scopes' => [ 'websites' => [ 'admin' => [ 'website_id' => '0', 'code' => 'admin', ...
0
votes
0answers
40 views

Errror: Invalid API key or password - Eway Payment gateway - Magento

I have integrated the eWAY Payment Gateway in the default Luma theme for Magento 2. When I try to place an order, it shows an error like Invalid API key or password. I am sure the API details are ...
0
votes
1answer
1k views

SSL Magento 1.9 but receiving Your web server is configured incorrectly

I successfully implemented SSL on our website and went the LetsEncrypt to get my CA. All is set properly and in working order except one weird issue I am encountering post enabling. Your web server ...
0
votes
1answer
932 views

How to get product attribute color text from quote item?

I want track quote items color and brand in our checkout process. Regarding this answer I should do this in config.xml: <global> <sales> <quote> <item> ...
0
votes
1answer
806 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
3
votes
2answers
1k views

Is it possible to override the Session Cookie Lifetime found in the sys. config.?

Is it possible to override the Session Cookie Lifetime found in the system configuration? The reason I ask is because it appears that Magento is not honoring the value I set for Cookie Lifetime no ...
7
votes
2answers
6k views

Check if EE version or CE by code

Is there a clean way to make a difference code wise between EE and CE? The problem. I'm updating an extension so it will work nicely on ce-1.9. The extension is not for EE, but it seams to work on ...
0
votes
0answers
11 views

Magento 2.X: Showing wrong order address country in sales order view

We are using Magento version 2.1.8. We have set UAE as the default country and allowed countries as UAE and SA. On placing an order using SA address, the sales order view shows UAE as the country. ...
2
votes
1answer
37 views

how magento 2 generats and archives log files in file system in server?

I have been searching in internet for this question "how Magento 2 generate log files and make archive files when the day passes is there an cron or configuration in admin area so I can change it for ...
0
votes
2answers
76 views

I Need Help In Issue In My Theme Configuration: Magento 2

I think there is must be in-store and storeview the name of my store and store view ?? it was working but now when I go to edit anything in this design configuration it does not apply on my website .. ...
5
votes
2answers
4k views

“403 Forbidden” error page when trying to open Magento 2 setup page

I'm trying to install Magento 2 on a Godaddy Ubuntu virtual machine. After following what is in the installation manual (hopefully), and when I reached to the step of opening the setup page of the ...
1
vote
1answer
846 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/...
1
vote
1answer
620 views

Unable to connect via TLS

I can't figure out what's happening here. Can anyone please explain a solution to me in simple terms? exception 'Zend_Mail_Protocol_Exception' with message 'Unable to connect via TLS' in /home/...
0
votes
1answer
19 views

Magento 2: How to create gird in configuration

I am trying to create a new configuration for checking postcodes. Is it possible to add so many postcodes rather than creating one text field So I can pick which ever postcode by using type="select"
0
votes
1answer
4k views

Create dropdown/select box in magento system.xml for payment/shipping configuration

How to create dropdown/select box in magento system.xml for payment/shipping configuration
3
votes
2answers
10k views

How can I add a field in admin panel > system > configuration > General Tab?

How can I add a field in admin panel > system > configuration > General Tab ? Please specify Path for file in Magento 1.9 I am using code below but no success: <sections> <custom ...
2
votes
1answer
1k views

how to configure Consumer_run for async.operations.all?

I have enabled my custom modules for certain functionality, successfully deployed but magento2 admin portal prompts me "something went wrong" when I click my newly installed module.(the module is not ...
1
vote
0answers
33 views

Config value in html template Magento 2

<type name="Magento\Checkout\Model\CompositeConfigProvider"> <arguments> <argument name="configProviders" xsi:type="array"> <item name="...
0
votes
0answers
8 views

magento 2 Change configuration value dynamically on certain condition

I required to change configuration values dynamically On certain condition. Consider i need to change value of "Display Out of Stock Products" dynamically on certain condition. I do not want to ...
4
votes
3answers
967 views

How to override crontab.xml?

I need to override a crontab.xml from: vendor/magento/module-integration/etc/crontab.xml <job name="expired_tokens_cleanup" instance="Magento\Integration\Cron\CleanExpiredTokens" method="...
1
vote
1answer
29 views

Magento 2: Get value from Cron system.xml

I would like to take the value of the ahead schedule of this system.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...
0
votes
1answer
2k views

Widget's field dependencies generate warning and do not work

Problem: Using the following widgets.xml, I get the following error in system.log: ERR (3): Warning: array_values() expects parameter 1 to be array, string given in app/code/core/Mage/Widget/Block/...
24
votes
2answers
24k views

product attribute to quote item and order item

What is the correct way in Magento to have a product attribute be automatically persisted to quote an item and then finally to order item? Is it as simple as a little config XML or is it a manual ...
4
votes
1answer
107 views

What is the best approach to extend SystemConfiguration.yml in TAF

Note: I originally asked this as an Issue in Github but then realized it makes more sense to ask in here We are setting up a box for continuous integration testing for our multiple Magento solutions. ...
17
votes
1answer
8k views

config.xml vs local.xml

What is the difference between app/etc/config.xml and app/etc/local.xml? I feel like some configurations are duplicated. I always have to deal w/ local.xml, so what is the purpose of having all that ...
1
vote
1answer
821 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' =&...
1
vote
1answer
887 views

Setting website config to blank, Magento uses default

Magento doesn't seem to like me setting blank config values at website or store level. Steps to reproduce (1.6.2.0, 1.7.0.1, 1.7.0.2) 1) change config scope to website 2) untick use default next to '...
3
votes
2answers
6k views

Conditionally add CSS file in layout XML (local.xml)

I need to add a CSS file in local.xml based on some custom variables. I have 5 CSS files but each time only one needs to be loaded. I only know how to check if a single variable is set in the config. ...
2
votes
1answer
1k views

M2E Pro doesn't include Magento Tax rules in eBay item prices

I'm having trouble with M2E Pro and the way that it lists items on eBay without applying the Magento Tax rules setup for those products. Here's a link to the M2E Pro documentation for general ...
10
votes
1answer
329 views

Role Landing Pages

We have a number of different users using the Magento back end for different uses. For example, we have people who essentially just ship packages, and all we really want them to see is the shipment ...
7
votes
5answers
3k views

Exclude custommodule Js from minification of Js in Magento2

I am trying to minify JS in Magento 2. There is an option in the Backend: Stores -> Configuration -> Advanced -> Developer to minify js. I did that and JS got minified but it also includes my custom ...
0
votes
1answer
672 views

magento install “Too many arguments, expected arguments”

I get "Too many arguments, expected arguments" when I use the template php magento/bin setup:install \ --admin-firstname=John \ --admin-lastname=Smith \ --admin-email=jsmith@mail.com \ --...