Questions tagged [configuration]
General settings of all the modules, either core or third party.
236
questions with no upvoted or accepted answers
5
votes
1
answer
410
views
Is there a way to temporary change a configuration value during runtime? (no saving)
I want to change a variable during runtime in Magento 2. Is this possible? If I look at how scope configuration works it only exists of getters, but I cannot find a way to manipulate this during ...
5
votes
1
answer
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
2
answers
6k
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
0
answers
438
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',
...
4
votes
2
answers
7k
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
0
answers
1k
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 ...
4
votes
0
answers
174
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....
4
votes
0
answers
1k
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
2
answers
105
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
0
answers
30
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
0
answers
36
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
0
answers
267
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
0
answers
788
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
0
answers
892
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
1
answer
2k
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:
...
3
votes
1
answer
305
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
2
answers
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
0
answers
126
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
1
answer
570
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
0
answers
135
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
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 ...
2
votes
3
answers
243
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
0
answers
159
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
0
answers
251
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
0
answers
653
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
0
answers
323
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
0
answers
55
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
0
answers
15
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
0
answers
49
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
0
answers
241
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
2
answers
639
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
0
answers
363
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
0
answers
576
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
0
answers
537
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
1
answer
297
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
0
answers
890
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
0
answers
98
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
0
answers
425
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
0
answers
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
0
answers
30
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
2
answers
2k
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
0
answers
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
1
answer
464
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
0
answers
49
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
2
answers
689
views
Stripe Warning Webhook
Can anyone know about this warning :
how can I remove this warning?
I have already execute webhook:configure command and add webhook at stripe manually also
and this is multiwebsite
please help me ...
1
vote
0
answers
189
views
Magento 2.4 cant delete old indices from elastic search AWS server
I am having a problem in elasticsearch it doesnt delete old indices when reindexing I am getting this message in var/log/exception.log
[2022-08-10 08:05:36] main.CRITICAL: {"error":{"...
1
vote
0
answers
336
views
How to make a dynamic row column another dynamic row in stores -> configuration
i am trying to make dynamic row field type another dynamic row, it is possible in form, i already have a example, but in ui_component form like this
in form it is made by xml, but in stores ...
1
vote
1
answer
229
views
Nginx 502 - [error] 11679#0: *1 upstream sent too big header while reading response header from upstream, client: 127.0.0.1
I'm doing a local installation of an existing project and facing some issues to make it work.
I keep getting **502 Bad Gateway - nginx **, when I check the error log, I see that the domain is being ...
1
vote
0
answers
36
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
0
answers
35
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?