Highest scored questions
113,336 questions
176
votes
10
answers
26k
views
Studying to become a Magento Certified Developer
I have been considering studying to become a Magento Certified Developer.
When I look at the study guide I see a lot of questions that I can answer, however, the problem is I don't really know what ...
163
votes
10
answers
198k
views
To use or not to use the ObjectManager directly?
Ok, so yesterday we had a big talk with other people from the Magento community regarding the direct use of the ObjectManager in classes/templates.
I'm already aware of the reasons why we shouldn't ...
148
votes
5
answers
12k
views
How to write a custom extension?
Because I had a lot of issues lately with free and commercial extension I've decided to ask this question and answer it with the steps I usually follow when writing an extension. Feel free to edit the ...
144
votes
22
answers
337k
views
Magento 2: Replacement for Mage::log method?
In Magento 1, if you wanted to send a message to the logs, you'd use a static method on the global Mage class.
Mage::log($message, Zend_Log::DEBUG, "my-log-file.log");
Is there an ...
141
votes
15
answers
58k
views
Security Patch SUPEE-7405 - Possible Problems?
It's time for another patch day, SUPEE-7405 for Magento 1.x is out and the list of fixes is long: https://magento.com/security/patches/supee-7405
After the experience with the last patches, I have to ...
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 ...
122
votes
9
answers
53k
views
How to test or style the order success page?
If I reload the checkout/onepage/success page, I am directed to the cart.
So, when debugging or styling the order success page, I always have to make a new order.
How can I do this more efficiently?
113
votes
13
answers
77k
views
Magento core_url_rewrite table excessively large
I've noticed a large amount of reports that this table itself can become extremely cluttered, I'm running a site with ~5000 SKUs and ~250 categories (single-store) and a resultant core_url_rewrite ...
112
votes
6
answers
48k
views
When Should We Use a Repository and Factory in Magento 2?
I have gone through a couple of tutorials in Magento 2, and this confuses me a little. I can see there are basically two ways by which we can read/write business entities:
Retrieve Data
Using A ...
111
votes
30
answers
53k
views
Security Patch SUPEE-8788 - Possible Problems?
The latest Magento 1 security patch SUPEE-8788 contains 17 APPSEC updates, so it is very important to apply it as soon as possible. On the other hand, there are many potential backward compatibility ...
110
votes
23
answers
36k
views
Security Patch SUPEE-9767 - Possible issues?
A new security patch is out for Magento 1, addressing 16 APPSEC issues: https://magento.com/security/patches/supee-9767
Seven of the vulnerabilities score 8.0 or higher for CVSSv3 Severity, and they ...
106
votes
4
answers
60k
views
Explanation of UI Component Grid in Magento 2
Is there a good explaination and/or sample of the bare minimum configuration needed to create a UI Component Grid in Magento 2?
I know there are myriad core components, such as
./vendor/magento/...
104
votes
13
answers
40k
views
How can I bootstrap Magento 2 in a test.php script?
In magento 1 I could create a file where I only needed to instantiate the Mage_Core_Model_App class and then I could add my "dirty" code for test purposes.
Something like this test.php:
<?php
//...
102
votes
16
answers
192k
views
New order email confirmation not being sent
I have upgraded my website to 1.9.1 and now my customers are not receiving order confirmation email.
I tried sending through the admin panel but nothing happens, also no update email is being ...
100
votes
18
answers
202k
views
Magento 1.9 Can’t login to admin panel!
I have installed Magento 1.9. It was working well for a week. Suddenly yesterday, when I tried to log in to the Magento admin panel and I typed username and password, clicked the Login button and ...