Note: This article is based on the article Magento quick way to create order invoice published on 10 June 2010. Update 13 June 2011: Please note that it is recommended that API version 2 is used. The article has been updated to reflect this recommendation. Also please note that the capture() method is not required … Continue reading Creating an Invoice
Adding a static block to a template using layout files
Static blocks are a means of allowing store owners to modify the text displayed in sections of a page from the admin site. For example, a static block can be added to the header to show seasonal promotions. Static blocks can be added to templates through the use of layout files. Adding a static block … Continue reading Adding a static block to a template using layout files
It’s Google vs Apple for digital media publishing
Just a couple of days ago, Google and Apple announced subscription based services offering publishers new possibilities to distribute digital content. Traditionally, publishers were and to a certain extent, are still reluctant to sell their content via such services. The reason is very simple; piracy, which directly hits the publishers’ income. However, the success of … Continue reading It’s Google vs Apple for digital media publishing
C# Parameterless Properties – (Part II)
C# Parameterless Properties – An Example Few weeks ago we investigated how C# Properties are emitted by IL. We saw how the value implicit parameter is introduced and used. In this article we take a look how one can leverage Properties’ potential to build more robust code. The code is self-explanatory and comments are added … Continue reading C# Parameterless Properties – (Part II)
C# Parameterless Properties – (Part 1)
In this blog entry we will take a look at C# Properties. Properties in C# are used as fields. Their main purpose is to isolate the actual data by allowing the developer to perform some validation prior the client access the guarded member variable. Properties are meant to be simple and efficient. In Object Oriented … Continue reading C# Parameterless Properties – (Part 1)