Category: Magento 1

get billing address 0

Magento 1 – get billing address

In my previous post I showed how to get shipping address. To get billing address is nearly the same. The only difference may be the reason why you want to programmatically get it. In...

get shipping address 1

Magento 1 – get shipping address

In this tutorial I show how to get shipping address in Magento 1. There are many options and situations where you need this. You can get it from an order, a current logged in...

block ip addresses 0

Magento 1 – block ip addresses

If you have a running Magento live shop you may have to block ip addresses. This is a good option the protect you shop against attackers. In this tutorial I show you how to...

magento 1 base directories 0

Magento 1 – base directories

With base directories, Magento offers a very simple solution to get Magento directories. If you are writing a module that should work on other Magento installations, you need to depend all files on this...

magento 1 collection iteration optimization 0

Magento 1 – collection iteration optimization

In this tutorial I show you how to optimize collection iteration. If you use large collections, you may have discovered performance problems. Especially for low cost hosting systems, there may be drawbacks if you...

magento 1 speed up product save 4

Magento 1 – speed up product save

In this tutorial I show you how to speed up product save for Magento 1. You may have noticed, that if you call a save() method on a product object it may take some...

How to add a button into admin backend 0

How to add a button into admin backend

In this tutorial I show how to add a button into admin backend. There are verious needs for this, the most common need is to add an additional function to a grid or detail...

magento add regions for country 3

Magento – add regions to country

In my new article I show you how to add new regions to country. Per default there are only some regions in your Magento database. Primarily those from United States. Normally, it is not necessary...

get all Magento StoreViews 0

Get all Magento StoreViews

I show you how to get all Magento StoreViews. In a recent project I had to create user rights for each StoreView, user were only allowed to edit CMS sites for specific Stores. In combination...