The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [configuration]

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

208 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
4k 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
0answers
351 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
3answers
971 views

How to override crontab.xml?

I need to override a crontab.xml from: vendor/magento/module-integration/etc/crontab.xml <job name="expired_tokens_cleanup" instance="Magento\Integration\Cron\CleanExpiredTokens" method="...
4
votes
2answers
88 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
28 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
19 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
78 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
120 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
378 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
526 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
5answers
2k views

Magento 2 module version number not editable

I have just started exploring Magento 2 structure and code-flow, also module development. When I created module from an online module generator and tried to change it's "setup_version" & "...
3
votes
1answer
277 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
1answer
26 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', ...
2
votes
1answer
1k 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 ...
2
votes
0answers
27 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
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 ...
2
votes
3answers
198 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
42 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
148 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
164 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
258 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
22 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
105 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
434 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
311 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
1answer
455 views

404 error in moving Magento 2

Moving Magento2 from one sub-folder to another sub-folder in same domain displaying 404 error everywhere except home-page. Admin is also displaying 404 error. Steps to produce: Copy all files from ...
2
votes
0answers
417 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
235 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
630 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
90 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
332 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
938 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
716 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
1answer
990 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
355 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
46 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
1answer
31 views

tax configuration blank after migration (and upgrade) 2.3.2 -> 2.3.3

We migrated from magento-1.9.2.4 to magento-2.3.2 without problems so far. After upgrading to magento-2.3.3 (using composer) the tax configuration (Sotres -> Configuration -> Sales -> Tax) page only ...
1
vote
0answers
33 views

Config value in html template Magento 2

<type name="Magento\Checkout\Model\CompositeConfigProvider"> <arguments> <argument name="configProviders" xsi:type="array"> <item name="...
1
vote
0answers
23 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
1
vote
2answers
224 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 ...
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
0answers
144 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 ...
1
vote
1answer
166 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 ...
1
vote
0answers
37 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?