Questions tagged [configuration]
General settings of all the modules, either core or third party.
1,009
questions
0
votes
0
answers
6
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
10
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
20
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
76
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 ...
0
votes
0
answers
74
views
Install SSL for local magento2 project
I have installed clean magento and I want to have https:// on my local env. I am using docker and I created ssl certificate and approved it many different ways, it still not working. database changes ...
0
votes
1
answer
229
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
36
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
269
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
405
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
71
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
96
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
0
answers
44
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
31
views
How to add slider/range in store configuration?
any reference for adding this type of slider in configuration?
0
votes
0
answers
197
views
Magento 2.4.4 setup:install Error : "the default website isn't defined. Set the website and try again."
I have gotten only the configuration value in the Helper file but when I put first my extension and then run setup:install command it gives this error "the default website isn't defined. Set the ...
0
votes
0
answers
63
views
Override search_request.xml
Is it possible to remove fields from the search_request, namely the _search and also replace the fields in the partial search. Adding a search_request file to a custom module only appears to merge ...
0
votes
0
answers
3
views
350 or more configurations causes the product not to show on the category page
Has anyone had it where if you have 350 or more configurations then the product is not displayed on the relevant category page but can be accessed by going to the product URL directly?
I did some ...
0
votes
1
answer
501
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
1
answer
289
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? ...
0
votes
0
answers
25
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
1
vote
1
answer
2k
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
317
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
71
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
914
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
120
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
125
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
196
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
452
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
127
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
177
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
816
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
89
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
86
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
1
answer
677
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
407
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
376
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
76
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
195
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
3
answers
662
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
499
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
494
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
46
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
35
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
2k
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
64
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
647
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
748
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
934
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
1k
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/...
1
vote
2
answers
1k
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 ...