Questions tagged [configuration]
General settings of all the modules, either core or third party.
999
questions
0
votes
0
answers
10
views
Magento2 Store Configuration URL not working
I recently started noticing that Magento 2 Store Configuration URL to not work.
It just leads me to 3rd party module configuration page, not to the store configuration.
Please help
0
votes
1
answer
30
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
27
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
22
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 ...
0
votes
1
answer
91
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
0
answers
25
views
magento 2.4 config.xml default value for obscure field
I've successfully created a custom section on stores > configuration via system.xml. This section has some api credentials to connect to an external service: one group is for sandbox credentials, ...
0
votes
3
answers
19
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
32
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/...
0
votes
0
answers
18
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
0
answers
18
views
Lock conf impossible to modify
I'm trying to update that robot conf from index,follow to noindex,nofollow
The issue is that my admin conf is locked.
I tried to delete the default_robot block in the config.php then clean the cache ...
0
votes
2
answers
34
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
40
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
47
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/...
0
votes
0
answers
10
views
Subtract/reduce more than one unit from a product's stock/inventory
I want to configure that my shop subtracts/reduces a defined stock value from the product stock specified in product or elsewhere.
Is this possible and if, how can I do it?
1
vote
2
answers
157
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
0
answers
16
views
How to add block to main container from custom theme?
I've created a custom theme: app/design/frontend/TestVendor/testTheme with registration.php and theme.xml files.
Inside the testTheme folder I've created another folder: TestFolder and inside this ...
0
votes
1
answer
29
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
0
answers
15
views
Auto configure custom widget programmatically after enabling it in Magento 2
I'm struggling with some concept of auto-configuration custom widget provided by the module. By default, the widget should be configured by the merchant, which is obvious, but my question is - is ...
0
votes
0
answers
35
views
Magento2: How to show instruction in custom payment method?
I am using magento2.3.1.
I have created a custom offline payment method with the help of this tutorial and it's working fine.
Now I am adding the custom instruction in this payment method.
I have done ...
0
votes
0
answers
27
views
Magento2: How to create global configuration of a custom product attribute?
I am using Magento 2.3.1.
I have created a custom product attribute using data patch, attributed created successfully and I am able to save value in this.
Now I want to create global option for this ...
0
votes
1
answer
22
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
33
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 ...
0
votes
0
answers
91
views
Magento 2 - Cannot configure sort options in the backend
im trying to configure the sort options available in the category page. but it doesnt seem to work. i only need 'position' and 'price' as options but its displaying other attribute than the one i ...
0
votes
1
answer
283
views
How can I override the default config class in custom module in Magento 2?
I want to override Config class using plugin.
Here is my
di.xml file
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
1
answer
257
views
Deprecated: Method ReflectionParameter::getClass() is deprecated in
Deprecated: Method ReflectionParameter::getClass() is deprecated in C:\xampp\htdocs\magento\vendor\magento\framework\Code\Reader\ClassReader.php on line 29
Fatal error: Uncaught Error: Call to ...
0
votes
1
answer
83
views
Show/Hide the Configuration grid/list/field in magento 2
I am trying to show/hide the password text configuration filed based on the dropdown field and it's working fine & the code as follow.
<depends>
<field id=&...
0
votes
1
answer
38
views
Disable Privacy Tools -> Delete My Data
Goal: Remove the "Delete My Data" Button
On a magento 2 store frontend, I'm seeing a button under Privacy tools in the Customer Account that says "Delete My Data". Is this ...
1
vote
1
answer
90
views
Magetno 2: Theme Configuration Goes To 404 After Save
I'm using Magento 2.3.5, I'm scratching my head for a couple of days, the issue is when I go to Theme Configuration, do any changes and hit Save Configuration, the page goes to 404 error: Page not ...
0
votes
2
answers
178
views
What is max_messages proper value for running message queue using cron job?
I'm using Magento 2.4.1, and this is my message queue configuration in app/etc/env.php
'queue' => [
'consumers_wait_for_messages' => 0
],
'cron_consumers_runner' => [
'cron_run' => ...
0
votes
3
answers
247
views
Magento 2 certain products hide out of stock products at storefront
I wanted to show all out of products at front store, so I went Store> Configuration > Catalog > Inventory and set yes Display Out of Stock Products option
But I have to hide certain out of ...
0
votes
1
answer
255
views
Magento 2 Override Config.xml File to change the status of Braintree Module
I am trying to override config.xml file of vendor/paypal/module-braintree-core/etc module to changed the "order_status" value from "processing" to "pending" . I have ...
0
votes
1
answer
30
views
Magento 2 force secure URL via XML?
In M1 it was possible to add some lines to config.xml to force secure urls for certain pages ...
<?xml version="1.0"?>
<config>
...
<frontend>
...
&...
0
votes
2
answers
32
views
All of functionality is running , but if this code is on console command execute(), is not working
I am looking for magento 2 developer.
I need to build a extension that clear the cart every day by cron job.
So I made the extension for this work. all of the functionality is OK on testing mode
I ...
1
vote
1
answer
789
views
Magento 2: How to update the store configuration value using Data Patch
i want to update the store configuration value using Data Patch.
Note: please do not suggest install and upgrade script.
i tried below code but its not working:
<?php
/**
* Copyright © All ...
0
votes
0
answers
29
views
Save config.xml value on install/upgrade
I have just created system.xml and config.xml for my project - they work ok after implementation:
The values don't get written to the database unless I press save in admin though - ran setup:upgrade ...
0
votes
1
answer
386
views
How to get the base url in config.xml file
How to get the base url into magento2 module app/etc/config.xml file.
<storefront>
<report_uri>https://www.example.com/</report_uri>
</storefront>
instead of https://www....
0
votes
1
answer
134
views
How to create a custom email template and show it in store configuration dropdown?
I want to provide another option for email template without creating the etc/config.xml or etc/system.xml, because i just need to add the new email option to the dropdown without creating new input ...
1
vote
2
answers
504
views
Magento 2 Custom system config value not showing in custom email template
Able to get values of store phone number but not able to get custom config values(even it is working fine in root file when get custom config value)
How to get value for this - {{config path="...
0
votes
2
answers
746
views
Magento 2 - How to write data to window.checkoutConfig from PHP?
I created a new shippping method, I need to generate data and pass it to the window.checkoutConfig javascript object.
Normally you do this by implementing the ConfigProviderInterface from vendor/...
0
votes
2
answers
691
views
Magento 2 - How to allow certain html elements in system.xml config field?
I try to add this HTML (<span style='color:red'>*</span>)to the content of a field with type text.
But the html is getting stripped. How can I allow all secure html elements but disallow ...
0
votes
1
answer
146
views
admin panel: system->configuration page not working
I am facing one problem with Magento 1.9. When I click on Configuration then it shows 505 internal page isn't working error. I don't know how to fix. Attached is the screenshot. If any file needed ...
0
votes
1
answer
214
views
error getting to admin>stores>configuration page
I'm getting an error getting to admin>stores>configuration page. this started after I added a second store. I have removed the second store but I'm still getting this error. I tried to do a ...
0
votes
0
answers
35
views
Magento 2.3 after installation problem with intl
I have a problem with Magento 2.3.5 After installation when i go to magento i see error 500. In my error log is
[Mon Sep 28 10:02:41.724732 2020] [php7:error] [pid 29850] [client 89.64.6.204:49120] ...
1
vote
2
answers
1k
views
is it possible to install elastic search in localhost Magento 2.3.4 p2 version
Hi All, i read documentation from devdocs that how to install
elastic search. For this i have install java jdk package in my
localhost and now i am trying to install elastic search latest version
...
0
votes
3
answers
37
views
Some settings not changing anything on the frontend
I have a newsletter popup that won't stop coming up. I've changed it to disabled, and it doesn't change.
I also can't change the look of my product image gallery. I reached out to the support theme at ...
0
votes
1
answer
214
views
Remove payment method
i'm magento 2 newbie, i want to remove some payment method from the admin Store -> Configuration screen
is there anyway to do it?
many thanks.
1
vote
1
answer
247
views
Is it possible to lock the design configuration in env.php?
In production, the meta robots on my website is configured to be "INDEX,FOLLOW".
In staging, I run an sql query to insert or update it in the core_config_data table to be "NOINDEX,...
1
vote
1
answer
2k
views
How to configure ElasticSearch that is on a remote host?
I'm new to ES and just want to set up Magento 2.4 and ES in its simpelst way, just to get a impression.
Magento is on host A, ES on host B. Both on RHEL systems in the same network. I've installed ES ...
0
votes
1
answer
58
views
How to show custom action in Newsletter Subscribers
I am trying to create custom action for newsletter subscribers, however I am unable to see the action as you can see in the image below:
I have created a file named newsletter_subscriber_block.xml, ...
0
votes
0
answers
18
views
Load Config Collection including config.xml values
I need to load all configs with some filter, including values, that defined in config.xml files.
Here's some code to make some clarity about what I need to do:
public function __construct(
\...