Questions tagged [configuration]

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

228 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
3k views

Display Out of Stock Configuration not working in magento1.9

I have a configurable product with 3 simple products associated to it that were added via REST. I have set the "Display Out of Stock Products" option in System->Configuration->Inventory to "Yes" ...
5
votes
2answers
5k views

“403 Forbidden” error page when trying to open Magento 2 setup page

I'm trying to install Magento 2 on a Godaddy Ubuntu virtual machine. After following what is in the installation manual (hopefully), and when I reached to the step of opening the setup page of 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 ...
4
votes
0answers
891 views

Create system config section with dynamic number of fields

I have looked around and this is my last resort. I'm new to magento 2. I created a plugin in magento 1 (using this link as a good guide) and i would like to replicate same in magento 2 however things ...
4
votes
2answers
97 views

Problem with <backend_model>

I'm getting a little desperate here with my custom Magento Backend Models. Here is the situation: I have 2 multiselect (locales_served, countries_served) fields with custom backend models in my ...
4
votes
0answers
29 views

How to configure REST without edit the controls manually?

Hello I am developing an extension for magento that adds a new call to the REST API. This call must be accessible to everyone so by now the guest user must be configured manually to allow him use this ...
3
votes
0answers
230 views

Validation Failed when running bin/magento app:config:import

I have added the following data to my app/etc/config.php file: 'scopes' => [ 'websites' => [ 'admin' => [ 'website_id' => '0', 'code' => 'admin', ...
3
votes
0answers
25 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 (...
3
votes
0answers
97 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....
3
votes
0answers
182 views

M2 - Difference between ScopeInterface SCOPE_STORE and SCOPE_STORES

I understand that there are websites, stores within websites, and store views within a store. However, one thing I've never understood is the difference between ScopeInterface::SCOPE_STORE and ...
3
votes
0answers
519 views

Magento 2 make purchase order number optional

In Magento2 - Is there a way to make the purchase order number in the checkout optional? Currently it's a required field in 2.1.7 and I can't find a configuration setting to change it. I'm aware that ...
3
votes
0answers
771 views

How to call a js function explicitly from phtml file in magento 2

I have the following file Vendor/Catalog/view/templates/product/view/type/options/configurable.phtml Content of that file as follows <?php /** * Copyright © 2013-2017 Magento, Inc. All rights ...
3
votes
1answer
291 views

What is the “database compatible mode” in Magento?

I've run over some comment in a core file which is about database compatible mode: In www/app/code/core/Mage/Core/Helper/Data.php: class Mage_Core_Helper_Data extends Mage_Core_Helper_Abstract { ...
3
votes
2answers
1k views

Is it possible to override the Session Cookie Lifetime found in the sys. config.?

Is it possible to override the Session Cookie Lifetime found in the system configuration? The reason I ask is because it appears that Magento is not honoring the value I set for Cookie Lifetime no ...
2
votes
0answers
25 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 ...
2
votes
1answer
262 views

How to disable Compiled Configuration?

I was trying to disable all my caches, then I noticed that one of my Magento 2 installations has a particular cache type called Compiled Config. I don't want to use my installation compiled, I wan't ...
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 ...
2
votes
0answers
554 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 ...
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....
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 ...
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/...
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 ...
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 ...
2
votes
0answers
426 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/...
2
votes
0answers
276 views

Magento 2 Design Configuration edit action not shows

I'm new in Magento so I follow YouTube tutorials to change design but Edit action not shows on Configuration Page. I just open Content / Design / Configuration Action are empty, I'm unable to find ...
2
votes
0answers
45 views

Get all configuration fields in group

I have made 2 example groups, which look like this: first_group first_field_1 first_field_2 first_field_3 second_group second_field_1 second_field_2 How can I dynamically get the ...
2
votes
0answers
14 views

How come for a batch of newly imported products the URL structure is different than our normal configuration?

I imported some 34 simple products to our admin store, base site, via MageBees' Import/Export Products extension, as I often do. The problem is that their URLs are rendering as default/catalog/product/...
2
votes
0answers
44 views

What effect do the “Developer” settings have, when the store is running in production mode?

In my fresh Magento 2 install: When in production mode, the settings under Store->Configuration->Developer are not shown at all. When in developer mode, they appear, and some options ...
2
votes
0answers
209 views

Custom configurations not working after installing the module in fresh magento installation: Magento 2

I have created a module that has it's own Magento admin configurations. The module and its configurations are working fine. However, when I zipped the module and install it in a fresh Magento ...
2
votes
2answers
568 views

CSS not loading after Magento 2.1 install: Mac OS X with Nginx

I have just followed the installation steps Have configured my nginx conf exactly as per mage docs guide (to include the nginx.conf.sample file in my nginx site's conf file) Magento has installed OK,...
2
votes
0answers
339 views

Setup store email address to send to more than one address in Magento 2

In admin panel Stores > Configuration > General > Store Email Addresses I can add one email to the 'Custom Email 1' section. I'd like to add two email addresses to the field rather than one, so for ...
2
votes
0answers
454 views

Magento 2 using Redis Cluster and occur error 500 when start website

My company platform team have deployed redis cluster on 3 nodes (10.193.1.1, 10.193.1.2,10.193.1.3) for port 6379. I have update the env.php to redis as following ...... .... array ( 'backend'=> '...
2
votes
0answers
480 views

Allow countries for websites is not working

I'm trying to configure 2 websites allowing only some countries for each website. For test I'll only allow "spain" for one website and "USA" for the other. I'm using the VM of bitnami with Magento 2....
2
votes
1answer
265 views

Exception #0 (UnexpectedValueException): Setup version for module 'MagePal_GmailSmtpApp' is not specified

the website was working fine until i changed an email setting from the admin panel, all of a sudden the website only shows this error 1 exception(s): Exception #0 (UnexpectedValueException): Setup ...
2
votes
0answers
711 views

Magento : Configuration -> Advanced -> System Menu Not Displayed

In my magento, system does not send emails. so I would like to access email settings config menu as shown here. However the Advanced -> System menu doesn't appear, under Advanced I can only see ...
2
votes
0answers
97 views

Magento 2 Custom Customer Attribute Save Data and edit data, i have problem

I create a customer module this module working good , when I migrate data mangento 1.x to magento 2.x wiht migration tool and i wish crete a new customer don’t save data or edit any customer don’t ...
2
votes
0answers
393 views

Configuring multi store backend magento 2

So this is the problem I'm having. 1) I created the website, store and store view. 2) In the index.php file I have put the following code: $params = $_SERVER; $params[\Magento\Store\Model\...
2
votes
0answers
1k views

Magento 2: Newsletter Queue Take Different Queue Start Time

I'm using Magento 2 CE Version 2.1.2 My locale is Asia/Singapore. When i queue my newsletter, it's taking different start time (or timezone). If i put now, then also it's taking 8+ hours & in ...
2
votes
0answers
26 views

Lack of taxes in product price and totals

I have products with tax classes - 8-taxable goods and 23-taxable goods. Price of product doesn't include taxes at all. Of course, I was trying to change many of these fields. But if my product has ...
2
votes
1answer
1k views

Assign a separate theme to product pages and categories

I have magento 2 and a requirement to show a certain category, subcategories and product pages in those categories using a different layout then other product pages on my store. So just to be clear: ...
2
votes
2answers
1k views

Magento2: In the admin under Stores Configuration, how can I make changes to an existing field made in the vendor?

So in the Magento2 admin, under Stores > Configuration > Sales > Checkout > Shopping Cart, I would like the "After Adding a Product Redirect to Shopping Cart" dropdown with the Yes/No option to either:...
2
votes
0answers
27 views

Can I overwrite default Magento configuration?

in my local.xml I have the chance to configure, for example, the secure and unsecure URLs for specific shop setups. So I don't have to configure these settings in the database. That makes migration ...
2
votes
1answer
405 views

Export Magento 2 configurations from local Dev to Staging server

I installed Magento 2 locally using composer on MAMP. I developed my custom theme and configured the shop in Magento admin. How do I transfer all my configurations to the Staging server? In Drupal 8 ...
2
votes
0answers
48 views

How do I specify structure of all child elements of a node in XSD where the node names vary?

I am building Magento 1 XSDs (XML Schema Definitions). Magento very often uses node names as a unique identifier for a node in XML. For example: <config> <events> <...
1
vote
0answers
18 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 ...
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?
1
vote
0answers
18 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:...
1
vote
0answers
42 views

Magento only allows my model to be called capitalized

I am working on a Magento (1.9.4.3) module. For some reason (only) my models can be called capitalized. For example, my helpers are called like this; mycompany_module/helper. But my models can only be ...
1
vote
0answers
54 views

Magento 2.3.3. error when trying to set Asynchronous sending to Disabled

I'm trying to set Asynchronous sending as Disabled in Magento 2.3.3 admin, but when saving I'm receiving this error that is shown in the admin page and setting is not saved: No such entity with ...
1
vote
0answers
63 views

Magento 2 : Set default image in image uploader field in system configuration

I want to set default image when user save configuration empty records. For eg : when user delete image and don't upload new image at that time, default image should be available in database/image ...

1
2 3 4 5