Most Popular
1500 questions
175
votes
10 answers
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 they are expecting me to answer.
For example this…
Rick Kuipers
- 4,260
- 2
- 20
- 24
160
votes
10 answers
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 use the ObjectManager directly, quoting Alan Kent…
Raphael at Digital Pianism
- 70,385
- 34
- 188
- 352
148
votes
5 answers
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 answer or add a new one.
In most of the cases…
Marius
- 197,939
- 53
- 422
- 830
143
votes
22 answers
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 equivalent in Magento 2? I've googled through the dev docs site and…
Alana Storm
- 44,345
- 35
- 168
- 353
141
votes
15 answers
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 ask again: what are the possible problems when…
Fabian Schmengler
- 65,791
- 25
- 187
- 421
125
votes
5 answers
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 are coming in at 800ms.
The site at the moment…
lukefowell
- 1,967
- 3
- 17
- 19
122
votes
9 answers
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?
Alex
- 13,817
- 19
- 82
- 163
113
votes
13 answers
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 table of over 600,000 lines and over 500MB large…
Moose
- 7,495
- 7
- 48
- 91
110
votes
23 answers
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 are being exploited in the wild, so this is a…
Ryan Hoerr
- 12,271
- 7
- 47
- 54
110
votes
30 answers
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 breaks, and given the history of patches over the…
Fabian Schmengler
- 65,791
- 25
- 187
- 421
109
votes
6 answers
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 Factory Approach
$object =…
Rajeev K Tomy
- 17,234
- 6
- 61
- 103
105
votes
4 answers
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…
Alana Storm
- 44,345
- 35
- 168
- 353
103
votes
13 answers
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:
Marius
- 197,939
- 53
- 422
- 830
102
votes
16 answers
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 received.
user16826
- 1,029
- 2
- 8
- 3
100
votes
18 answers
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 nothing happened. The page refreshes and that’s all.…
SIBHI S
- 2,055
- 4
- 28
- 41