Questions tagged [configuration]
General settings of all the modules, either core or third party.
1,026
questions
125
votes
5
answers
50k
views
What is the Best Magento 1 Server Setup?
We are currently working with a requirement that first response from the web server must come in under 200ms in the UK. Currently under 2 dedicated web servers under load balancer and 1 db server, we ...
90
votes
31
answers
129k
views
Required parameter 'theme_dir' was not passed
What is the error message:
Required parameter 'theme_dir' was not passed
Is it related to in Magento 2? And how can this problem be fixed?
61
votes
8
answers
67k
views
Magento 2 backend session timeout
In Magento 1.x the backend session timeout was set via:
Backend -> System -> Configuration -> Admin -> Security -> Session Lifetime (seconds)
Initially, my question was how to set this ...
50
votes
5
answers
57k
views
Search Type: Like, Full Text or Combined?
What is the difference between the different search types?
Like
Full Text
Combined
I am specially interested in how the search behavior and performance changes for those settings.
35
votes
2
answers
39k
views
Magento 2: Default Values for `system.xml` Configuration
In Magento 1, it was possible to
Configuration a user interface for the System Configuration section in etc/system.xml files
Set default values for those fields in the etc/config.xml files
Behind ...
32
votes
3
answers
68k
views
How can I change the default product images sizes on Magento 2?
In magento 1.x.x, we could change default thumbnail images in admin :
System > Configuration > Catalog
But in magento 2.0, how can I change theses value I can not seem to find any configs to allow ...
31
votes
10
answers
48k
views
How to change the Admin session time in Magento?
It is possible that sometimes the time that the admin session is active is too short.
How to change the time it takes to auto-logoff the user from the back-end?
31
votes
2
answers
28k
views
Magento CSS and JavaScript not loading due to using file system path
I was unable to install a module using Magento Connect, getting a Connection Error try again later error. Following the instructions of the module developer I attempted to fix permissions in the ...
30
votes
5
answers
24k
views
Different storeviews or websites in subfolders
A client wants his multistore shop to be set up like this:
http://www.domain1.org/de/ -> website 1, store view 1
http://www.domain1.org/en/ -> website 1, store view 2
http://www.domain1.ch/de/ -> ...
29
votes
6
answers
27k
views
Magento 2: Programmatically Add a Value to `core_config_data`
Does Magento 2 have a high level abstraction that allows end-user-programmers to update configuration values in the core_config_data table? Or is using straight SQL the only way to do this in Magento ...
26
votes
2
answers
11k
views
Magento Authorize.net - Authorize and Capture vs. Authorize Only
When setting up a new Magento configuration, in the payments section I am given a couple different options for Payment Action under Authorize.net. Specifically Authoize and Capture and Authorize Only.
...
25
votes
5
answers
27k
views
Magento 2 - How to get the extension's configuration values in the phtml files?
I'm working with Magento 2 - beta.
But cannot find how to get the configuration values in the phtml files.
eg: I want to get my custom modules configuration values in Magento_Catalog/templates/...
25
votes
2
answers
27k
views
product attribute to quote item and order item
What is the correct way in Magento to have a product attribute be automatically persisted to quote an item and then finally to order item?
Is it as simple as a little config XML or is it a manual ...
23
votes
5
answers
9k
views
How do I get a list of all class rewrites?
Is there a way to list all rewrites and maybe other potential conflicts besides reviewing all configuration files? I have to analyse some projects with lots of extensions and custom modifications and ...
23
votes
6
answers
35k
views
Permanent solution for the common indexing issue
We have developed some magento project with large inventory record and always face the indexing issue we have tried every thing found on the internet for solving day-to-day indexing issue like ...
23
votes
4
answers
20k
views
How to use setup scripts for your module?
I realize, you can use setup scripts for your own module by declaring them in the etc/config.xml file of your module within the <global> space like this:
<resources>
<catalog_setup&...
23
votes
4
answers
45k
views
Best Practices Way to Edit Magento Top-Links
Let's say we want to add a shopping cart icon right before the "My Cart" link on Magento's top links (see top links below).
What is the best way to do this?
Do something to toplinks.php?
Do ...
23
votes
1
answer
4k
views
How can I have a custom XML file in modules merged as one in Magento 2? (MageStackDay mystery question 2)
MageStackDay bonus question for 500pts Bounty AND a the possibility of winning a free Z-Ray license for a year. More info can be found >> here <<
The questions are provided/inspired by Magento ...
21
votes
4
answers
11k
views
Magento 2 - Homepage is 404
Am struggling with a strange error in magento 2.
Have a setup where i have removed some stores, so now only single store.
Am trying to set the home page in admin (CMS Home Page)
No matter what I ...
21
votes
4
answers
16k
views
Get Config Value for Website Scope
How can I get a configuration value for a specific website?
There is Mage::getStoreConfig() but no Mage::getWebsiteConfig().
edit:
I am exporting configuration data on website level - so somehow I ...
21
votes
2
answers
7k
views
How can I set per-website defaults in config.xml?
With custom modules I prefer to put system config settings in config.xml (the default settings part). This makes it easier when I push code from my local machine to a dev/staging/live environment as I ...
21
votes
3
answers
6k
views
How to add WYSIWYG functionality to Magento Config items
For a certain custom module I need a config item to have a WYSIWYG editor.
At this moment I am using "textarea" in my system xml to get a normal textarea.
My guess is I have to add an extra "...
21
votes
4
answers
4k
views
Magento 2: How Should Module Developers Read their Own Configuration Files
Scenario: I am a Magento 2 module developer. I want to create a configuration file in app/etc. I want this file to be "scoped" by area
app/etc/my_file.xml
app/etc/frontend/my_file.xml
app/etc/...
20
votes
3
answers
18k
views
Magento 2.2.0 missing admin developer configuration
I tried to upgrade my Magento into 2.2.0. And I see that is missing Advanced and Developer items. Is it me? Why it's happening this?
19
votes
6
answers
13k
views
Speeding up cart to checkout and checkout save actions
I'm running several Magento CE shops and speed them up with caching, however the cart and checkout still remain slow. Does anyone have experience or tips in speeding up these pages?
Perhaps through ...
19
votes
1
answer
8k
views
Magento 2. Retrieve information from env.php programmatically
I wish to read and use information stored in my env.php. Is there an entity that I can use to achieve this?
Any tips are highly appreciated.
Thanks.
19
votes
2
answers
5k
views
Magento 2: How to Check if a Module's Installed
In Magento 2, is it possible to check if a module's installed at runtime?
In Magento 1 I'd either use the isModuleEnabled helper method, or manually fetch the global configuration tree and check the ...
19
votes
2
answers
1k
views
Magento 2 DI best practices
Let's say I'm building a Magento 2 extension that does....well...not important. Let's say it does super awesome stuff.
But I want to make sure that this is build using the proper standards so other ...
18
votes
5
answers
7k
views
Magento Displaying appropriate localisation based on Location
I'd like to configure the Magento site to be able to recognize the default language and location of the user and display the site in that language and with appropriate localization.
For example:
A ...
18
votes
6
answers
17k
views
How to get store phone number in magento 2
I want to display phone number saved in magento admin in frontend in magento 2.
Like in magento 1.9 its like
$storePhone = Mage::getStoreConfig('general/store_information/phone');
18
votes
3
answers
4k
views
Magento running on Percona Server with XtraDB
Does anyone have any experience with
Magento db running on Percona Server with XtraDB?
Benchmarking, stres testing, numbers... anything
18
votes
1
answer
3k
views
app/etc/config.php in VCS or not
I have a question related with file app/etc/config.php.
This file described here and defined:
Magento base dir/app/etc/config.php, which contains the list of installed modules, themes, and ...
18
votes
3
answers
830
views
EcomDev_PHPUnit set up in Magento EE 1.13
I am trying to set up EComDev_PHPUnit in EE 1.13 as per the instructions in
https://github.com/EcomDev/EcomDev_PHPUnit
Well first hurdle was to get modman working but I gave up and copied over the ...
17
votes
1
answer
9k
views
Where do I find the SYSTEM VALUE defaults? magento 2.1
I want to change the url rewrite area a bit - and I thought I would ask this question that has been bugging me for a bit:
Where are the defaults set? For example for url rewrites, I have to uncheck "...
17
votes
1
answer
9k
views
config.xml vs local.xml
What is the difference between app/etc/config.xml and app/etc/local.xml?
I feel like some configurations are duplicated. I always have to deal w/ local.xml, so what is the purpose of having all that ...
16
votes
1
answer
12k
views
404 not found error while creating custom group and fields in system configuration
I am trying to create a group and some fields for my custom section under custom tab
Tab and section is getting created.But when i click on the section in the content area it shows 404 not found ...
16
votes
5
answers
8k
views
what is the difference between disable module output and module active = true
In magento I come to knew that we can disabel our module by two ways
By navigating in the Magento backend to System > Configuration > Advanced > Disable modules output we can easily disable certain ...
16
votes
4
answers
20k
views
How do I enable version 1.9 maintenance flag with admin access
Because I do not see Maintenance Mode in the version 1.9 UI System > Configuration, I dropped a maintenance.flag file in the site root. However that also blocks my admin panel access. Can someone ...
16
votes
3
answers
28k
views
Magento : Fatal error: Class 'Mage_Giftcards_Helper_Data' not found in …/app/Mage.php on line 546
I have installed one module extension which throws an fatal error
"Fatal error: Class 'Mage_Giftcards_Helper_Data' not found in ..../app/Mage.php on line 546" in admin.
I have reffered this link ...
16
votes
5
answers
11k
views
Configuring Design "Exception" Strings for "Mobile" Devices
What Exception strings are "state of the art" for redirecting iPhone, iPad, Android, tablet, etc. users to a different design?
That is, I realize in the
System -> Configuration -> Design
user ...
16
votes
2
answers
5k
views
Magento Automatic Caching Insight
We are running Magento EE 1.11 with memcache. 2GB per memcahce server, 4GB total. We have about 240k products.
Available ram: 6GB
Cores: 16
Threads: 32
Here is the deal, more new products are added ...
16
votes
2
answers
19k
views
When should I use the category flat table option?
As a follow-up to a previous question I would like to know:
When should I use the category flat table option?
While googling I found an advice to enable it "when you have very much categories".
But ...
16
votes
1
answer
877
views
FedEx service - "Free method" impossibly affecting rates
The FedEx shipping method allows one to set a free shipping method and set a minimum order amount for it to be applied.
Item in Cart
Product Weight = 22.17lbs
Qty = 7
Configuration A
Packages ...
15
votes
2
answers
20k
views
How to get data from config.xml of a module
In the module A I need to get some data from file config.xml of modules B and C.
Are there any methods or classes dedicated for this?
Especialy I need to get XML structure and values of node <...
15
votes
3
answers
12k
views
How to rewrite a class that has already been rewritten?
Update: I found that the class I actually need to rewrite is SMDesign_SMDZoom_Block_Product_View_Media and not SMDesign_ColorswatchProductView_Block_Product_View_Media like I originally thought. ...
15
votes
2
answers
9k
views
How can I set configuration values in Magento 2?
Previously (in Magento 1, that is) we created a module called Setup which contained setting for the site. The upgrade scripts looks something like this:
$installer = $this;
$installer->startSetup()...
15
votes
1
answer
17k
views
How to override config.xml
I need to change contact us page email template type from "text" to "HTML". I found it is in the config.xml
<email>
<contacts_email_email_template translate="label" module="contacts">...
15
votes
3
answers
27k
views
What is the cause of "Front controller reached 100 router match iterations" error?
As a Magento developer I have faced this problem tons of times, I know it is a misconfiguration problem when it occurs some modules are not loaded, neither their routers, causing the error. Most of ...
15
votes
7
answers
8k
views
Having multiple store views share the same order increment_id number range
Can Magento be configured in a way, that multiple store views of the same website can share the same order increment_id number range? And if so, how?
For example, with a multistore setup like this in ...
14
votes
3
answers
20k
views
Magento 2 : Field depends in system.xml when fields are not in the same group
How can you set <depends> for a field which is not in the same group of fields
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...