Getting Started with Magento Extension Development

Getting Started with Magento Extension Development
eBook: $20.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $55.98    Print cover: $34.99
save 6%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Get a detailed insight into the structure of Magento
  • Learn about event/observer-driven modules
  • Get a hands-on introduction to custom shipping and payment methods

Book Details

Language : English
Paperback : 128 pages [ 235mm x 191mm ]
Release Date : September 2013
ISBN : 1783280395
ISBN 13 : 9781783280391
Author(s) : Branko Ajzele
Topics and Technologies : All Books, CMS and eCommerce, e-Commerce, Open Source

Table of Contents

Chapter 1: An Overview of Magento Extensions
Chapter 2: Building the Extension – Maximum Order Amount
Chapter 3: Building the Extension – Logger
Chapter 4: Building the Extension – Shipping
Chapter 5: Building the Extension – Payment
Chapter 6: Packaging and Publishing Your Extension
  • Chapter 1: An Overview of Magento Extensions
    • The root directory structure
    • Code pools
    • The theme system
    • Basic extension configuration
    • Controllers
    • Blocks
    • The model, resource, and collection
    • The event/observer pattern
    • Cron jobs
    • Helpers
    • System configuration options
    • Summary

Branko Ajzele

Branko Ajzele is a professional, certified, and highly experienced software developer, focused on e-commerce-related applications. Inventive in problem solving on a day-to-day basis, mostly thanks to his rich, hands-on experience with Magento, he feels comfortable proposing alternatives to demands he feels can be improved, even when this means pulling a late shift to meet deadlines. He is no stranger when it comes to topics such as payment and shipping gateways, order and invoice functionalities, various third-party ERP, and fulfillment system integrations with Magento. He holds several respected IT certifications such as Zend Certified Engineer, Magento Certified Developer Plus, and JavaScript Certified Developer. He currently works as a Chief Technology Officer at Inchoo, a Magento Gold Solution partner company that offers top-quality e-commerce solutions, specializing in the Magento e-commerce platform. He was the first person to join Inchoo after Tomislav (CEO) founded it in May 2008, in Osijek, Croatia. Instant E-Commerce with Magento: Build a Shop by Packt Publishing was his first Magento-related book oriented toward Magento newcomers, after which he decided to write this one for developers.
Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


- 5 submitted: last submission 27 Mar 2014

Errata type: TYPO | Page number: 13

Firstly, all your layout and view files should go under the  /app/design/frontend/defaultdefault/default directory.

should be

Firstly, all your layout and view files should go under the  /app/design/frontend/default/default directory.

Errata type: TYPO | Page number: 28

/* or: $user->setDatata('lastname', 'Doe'); */

should be

/* or: $user->setData('lastname', 'Doe'); */

Errata type: Typo | Page number: 79


should be


Errata type: Typo | Page number: 23


should be


Errata type: Technical | Page number: 32


should be


Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Getting Started with Magento Extension Development +    Metasploit Penetration Testing Cookbook =
50% Off
the second eBook
Price for both: $36.00

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Explore the module structure
  • Learn about Block classes, Model classes, and Controller classes
  • Get to grips with Configuration files
  • Understand the importance of Event/Observer programming
  • Learn CRON jobs
  • Discover the key module functionality

In Detail

Modules, are a group of php and xml files meant to extend the system with new functionality, or override core system behavior. Most of the base Magento system is built using the module system, so you can see why they are an important feature for this rich open-source e-commerce solutions. This book explores key module development techniques and teaches you to modify, understand and structure your modules making it easy for you to get a strong foundation for clean and unobtrusive Magento module development.

Getting Started with Magento Extension Development is a practical, hands-on guide to building Magento modules from scratch. This book provides an in depth introduction and helps you discover features such as; blocks, controllers, models, configuration files, and other crucial elements which contribute to the Magento architecture. This book introduces the you to real-world modules and helps provide a strong foundation which you need to become a professional Magento module developer. The book further explores best practices and tips and tricks offering you the ultimate go to guide.

Getting Started with Magento Extension Development focuses on three areas. First you are guided through the entire Magento structure, where each important directory or file is explored in detail. Then the essence of the module structure and development is explained through the detailed coverage of models, blocks, controllers, configuration, and other files that manifest a single module. Finally, a detailed set of instructions is given for building four real-world modules, including a payment and shipping module.


This project-based tutorial gives you a strong foundation and guides you through practical, real-world examples.

Who this book is for

This book contains valuable insights for both newbies and already established Magento developers. This book is targeted at new and intermediate PHP developers starting afresh with Magento module development.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software