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...
A Blog about Magento e-Commerce System
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...
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...
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...
In this tutorial I show you how to programmatically create coupon codes for a promotion code rule. This was needed, because your shop offers a promotion code for all new newsletter subscribers. For this...
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...
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...
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...
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...
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...
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...