Questions tagged [configuration]
General settings of all the modules, either core or third party.
1,026
questions
0
votes
1
answer
61
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 ...
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 ...
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
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
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
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
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 ...
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 ...
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
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 ...
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
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
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
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
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&...
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?
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
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/...
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
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 ...
0
votes
1
answer
238
views
set up one storeview for multiple domains
Is there a way to create a Magento 2.4 instance, that has one website => one storeview
and this one storeview is divided depending en each functionality to multiple domains for exemple:
myacountabc....
0
votes
1
answer
171
views
Varnish enabled or not?
Hi dears I installed varnish cache on centos 7 , nginx 1.20.1 and magento 2.4.5 -p1.
After that I don't seeing any header about varnish on my browser.
Another thing when I clear cache I have log in ...
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
40
views
Radio buttons in configuration are not horizontal
I am working on the magento configuration and I am using the radio buttons and it is working well. The issue is that I cannot add them inline but only vertical. Is there a solution for it ?
<...
3
votes
1
answer
844
views
Configure opensearch with magento 2.4
I have just installed fresh Magento 2.4.4, and now I need to configure OpenSearch in it. I am using Elasticsearch previously, but I need to switch to OpenSearch, but unable to find any blogs, answers, ...
0
votes
1
answer
834
views
Pagebuilder WYSIWYG/Textarea showing full master.html template after saving page
I have created a custom pagebuilder component with a WYSIWYG editor (also tried with Textarea), but after saving the page in admin, the WYSIWYG is showing the full html output from master.html
I would ...
1
vote
2
answers
97
views
How can I get the a selected option of Admin->configuration->Sales->Deliver Methods->flatrate-> field id? I need to inject this into a class
I will be injecting this into a ViewModel or Plugin.
I have a custom configurable field in the Admin->configuration->Sales->Deliver Methods->flatrate and I need to check the value of it to ...
1
vote
0
answers
189
views
Magento 2.4 cant delete old indices from elastic search AWS server
I am having a problem in elasticsearch it doesnt delete old indices when reindexing I am getting this message in var/log/exception.log
[2022-08-10 08:05:36] main.CRITICAL: {"error":{"...
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 ...
0
votes
1
answer
125
views
How to add slider/range in store configuration?
any reference for adding this type of slider in configuration?
0
votes
1
answer
879
views
Nginx: All Pages Return 404 Not Found except Home Page
I'm using Magento 2.4.4, I've set up the existing project, but all page goes to 404 except the homepage. I'm using Nginx for the first time so still figuring out how to configure it.
/etc/nginx/sites-...
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? ...
1
vote
1
answer
3k
views
How to use custom env.php and config.php with values loaded from .env file or environment variables?
I am new to Magento and I have noticed that everytime I run:
bin/magento setup:install --base-url=http://localhost:8090
--backend-frontname=admin
--db-host=magento_mysql
--db-name=webshop
--db-user=...
0
votes
2
answers
628
views
Saving Magento configuration doesn't change the actual value
In Stores -> Configuration -> General -> Contact.
I am changing the email template and clicking the Save button, The page gets reloaded and says You saved the configuration but the email ...
0
votes
1
answer
81
views
create custom module, get existing module configuration
I would like to create a custom module, I want to get used to the vendor/magento/module-ups/ module, and use the same config in my custom module, such as userID, password, access key.
how can I ...
1
vote
1
answer
1k
views
Magento 2 : how to create dynamic filed in admin system configuration?
I want a multi-select drop down in system configuration with dynamic field.
So How to create ?
Please check this image.
0
votes
3
answers
237
views
Few configurations are not able to edit. - Magento Enterprise Edition 2.4.X
Red mark configurations are disable, not able to edit.
What should i check?
Thanks in advanced.
0
votes
1
answer
172
views
Magento 2 Cron : How to add yes/no Configuration in Backend Stores -> Config -> Advanced -> System under Cron group?
I have created a custom cron and I want to add yes/no config field under Stores -> Config -> Advanced
-> System -> Cron group
I'm copying the /vendor/magento/module-cron/etc/adminhtml/...
1
vote
0
answers
336
views
How to make a dynamic row column another dynamic row in stores -> configuration
i am trying to make dynamic row field type another dynamic row, it is possible in form, i already have a example, but in ui_component form like this
in form it is made by xml, but in stores ...
0
votes
2
answers
717
views
Disable the Config field after entering data
I am trying to disable the text field in the configuration field once admin has entered the data. I know it can be done via <frontend_model> but in that case the field gets disabled as soon as ...
1
vote
1
answer
229
views
Nginx 502 - [error] 11679#0: *1 upstream sent too big header while reading response header from upstream, client: 127.0.0.1
I'm doing a local installation of an existing project and facing some issues to make it work.
I keep getting **502 Bad Gateway - nginx **, when I check the error log, I see that the domain is being ...
0
votes
3
answers
278
views
setup:upgrade try to remove my theme!
Like in the title, every time when I use setup: upgrade i asked to remove themes:
Processing configurations data from configuration file...
The following themes will be registered: adminhtml/Magento/...
2
votes
2
answers
1k
views
Elasticsearch Regular Search Returns No Results
I've recently upgraded my Magento to 2.4 which necessitates the use of Elasticsearch.
Using the search function always shows the message "Your search returned no results". However using &...
0
votes
1
answer
154
views
Move arguments in a layout xml
Is it possible to move an argument defined in a layout?
For example I want to move the authentication jsComponent in Magento_Checkout/view/frontend/layout/checkout_index_index.xml to be a child of my ...
0
votes
1
answer
24
views
How can I reach the location in the file where I can find the code of store->configuration of the admin panel?
Need to access the location of this in the code. I need to change the code of options and need to clear the quotation mark which is rendering in html format.
0
votes
1
answer
114
views
How to verify an encrypted module admin configuration from my database?
When a module configuration is saved in an encrypted mode I just see dots in the admin panel, as the image below shows.
When I check in the database via Magerun the result is that below.
n98-magerun2 ...