Questions tagged [configuration]

General settings of all the modules, either core or third party.

Filter by
Sorted by
Tagged with
0
votes
1answer
18 views

Magento 2: How to create gird in configuration

I am trying to create a new configuration for checking postcodes. Is it possible to add so many postcodes rather than creating one text field So I can pick which ever postcode by using type="select"
1
vote
0answers
31 views

Config value in html template Magento 2

<type name="Magento\Checkout\Model\CompositeConfigProvider"> <arguments> <argument name="configProviders" xsi:type="array"> <item name="...
0
votes
0answers
8 views

magento 2 Change configuration value dynamically on certain condition

I required to change configuration values dynamically On certain condition. Consider i need to change value of "Display Out of Stock Products" dynamically on certain condition. I do not want to ...
1
vote
1answer
24 views

Magento 2: Get value from Cron system.xml

I would like to take the value of the ahead schedule of this system.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...
0
votes
1answer
24 views

Logo shows old URL with HTTPS protocol

On my development store, I changed the URL recently which made the logo disappear. The image link keeps showing the old URL unless I use unsafe URL's in the frontend in stores > configuration > ...
0
votes
0answers
52 views

Undefined index: PK_MT_CMS_PAGE in vendor/magento/framework/EntityManager/EntityMetadata.php

I moved a Magento project from localhost to the server. its working fine in localhost but when I move it to the server and change the configuration (env.php and in the table) it's showing below error. ...
3
votes
3answers
77 views

Unable to save blank multiselect value in system configuration in Magento 2

I have created multiselect in system.xml with backend_model and customize afterSave function and return parent::afterSave(). <field id="populatavailablebanknetbanking" translate="label" type="...
0
votes
2answers
31 views

Validation for file type not working in File Upload in Magento 2 Store Configuration

I am following below Article to upload file in store configuration: https://www.mageplaza.com/devdocs/how-file-upload-sytem-configuration-magento-2.html I have defined custom backend model as ...
0
votes
0answers
17 views

Magento2 config data

If I retrieve some data from config: $allowedCurrencies = explode( ',', $this->scopeConfig->getValue( \Magento\Directory\Model\Currency::XML_PATH_CURRENCY_ALLOW, ...
0
votes
0answers
13 views

Set Configurable Option Before Product Load

Is there a way to set a configurable product's option before the first page load? Right now we have a javascript script that selects the first option when the page loads but we'd like to avoid that ...
0
votes
0answers
19 views

Invalid response line returned from server: HTTP/2 200 ver 2.2.7

HI I have tried the fixes but none see me to so I am wondering if its because I have 2.2.7 version, that why I am receiving the error code after inputting the keys into the configuration to get the ...
0
votes
0answers
29 views

AH01797: client denied by server configuration <directory > referer: in magento 2 project

how I can solve this AH01797: client denied by server configuration <directory > referer: Does anyone have an idea??? I already tried this answer: 1)https://magento.stackexchange.com/a/...
1
vote
0answers
20 views

Magento 2x web rest api: Anyone can tell me about endpoint to get order status from store configuration?

I wonder if there is endpoint to get orderstatus by using api in magento 2x. As I check there is issue that created since 2016 but closed because report in github link
0
votes
1answer
23 views

Magento 2 : How to create Store Configuration multiselect with Payment methods

I want to create a multiselect in the admin area which lists out payment methods. Has anyone got any experience of this? Just need system.xml and source model if applicable. I can sort rest.
3
votes
1answer
36 views

Magento 2. Declarative schema. What is the use of the memory engine?

When creating tables using the Declarative Schema one can set the engine="" attribute value as memory. I can't seem to find an example in the core. What is a use-case for this configuration, how does ...
1
vote
2answers
100 views

How to recover env.php file in Magento 2?

is there any way to recover the env.php file. As my file deleted unexpectedly when editing using command line. Now file is empty and showing with 0 size in the ftp. As i don't have the backup of the ...
0
votes
0answers
9 views

Magento 2.3 - Country Options vs Customer Account Sharing Options

Preconditions Server config: Ubuntu 16.04 LTS MySql 5.7.26 Apache 2.4.18 PHP 7.2.18 In a Magento 2.3.0 installation we configured multiple stores (each one as its own custom prices). We have 15 ...
0
votes
1answer
24 views

Magento 2: Facing issue in “Edit Configurations” can't save product

I faced issue in "Edit Configurations" of product, can't save products, in Magento 2.3.1 with Apply images for all. Error: The "/var/www/html/magentosample231/pub/media/tmp/catalog/product/d/o/...
0
votes
1answer
32 views

Tax/VAT field configuration is not working on multistore Magento2 Core

I have a multistory website as Retail-Website and Wholesale-Website Configuration with fresh Magneto2.2 at Store >> Configuration >> Customer Configuration >> Show Tax/VAT Number Retail-Website ...
0
votes
0answers
46 views

M2 | How can we use same code base among all team members via Git?

We are a team of developers and wanted to share same codebase (DB, Configuration, Magento instance). We are using Magento 2 Image for Docker on MacOS. Individually we are working fine with docker. ...
0
votes
1answer
65 views

Undefined index: id in vendor/magento/module-config/Model/Config/Structure/Element/Iterator.php on line 63

I am having this issue when I try to install the extension ...
0
votes
1answer
28 views

Extension is missing delivery option

Recently i had installed a custom product type (custom module),but then it is missing delivery option .Is configuration from the custom module's end? or magento's delivery method end?
0
votes
0answers
45 views

Admin panel not really saving the configuration

Even if (after clicking the SAVE CONFIG button) the page refreshes and shows the text "You saved the configuration." the configuration still shows the old settings before the update. I am ...
1
vote
2answers
36 views

getting 404 on system configuration

I am using Magento 1 to create a system configuration left menu is created successfully but when I click on that getting 404. what I have tried Re-logging into the dashboard. Using ACL. Clearing var/...
0
votes
0answers
25 views

E_WARNING: simplexml_load_string(): ^ after config cache(redis) flush

Config cache flush(from redis-cli run FLUSHALL) is done daily in the morning. Post the flush we see the following warning appear in the logs: Error message E_WARNING: simplexml_load_string(): ^ ...
1
vote
0answers
9 views

how to make my custom attribute an attribute of configuration m2

I want to create a configurable product according to my custom attribute but i can't find it when i pass create configurations here is my code public function install(ModuleDataSetupInterface $setup,...
1
vote
1answer
85 views

how can I save the value from a select element in custom config field in magento2

I'm trying to add a custom configuration field in system.xml like this where one of the columns will be a select element instead of a simple input element and will load values dynamically from the ...
2
votes
1answer
610 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
1answer
74 views

How to get Multi-select value Magento 1

I have added below code in my config.xml file to add one option in Magento multi select captcha section <default> <customer> <captcha> <always_for> ...
0
votes
0answers
14 views

Change system config from child theme

I would like to know if it's possible to change some default system value with a child theme. For example, if I go to Configuration > Catalog > Product Review > Allow Guests to Write Reviews....
1
vote
0answers
85 views

how to set default value for multi select field e.g specificcountry?

I've a field in system.xml <field id="specificcountry" translate="label" type="multiselect" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="0"> <label>Ship to ...
0
votes
1answer
39 views

Magento 2 Dynamic cronjob

i'm trying to create dynamic cronjob based on my configuration value. already created group defined in cron_groups.xml and defined cron task <group id="mycompany"> <job instance="Vendor\...
0
votes
0answers
40 views

Magento 2.2.6 Developer config menu missing (with developer mode on)

After setting the mage mode to production and back to developer, the "developer" tab is missing under configuration->advanced. I am in the developer mode, and i've cleaned all caches. Tried relogging,...
0
votes
1answer
33 views

Observer doesn't work

I tried a few iterations and for whatever reason I can't add cookies or even execute any code from my observer, as it's not giving anything even if my observer has dies in it. I have my module visible ...
0
votes
2answers
904 views

Magento 2.3 - Required parameter 'theme_dir' was not passed after applying custom 'Blank' theme

I'm having an issue when applying a custom 'Blank' child theme. I'm running a fresh install of 2.3 on LAMP. I followed the Magento docs with respect to theme.xml and registration.php etc, but after I ...
1
vote
1answer
125 views

Magento2: How to disable password autofill on store-configuration?

I have 2 fields on my system.xml. The first one is an authentication key (obscured). The second one is an email. The thing is, because I use my email & it's also saved in my browser with a ...
5
votes
1answer
133 views

php bin/magento app:config:dump gives me [Magento\Framework\Exception\ValidatorException] Path “app/etc” cannot be used with “app/etc”

I'm trying to change some settings, and this answer has already been very helpful. But now php bin/magento app:config:dump gives me [Magento\Framework\Exception\ValidatorException] Path "/var/...
1
vote
0answers
36 views

How admin menu.xml configuration file process in mageno2

How Admin menu.xml config file process in mageno2? which file responsible for processing admin menu.xml configuration file?
3
votes
1answer
22 views

Is there a standard way to make add a config on theme scope?

To solve a problem in an FOSS extension I need to introduce a configuration settings with the scope "theme". Is there a standard way do to such? I was thinking about extended in the theme.xml but ...
2
votes
0answers
23 views

How to show only all store views on default store view

How to show all store views on default store view and on other store views only the current store view shows. my code is <?php namespace PME\Hideprice\Model\Config\Source; /** * @api * @since 100....
0
votes
0answers
24 views

server is out of memory

I'm running magento project on c5dxlarge with 8GB RAM. storefront was working fine but suddenly server get out of memory and memory usage became 80 percent. Also I had about 300 running processes even ...
0
votes
1answer
226 views

Varnish cache not clearing from magento admin

M2 Version : 2.2.2 PHP : version : 7.1.26 Varnish version : 6.0.2 Server : Nginx I have configure varnish in my magento website it working well i have checked in frontend and and passed all ...
0
votes
0answers
106 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
2answers
23 views

Magento 2 describe attrubute property used in Plugin method

I am trying to create a simple module and I can't find the propose of the attribute name and type inside the tag type and plugin in di.xml. can anyone describe attribute name used in plugin? <?...
0
votes
1answer
238 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 "...
1
vote
1answer
20 views

Deploying code via GitHub

Due to the security reasons, we want to deploy the changes in code with GitHub. I can see that we can only change the code via GitHub. Is it possible to change the admin configuration as well via ...
0
votes
0answers
12 views

Any reason Magento2 decided against using one of the standard config file formats?

Any reason Magento2 decided against using one of the standard config file formats? Did the rest of the world get this so wrong? I love how they decided to use plenty of XML in their framework, but ...
2
votes
0answers
30 views

AH01797: client denied by server configuration: <directory_name>/update/cron.php14,19,33,45

I was just changing my magento2 mode from developer to production, And it resulted in blank webpage on the application URL. In my webserver logs I have found: AH01797: client denied by server ...
0
votes
2answers
312 views

Change Default Web URL

I want to change the url of the index page for magento 2 store. I changed the Default Web URL to "custom", but when I go to site.com/custom it gives me a 404 and the index page is still site.com/cms
2
votes
3answers
197 views

What could cause this (config) cache issue after upgrading from 2.1.14 to 2.1.15?

after upgrading a shop from 2.1.14 to 2.1.15 I'm getting the following exception when visiting any page via the browser: 1 exception(s): Exception #0 (Exception): Notice: Undefined index: in /src/...