Currently browsing

Magento Developer Certification Topics Index

1 – Basics This topic comprises approximately 5% of the exam. Questions are drawn randomly from the following objectives: Fundamentals ○ Describe and apply basic principles and processes of Object Oriented Programming (OOP) and Model-View-Controller (MVC) to build Magento websites ○ Identify and describe the principles of Event-Driven Architecture (EDA) …

Understanding about Magento Block in Magento MVC pattern

Many developers are familiar with the MVC (Model View Controller) design pattern that is seemingly ubiquitous throughout web frameworks. Looking through the code in Magento, however, we see many other components besides the M’s the V’s and the C’s. Each module (a “module” meaning the separate directories within the “app/code/core/Mage” …

Magento Core Bugs and Patchs

Categories are not appearing when editing products Apply to Magento 1.5 CE File path app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Categories.php Function public function getSelectedCategoriesPathIds($rootId = false) Related problem : categories do not expand in admin,  categories suddenly disappear,  categories do not show when edit product Patch public function getSelectedCategoriesPathIds($rootId = false) { $ids = array(); $collection = Mage::getModel(‘catalog/category’)->getCollection() ->addFieldToFilter(‘entity_id’, array(‘in’=>$this->getCategoryIds())); foreach ($collection as …

Magento – How to Add JQuery/Ajax Add-To-Cart

So, the thing Ajax and all being, I was hunting for a way to an item to add the car with a Ajax call in Magento. Recently, I noticed there was a module that apparently either did not I, but had not seen it or did not exist when I wrote this, so I hacked my way through it.

PHP is not my primary language – I'm from the ASP, ASP.Net, C # world, but Magento was convincing enough that I took the plunge. I'm sure there are many things I do better / differently than here, so if you could get some suggestions, I'm all ears!

MVC Developers Part 6 – Entity Attribute Value

In our last article we told you there were two types of models in Magento. Regular, or “simple” models, and entity attribute value (or EAV) model. We also told you this was a bit of a fib. Here is where we come clean.

The following is part of a longer series on Magento aimed at developers familiar with PHP MVC development. Although each article can be read stand alone, each article is based on concepts and code covered in previous articles. If you are confused, especially to catch up on the earlier work first.