Questions tagged [configuration]

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

Filter by
Sorted by
Tagged with
3 votes
1 answer
38 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 ...
Alex's user avatar
  • 13.7k
2 votes
0 answers
121 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....
Asad Khan's user avatar
  • 1,466
0 votes
0 answers
104 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 ...
Yomna Mansour's user avatar
1 vote
1 answer
3k 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 ...
Ketan Borada's user avatar
  • 2,593
1 vote
2 answers
1k 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 ...
chanchal's user avatar
  • 397
0 votes
2 answers
35 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? <?...
IgorAlves's user avatar
  • 189
0 votes
2 answers
2k 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 "...
Francisco Ruiz's user avatar
1 vote
1 answer
32 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 ...
Siva's user avatar
  • 1,124
2 votes
0 answers
59 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 ...
Prachi K's user avatar
0 votes
2 answers
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
xdev's user avatar
  • 183
2 votes
3 answers
238 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/...
Richard Tuin's user avatar
1 vote
1 answer
116 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 ...
J. M. Becker's user avatar
0 votes
1 answer
239 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?
anil's user avatar
  • 293
0 votes
1 answer
709 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
Asad Khan's user avatar
  • 1,466
8 votes
3 answers
963 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> <...
Knight017's user avatar
  • 612
1 vote
0 answers
34 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 ...
Asad Khan's user avatar
  • 1,466
2 votes
0 answers
96 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 ...
Asad Khan's user avatar
  • 1,466
4 votes
1 answer
790 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-...
nikin's user avatar
  • 1,132
2 votes
1 answer
1k 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 ...
Pankaj Sharma's user avatar
0 votes
0 answers
339 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 ...
Douglas Ianitsky's user avatar
1 vote
1 answer
197 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 ...
czs's user avatar
  • 179
0 votes
2 answers
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/...
niceonelee's user avatar
0 votes
0 answers
568 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.
Gagan's user avatar
  • 549
1 vote
2 answers
3k 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/...
Ajithkumar's user avatar
0 votes
1 answer
519 views

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

I want to integrate a courier service like Fedex/Bluedart in Magento 2.
Hitender Chauhan's user avatar
0 votes
1 answer
887 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.
Ragesh VP's user avatar
2 votes
0 answers
239 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 ...
St3phan's user avatar
  • 2,857
0 votes
1 answer
235 views

Issues updating Magento 2 Extension Namespace to uppercase

I think there were previous issues with Magento 2 allowing extensions namespaces to be lower case when we initially submitted ours. But now, it seems that Magento 2.2.x enforces uppercase first ...
Blake Finney's user avatar
0 votes
0 answers
72 views

Admin changes not reflecting after migrating magento 1.9 to magento 2.2

I have migrated my magento 1 site to magento 2.2.X by using the migration tool after done product and configuration all are migrated but when i change anything in admin like product qty or system ...
Pawankumar's user avatar
0 votes
1 answer
562 views

Magento 2: my_variable is not defined in ArraySerialized

I'm trying to make a custom store configuration with ArraySerialized But at first, i try with 2 column and it working fine, i've successfully in created and get data from it, but then, i created 1 ...
fudu's user avatar
  • 1,248
0 votes
1 answer
346 views

I am not able to reflect the contents added in html head of admin panel in view source code in magento 2

I have added few script tags in the following path of admin panel: content->design->configurations->our theme(edit)-> html head->scripts n style sheets. But it's not reflecting in view page source ...
sahana's user avatar
  • 329
2 votes
1 answer
1k views

Magento 2 How to Change Estimate Shipping Default Country

I have Magento 2.2.5 installed. General > Default Country is set to 'United Kingdom' however on the 'Estimate Shipping' part of the cart page, the default country shown is United States (we don't ...
YorkieMagento's user avatar
4 votes
2 answers
2k views

Translation of name prefix options

I'm setting up a Multi-store in English, French and German. I'd like to enable Name Prefix as an optional field but Customer Configuration > Name and Address Options is only editable at the website ...
tester1's user avatar
  • 41
2 votes
1 answer
5k views

Magento 2: `magento app:config:import` doesn't import system configuration

I'd like to import system config through the app:config:import command. I have update app/etc/config.php file with described customer/captch/enable config path: <?php return array ( 'system' =&...
Kirby's user avatar
  • 733
0 votes
1 answer
207 views

Change config file from magento 1 to magento 2

Facing this issue: 1 exception(s): Exception #0 (ReflectionException): Class mygateway does not exist Don't know where I find this class in my module Please help. Here's my code: /home1/...
jhon jhon doe's user avatar
0 votes
2 answers
536 views

Magento 2 flat catalog category not available

I would like to enable Flat Catalog Category in our multistore Magento 2 (2.1.9), but I cannot find the option in Store > Configuration > Catalog > Catalog > Storefront What could be the cause of ...
klaaskox's user avatar
  • 165
0 votes
3 answers
1k views

Get all dropdown and multi select attrinbutes in system configuration

I have to get all the attributes which have type dropdown or multiselect in system configuration. <field id="test" translate="label" type="multiselect" sortOrder="0" showInDefault="1" ...
Magecode's user avatar
  • 1,474
0 votes
2 answers
1k views

Is it possible to append a system configuration to existing configuration section group via a custom module

I've tried to add a configuration item to sales/carriers/fedex in my custom moduel, but seems not work <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
hkguile's user avatar
  • 2,161
1 vote
1 answer
42 views

Magento 2 multistore website codes caching

Changed the website/store codes on a multistore installation to something more meaningful/relevant. These new codes are saved in the database OK. When i try to access websites/stores other than the ...
UUDotCom's user avatar
5 votes
2 answers
2k views

How to set default value for configuration field with type time

How can I set a default value for a field from system.xml with type time? <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...
Jeka's user avatar
  • 53
3 votes
2 answers
230 views

How to add rental period attribute in Magento 2?

RENTING PERIOD: How to add rental period attribute in Magento 2 ? So i can add price on Hourly and Daily Rental Period. There will be product like daily based renting type which are used for days ...
Aditya Shah's user avatar
  • 7,554
1 vote
1 answer
295 views

klarna merchant_checkbox_text is disable

I am using klarna m2 module in klarna checkout I want to unable merchant checkbox under sales->checkout->klarna checkout option. I am able to make it active but when I tried to change its text ...
Daniel_12's user avatar
  • 660
2 votes
0 answers
615 views

Syntax for overriding config.xml module configuration with config.php in magento2?

I have a module MyCompany_ExampleModule. Its etc/config.xml file: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/...
hey's user avatar
  • 1,127
3 votes
0 answers
35 views

M2: Setting delivery methods - exact configuration

How to configure delivery and payment methods. 1) In the first step (1/2) checkout, I can choose the form of delivery: Courier shipment (paid in advance) - delivery cost 4€) Courier shipment (...
Sylvester's user avatar
  • 2,156
0 votes
2 answers
196 views

SOLVED: Magento 1.9 ignores config from default scope

The Magento shop of a new customer (I didn't set up the store, I was brought into the project as a developer) was recently infected with the magentocore.net skimming malware. I removed it from the ...
Jan Brinkmann's user avatar
4 votes
0 answers
161 views

Magento 2: Extension settings not displayed under configuration

I have installed a Magento 2 extension. It's not showing the fields under configuration settings in Magento 2. Here is System.xml file: <?xml version="1.0"?> <config xmlns:xsi="http://www....
Pankaj Sharma's user avatar
1 vote
2 answers
614 views

How to use some function in configurable.js in custom phtml in magento 2

I want to use the _getSimpleProductId function of configurable.js in my custom phtml file. What i want to achieve is get the product id according to the customer select the configurable options. I ...
Mujahidh's user avatar
  • 2,651
0 votes
2 answers
122 views

MailChimp for Magento

I am following these directions: https://mailchimp.com/help/connect-or-disconnect-mailchimp-for-magento/ The site is running Magento 1.9.3.2, I'm a PHP developer, but haven't used Magento before, it'...
Nick Shontz's user avatar
2 votes
2 answers
1k views

How to get config field value for all available store views as an array?

I have one configuration field with scope as store view in my module. System config path: vendor/module/title I have multiple websites with multiple store views and I want to get values of my field ...
Jaimin Sutariya's user avatar
1 vote
1 answer
327 views

Magento2 what is use of canRestore property in system.xml? [duplicate]

Can anyone let me know what is exact use of canRestore property defined in system.xml field in Magento2?
bhargav shastri's user avatar

1 2 3
4
5
21