Questions tagged [configuration]
General settings of all the modules, either core or third party.
1,026
questions
1
vote
2
answers
3k
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
1
answer
2k
views
Magento 2.3 - Intergration varnish cache with, error socket :80: address already use
When I check status Varnish, always receive error :
Error: Could not reopen listen socket :80: Address already in use.
But, run command sudo netstat -nlpt, don't have process using port :80 ???
...
0
votes
1
answer
189
views
Magento 2 - Best practices - Helper vs Model : Which one to get config values?
I cannot seem to find an official information about what is the recommended way to retrieve configuration values in Magento 2.
I am searching for the recommended way to retrieve values from the ...
0
votes
1
answer
59
views
magento 2.4 how to add a price field in system.xml
On my magento 2.4.4 I'm creating a new module with its configuration in system.xml. The file itself works fine, I've created a yes/no field to enable/disable my feature plus an input text to add some ...
5
votes
1
answer
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
1
answer
60
views
magento 2.4 system.xml validate decimal number
I have an input type text field in my system.xml . I'd like this field to be validated in a way that the user can put numbers (0 to 9) and dots but not commas nor any other symbol.
In magento, I have ...
90
votes
31
answers
129k
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?
0
votes
1
answer
234
views
How to delete website and stores in magneto2.4.6
Post upgradation of magento 2.4.6 delete option is not available to delete the website and stores in magento admin.
Does anyone know how to delete website and stores through admin in magento2.4.6?
5
votes
2
answers
6k
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 ...
0
votes
1
answer
52
views
Magento 2 system configuration searchable dropdown how can i impliment
<field id="dropdown_example" translate="label" type="select" sortOrder="80"
showInDefault="1" showInWebsite="1" showInStore="1&...
0
votes
2
answers
2k
views
Magento 2.2.2 error: The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration
I am getting this error when attempting to install Magento locally:
The configuration file has changed. Run app:config:import or
setup:upgrade command to synchronize configuration.
When running "...
3
votes
2
answers
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 ...
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 (
...
0
votes
1
answer
48
views
Using Env.php to Override Module Status in Config.php
What I am trying to achieve is overriding specific modules declared as enabled in the app/etc/config.php to be disabled by the app/etc/env.php file.
A use case of that would be the 2FA module which I ...
0
votes
1
answer
1k
views
Database connectivity issue in Magento 2.1
I am trying to connect to Magento database of another system with the following configuration in app/etc/env.php
array (
'host' => '192.168.1.172',
'dbname' => 'datacenter',
'...
0
votes
1
answer
2k
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 ...
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
1
vote
2
answers
541
views
List of All Magento 2 Configuration Files
Magento 2 uses XML-based configuration files A LOT. When studying Magento or preparing for an exam, it is useful to have a list of all config files used in Magento 2. How can such a list be generated? ...
4
votes
2
answers
7k
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
1
answer
2k
views
Magento 2 - Page title prefix and suffix not rendering
I am using Magento version 2.1.4
I added page title prefix and suffix (both just for test) in Admin Panel -> Content -> Configuration -> HTML Head input fields but none of them are actually renderen ...
0
votes
0
answers
53
views
Unable to run Magento site on nginx
Using Debian 11, I installed PHP 8.1, PHP-FPM 8.1, Mysql 8, NGINX, Elasticsearch, Magento2 via composer.
Now I am able to see the localhost welcome Nginx page and I cant navigate to Magento site.
I ...
0
votes
0
answers
20
views
Checkbox "Use Website" doesn't work after adding new website
I am learning "Set up multiple views in the Admin"
I added a new website+store+view
then opened store > system > configuration > general > web and tried to change store url. But ...
0
votes
1
answer
1k
views
Magento2.3: Cannot add a product to wish-list even after logged in
I'm facing an issue in adding the product to wish-list. I have logged-in the site but still can't add the product to wish-list.
When checking the admin configuration, I see the wish-list is enabled ...
1
vote
2
answers
2k
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
0
answers
25
views
PWA env MAGENTO_BACKEND_URL change to local virtual host problem
Passed a lot of solutions but didn't get the success
The task if the replace the default local virtual host pwa02.wsl wher M2 installed
M2 vesion: 2.4.5 (working well)
Venia varsion: 13.2.0
Istalled ...
2
votes
2
answers
2k
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:...
3
votes
1
answer
2k
views
Assign a separate theme to product pages and categories
I have magento 2 and a requirement to show a certain category, subcategories and product pages in those categories using a different layout then other product pages on my store.
So just to be clear:
...
0
votes
1
answer
72
views
ACSD-51892: Performance issue where config files load multiple times
https://experienceleague.adobe.com/docs/commerce-knowledge-base/kb/support-tools/patches/v1-1-33/acsd-51892-performance-issue-where-config-files-load-multiple-times.html?lang=en
I tried to reproduce ...
0
votes
1
answer
1k
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 \
[email protected] \
--...
1
vote
1
answer
132
views
How to enable page builder in Magento 2.4.5?
I am trying to enable Page Builder of admin section in Magento 2.4.5.
For this, I am trying to it as follow.
======backend=======
Store/Configuration/General/Content Management
By the way , there is ...
0
votes
1
answer
160
views
Configuration missing in magento2.3.5p2 admin panel
I recently downgraded magento commerce from 2.4 to 2.3.5p2 due to having some known issue, but after the change my
Stores > Settings > Configuration
appear only below config
it should not ...
29
votes
6
answers
27k
views
Magento 2: Programmatically Add a Value to `core_config_data`
Does Magento 2 have a high level abstraction that allows end-user-programmers to update configuration values in the core_config_data table? Or is using straight SQL the only way to do this in Magento ...
5
votes
4
answers
10k
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
1
answer
460
views
What is the correct configuration using opensearch and magento
I have a basic setup of Magento & Open search.
I have been following the guide here https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/overview.html?lang=en
In the ...
0
votes
0
answers
40
views
Various backend settings don't update on save
Under Stores -> Settings -> Configuration -> Sales -> Sales -> Minimum order amount I set Enable to Yes and Minimum Amount to 3000.
When I click Save Config the page refreshes, the ...
21
votes
2
answers
7k
views
How can I set per-website defaults in config.xml?
With custom modules I prefer to put system config settings in config.xml (the default settings part). This makes it easier when I push code from my local machine to a dev/staging/live environment as I ...
0
votes
1
answer
123
views
Is there any way to get system configuration value as true false in layout file(which is exists inside ui_component) array item in magento2?
I just wantend to get system configuration value inside the layout file which is exists in ui_component folder, in below code I just wantend to get system configuration value as true/false in the ...
0
votes
1
answer
44
views
Is there any way to get system configuration value in layout file which is exists inside ui_component
I just wanted to get system configuration value inside layout file which is exists inside ui_component, is there any way ?
0
votes
0
answers
44
views
How to save a configuration value programatically in Magento 2.4
I have been researching this for a few hours and all the sample code I found was not working on 2.4.x Can anyone share a snippet which I can run from the magento root and changes a certain ...
0
votes
0
answers
14
views
How to use differnt config location while running app:config:import command?
I would like to import Magento configurations other than app/etc/ path while running app:config:import.
for e.g my configs are located at var/config/{config,env}.php.
0
votes
1
answer
32
views
Cannot save customer configuration after making changes instead throws warning
I have only one website and while trying to change customer configuration in system>configuration>customers>customer configuration i get the error "Cannot share customer accounts ...
0
votes
1
answer
1k
views
Submenus NOT working in Magento 2 Admin>Configuration Panels
Does anyone know how to fix a brand new fresh install of Magento 2.1 when instantly upon installing NONE of the panels are expanding in Admin System Configuration??
Kinda hard to set up a store when a ...
0
votes
0
answers
26
views
Second website Tax Configuration not working (Including tax, Excluding tax)
In my Magento 2(2.4.5) Store, There are Two Websites, "Main website" and "B2B Website", and I want to Show Price Including Tax in "Main Website" and In "B2B Website&...
1
vote
2
answers
677
views
Stripe Warning Webhook
Can anyone know about this warning :
how can I remove this warning?
I have already execute webhook:configure command and add webhook at stripe manually also
and this is multiwebsite
please help me ...
0
votes
0
answers
16
views
Magento CE 2.3.2 - Can't use Stores > Configuration page. Can't click on anything
Very simply, I can load up the Stores > Configuration page, but I can't click on ANYTHING. Not the tabs on the configuration page, nor the tabs in Magento - Dashboard / Sales / Catalog, etc.
I have ...
0
votes
1
answer
267
views
Add Page Builder Editor In Magento 2.4.5 Configuration Section
I want to add Add Page Builder Editor In Magento 2.4.5 Configuration Section.
Any insight would be helpful.
Thank you :)
0
votes
0
answers
104
views
Nginx configuration test failed
When i tries to run sudo nginx -t this error was acquired
nginx: [emerg] open() "/var/www/html/myshop/nginx.conf.sample" failed (2: No such file or directory) in /etc/nginx/sites-enabled/...
18
votes
6
answers
17k
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
1
answer
359
views
Magento 2.4.3: set product image URL from image server
I have a magento 2 website, configuration is as below:
- ngnix
- php7.4
- mariadb 10.4
- elasticsearch 7.10
- varnish 7.0
- rabbitmq 3.9
OBJECTIVE - I am looking to use products images from my other ...
0
votes
0
answers
34
views
What is the list of EU countries used for?
In the Admin Panel under Stores > (Settings) Configuration > (General) General > Country Options within the global scope, admins can configure the list of member countries of the European ...