Questions tagged [configuration]
General settings of all the modules, either core or third party.
991
questions
0
votes
0answers
14 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
1answer
46 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
0answers
26 views
Magento 2 stream_socket_enable_crypto(): Peer certificate CN=`ns1004402.us' did not match expected CN=smtp.office365.com
After installing SMTP, I am getting the below error.
Warning: stream_socket_enable_crypto(): Peer certificate
CN=ns1004402.us' did not match expected CN=smtp.office365.com' in
/home/public_html/...
0
votes
0answers
10 views
Magento 2 System Configs and Deployment Process
I desire the following method for making system configuration changes and deploying them to our Production server, but I am having a hard time making this happen. From my prospective, a system ...
0
votes
0answers
10 views
Please help! How can you display individual quantity for each variation?
I have a configurable product with 3 variations. The quantity for each is 1,3 and 5. I want these quantities showing when selecting the relevant variation, but it currently shows the total 9, no ...
0
votes
0answers
32 views
Disable logging into cron.log in Magento 2.4?
In my var/log directory I have a large cron.log file, that contains lots of successful processed cron job entries. Can that be turned of anyhow? As it seems it is not part of the cronjob configuration ...
0
votes
1answer
23 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 ...
0
votes
0answers
23 views
Magento 2 configure currency rates per website/store
I have a Magento installation with 2 websites.
For one of the websites, I would like to use currency rates imported by web services but for the second website, I would need to have different fixed ...
0
votes
2answers
48 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
2answers
60 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
2answers
37 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
1answer
46 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
1answer
46 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
0answers
8 views
MySQL core_config_data entries matching (Regex)
Magento 2 makes it hard for me to handle configuration settings for system_config area.
Since I have not received any answers there yet, I need to try something else to solve the issue.
(Assuming I ...
0
votes
0answers
19 views
Magento 2 app:config:import does not import system section into database
I know that app:config:import is supposed to import data from config files (env.php and config.php) into database
and app:config:dump is supposed to do the opposite: export data from database into ...
0
votes
0answers
24 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] ...
0
votes
1answer
298 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
0answers
9 views
How to create “nested component”? If i select item from dropdown will appear other component
Sorry for my bad english, maybe like this:
===============================
[add1]
option name : delivery home
[add2]
shipping method : flatprice
shiping method : shd
option name : ...
0
votes
3answers
28 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
0answers
14 views
setup:upgrade command set all themes parent id to 1
lately, every time I run the setup:upgrade command, I notice that inside the "theme" table all the parent_id are overwritten and set to 1 (magento blank).On backoffice side, the themes are ...
0
votes
0answers
21 views
Magento 2 - How to map option value to sub item?
I have one configurable product and added few items which have product type as "Single"
For example :
Configurable product : Echo Fit Compression Short
Simple Product : Echo Fit Compression ...
0
votes
1answer
32 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.
0
votes
1answer
45 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,...
0
votes
0answers
10 views
Setting Magento 1.9.x Lock file storage DB or FILE
how can we change Magento 1 lock file storage from FILE to DB?
We see the setting global/index/lock/storage being checked for in Mage_Index_Model_Lock
And see it is used in method protected function ...
1
vote
1answer
454 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
1answer
24 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
0answers
14 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(
\...
0
votes
0answers
25 views
Problem with admin settings for a custom Payment method
I'm developing a Custom Payment Method And this Module have 3 payment methods, each have a particular setting, but I also have setting common for all methods (general).
I'm trying to have working ...
0
votes
1answer
247 views
Magento 2.4 dev.docs: about recommended Elasticsearch configurations
There are two different recommendations/examples:
"The Magento application and Elasticsearch are installed on different hosts (Running on separate hosts is secure, enables Elasticsearch to be ...
1
vote
0answers
14 views
Out of Stock Products Displaying on front-end when told not to!
just a quick one. Using Magento 2.3.2
I have "Display out of stock products" switched to "No" in Stores > Configuration > Catalog > Inventory, but my storefront still ...
2
votes
0answers
23 views
Magento 2 get product name in summary js file / configuration product name get undefined - attribute
I need to get a parent product name in vendor/magento/module-configurable-product/view/adminhtml/web/js/variations/steps/summary.js (summary.js file)
Is it possible if yes how can I achieve this?
for ...
0
votes
1answer
74 views
how to install themeforest-T5ELugiM-claue-clean-minimal-magento-2-theme in magneto 2.3.5
It shows Unable to find a physical ancestor for a theme 'MGS Claue'.
1
vote
0answers
16 views
magento with M2E Pro ReferenceError: ListingProductAddObj is not defined
I use M2E Pro with Magento 2.3.4 clear installation
When I'm trying set config in M2E Pro I got an error in console.
Have somebody the same error? is it a problem with extension or with Magento?
0
votes
0answers
21 views
magento 2 system configuration table feilds(file)
protected function _prepareToRender()
{
$fileInputRenderer = $this->getLayout()->createBlock(CustomShippingFile::class);
$this->addColumn(
'shippingLogo',
...
0
votes
2answers
240 views
Magento 2 Configuration settings - Clarify app:config:dump vs app:config:import
I just want to understand the workflow of Magento 2 configuration settings.
Intro
In Magento 2, there are these command-line commands:
app:config:dump
app:config:import
Questions
Am I correct in ...
1
vote
0answers
16 views
How to manage config changes through interface and into version control efficiently
When manipulating config in the interface and wanting to track it into version control, as I see it, there are multiple options and I have doubts with every single one of them.
bin/magento app:config:...
0
votes
0answers
61 views
Change the URL that integrations use in Magento 2
I'm Currently using Magento 2.3.4 and have a WAF setup which essentially functions as a reverse-proxy, which means that the integrations will not connect due to the site pointing to a different I.P. ...
0
votes
0answers
28 views
I want to enable or disable Module according to system.xml field value
I want to enable or disable module according to the yes/no field value of system configuration file. i have developed one system configuration setting in that i have created in admin-side. please ...
0
votes
0answers
20 views
Display my block after product grid in list.phtml
I am overwriting list.phtml via catalog_category_view.xml file
now I want to move my custom block after grid, can anyone tell me how can I do it?
<referenceBlock name="category.products.list" ...
0
votes
0answers
14 views
Client side rendering breaking theme
I recently switched to client side less compilation to speed up development time. It's a lot faster than server side, but every time I want to do a page refresh, it breaks my theme, and I have to ...
0
votes
0answers
32 views
Magento 2: Import store configuration using csv
I want to import the configurations using CSV in Store -> Config under my
module. After importing, it should set in the store config
fields. How can I achieve that?
I have referred this link ...
0
votes
1answer
174 views
Unable to get Grunt less task working on Custom Magento theme
Good morning,
I'm pretty new to Magento 2 and I'm currently in the process of trying to get my first custom M2 theme up and running.
I have managed to create my new theme but running into trouble ...
0
votes
0answers
23 views
Magento 2.3 limit scope change in admin
How can one limit the change of scope in Magento 2 admin https://nimb.ws/QVDXuL.
Like if a user is ABC then he can only view ABC store view and not default store settings in (dashboard and ...
0
votes
0answers
12 views
Submenus from admin panel Store/configuration/… are frozen PLZ HELP!
Please, help me to resolve this problem.
I am facing this problem since 2 days.
I am trying to use my site after upgrading my Magento 2.3.2 to Magento 2.3.4 but since there the main page of the ...
0
votes
1answer
297 views
Overriding Magento sensitive configuration variables using environment variables
According to Magento docs, one can override Magento Configuration variables using ENV variables.
see https://devdocs.magento.com/guides/v2.3/config-guide/prod/config-reference-var-name.html
I'm ...
0
votes
0answers
72 views
Admin config value not updating to match database value
When I save a config value, it updates the database but does not change the content in the configuration > admin section. When I get the value, its the unchanged one from the admin, not the value in ...
0
votes
0answers
12 views
Why I can't do product configuration?
Can't do product configuration, the product image does not appear on the screen, neither product description isn't changing by clicking from one product to another by selecting the colour. On the very ...
0
votes
1answer
65 views
Magento 2 : Set Dynamic User Define Time for Run cronjob?
We are developing one Extension in which we provide the facility to the user to set his custom time for run corn job.
for this functionality, we provide fields in-store configuration like:
Custom ...
0
votes
0answers
98 views
How to set up PayPal payment method in iframe in Magento 2?
PayPal in iframe screenshot.
So, how to configure it? I got buttons only. :-/
Please use the sandbox option.
0
votes
1answer
40 views
Not able to use virtualType as Action constructor argument
In short I seem unable to use a virtualType I created as an argument in my Action's contructor but everything works fine when using a concrete class instead.
Index.php (my action):
namespace Unit1\...