Posts

Add Custom Buttons to Order View Pages in Magento

This article demonstrates how to add custom buttons to order view pages in Magento.
Within the order, invoice and shipment view pages in the admin, the orange buttons located at the top are located within a form container template that is rendered by one of Magento’s default form container blocks.

A lot of posts ...

Creating a Module in ZF2

This article will focus on creating a module in ZF2. If you have read the previous article about the introduction to the ZF2 Skeleton Application, you should be well equipped to start creating your own module and building on top of the framework.
To start with, a name for the module is needed. For the ...

Introduction to the ZF2 Skeleton Application

This article will provide an Introduction to the ZF2 Skeleton Application covering the basics that will help you understand the concept of how Zend Framework 2 can work in a real-world application.
If you have downloaded the application and followed the installation process, you should see something like this when you load the page.

Anonymising Data on a Magento Development Site

Often when copying data from a production website to a development environment, common requests from clients is to obfuscate customer data to remove any resemblance of real customer information. So how do we go about anonymising data on a Magento development site?
It’s important to note the areas of data that will need to be ...

Directory Structure Within Magento 2

The directory structure within Magento 2 has changed compared to earlier versions of Magento.
Learning the locations of the files and folders in Magento 2 might take some time, however there are similarities with the Magento 1 structure.
If you have downloaded Magento from the Magento website, the root directory will look like the following.

Adding and Removing Top Links in Magento 2

It is quite common for developers to customise their website header by adding and removing top links in Magento 2. Similar to earlier versions of Magento, the links are added within several layout XML files.
If you have installed Magento via Composer, the location of the customer-related links will be found in the following path.

Override Admin Templates Within Magento

As well as making modifications to template files on the frontend of the website, sometimes it is necessary to override admin templates within Magento to provide additional functionality.
Let’s assume we want to make a modification to the order screen when clicking on an order under the Sales -> Orders section in the admin.

Adding, Committing and Pushing with Git

Following on from the getting started with Git tutorial, this article will focus on adding, committing and pushing with Git.
Firstly, take a look at the image below.

Don’t worry if you do not understand everything in this image. For now, focus on the different ‘areas’.

Working Directory
Staging Area
Local Repo
Remote ...

CSS Specificity

CSS Specificity determines what CSS rule should be applied in the browser. It is common belief that rules have higher priority if they are declared further down in the CSS file. This is not always the case. Consider the following code below.
:et’s assume that the following rule within a CSS file is in place.

HTML5 Introduction

HTML5 is the fifth and latest revision of HTML. Its initial release was in October 2014 and includes features that natively support multimedia and graphical content.
To get started with HTML5, declare that the document contains HTML5 markup by using the HTML5 doctype declaration.
<!DOCTYPE html>
Within an HTML5 page, the charset should be declared. ...