Questions tagged [configuration]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
37 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 > ...
5
votes
3answers
838 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
735 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 ...
1
vote
0answers
31 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
337 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
93 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 ...
2
votes
2answers
2k 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
1answer
114 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
193 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
1answer
462 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
35 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?
1
vote
2answers
138 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/...
1
vote
0answers
25 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
877 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 ...
4
votes
2answers
5k 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
326 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> ...
2
votes
0answers
556 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
143 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
1answer
38 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 ...
1
vote
3answers
7k 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
569 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
821 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
39 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
25 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
56 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
65 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 ...
1
vote
1answer
2k 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
1answer
770 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
27 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
1k 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
26 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 ...
2
votes
0answers
44 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
2k 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
229 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/...
1
vote
1answer
56 views

Magento2 : Recommended way to properly filter the logs?

Recommended way to properly filter the logs? It's like a log4j Java app with every logger active, so essentially a flood of useless chatter. Is there any way I can configure or manage what gets ...
0
votes
1answer
152 views

Magento 2. Retrieve information from env.php in the js files programmatically

I'd like to read and use the information stored in my env.php to my js files. Is there an entity that I can use to fix this?
0
votes
1answer
391 views

Magento 2. How to create StoreView in System.xml

How to create Store View in System.xml. I can explain it with image given below
8
votes
3answers
672 views

What is the use of “mapping” node in di.xml in Magento 2?

I am using Magento 2.2.5 have a look on file vendor\magento\module-sales\etc\di.xml <type name="Magento\Payment\Model\Checks\SpecificationFactory"> <arguments> <...
1
vote
0answers
25 views

Magento 2. How to get every single Product ID

I'm trying to get Category ID and as well Product Id Like I want to get it for to show all 'add to cart' button for specific category if you can help me that how can I hide 'add to cart' button for ...
2
votes
0answers
63 views

Magento 2. how to hide price only for specific categories

Actually I hide the price using Plugin but now I want to hide price only for specific categories like I only want to hide the Price for bags. I want to do this thing by using Admin configuration like ...
3
votes
1answer
407 views

What is the purpose of validation.xml file in Magento 2?

What is the purpose of validation.xml file in Magento 2? When and where do we use them ? I see there are couple of validation.xml files in Magento 2 directory. For example: vendor/magento/module-...
2
votes
1answer
660 views

Magento 1: How to add a system configuration setting of custom module under the second module tab in admin?

I have two modules with same vendor name. I want to display the second module system configuration setting under first module tab in admin. Do you guys have any idea? Here are my system.xml files for ...
0
votes
0answers
211 views

Magento2 How to create custom variables to use on config.xml

In the etc/config.xml I can use some variables, like {{base_url}}, but I need to use other urls in this config. How I can create custom variables to use in the etc/config.xml file? Example: In my ...
1
vote
1answer
113 views

Magento 2 Saving store configuration programatically in upgrade script

I want to save store configuration programtically but I'm just getting one problem after another. Firstly I wanted to use Writer class but since it only updates core_config_data table it doesn't work ...
0
votes
2answers
2k views

magento 2.3 Design Configuration > Global page keep loading

I'm using magento 2.3 ver, i getting some issue about Design Configuration > Global > page keep loading. but Main Website and Main Website Store is working. i already rm -rf generated/code var/* pub/...
0
votes
0answers
450 views

Remove ?___store &___from_store=default from the code url of magento 2 in multistore

'Add Shop Code to URLs' to Yes in System -> Configuration -> Web -> URL options. But show ?___store &___from_store=default. I used magento 2.25. Thanks for help.
1
vote
2answers
2k views

Magento 2.2.X How to create system.xml in admin panel and show & hide field based on parent (depends)

Step 1 : Create a new module (app/code/) Step 2 : Create system.xml (app/code/vendor/module_name/etc/adminhtml/system.xml) <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/...
0
votes
1answer
437 views

How to integrate couriers service in Magento 2? [closed]

I want to integrate a courier service like Fedex/Bluedart in Magento 2.
0
votes
1answer
573 views

Magento2 Admin Side Custom configuration page with a menu

I created an admin menu in magento2 which is linked to a new admin page. I would like to have my own configuration fields (some text fields) in this new page with a save button.
2
votes
0answers
183 views

Magento2: How can I set to a model in “specificcountry” on config.xml file?

I want to set default values with a model from declared class in system.xml. The result of the model is extracted from the database, from a custom table and the result looks like this: AF,AL,DE,BE,FR ...

1 2
3
4 5
20