Magento Developer

Layout Element – . Block Type. Define an Output Block

Layout Element – <Block>. Block Type. Define an Output Block

Mаgentо defines visual structure and behavior of each page block via the tag <block>.  As we know, in Mаgentо there are 2 types of blocks: structural and content. Both of them can be defined by the element <block>.

So, what is the <block> element?

<Block> – This element is used to define a new block. The element is usually defined within the reference element, when we want to create a new block. The block element must have two attributes: name and type. The first one is a unique identifier of the block in the layout while the second one defines the block class name. If the block is of type or subtype of core/template, it can also have the template attribute which defines the actual phtml template file to be used for rendering the block. (more…)

Getting Started with Magento Extension Development Book Review

Getting Started with Magento Extension Development Book Review

I remember the day when I was asked to develop my first Magento extension. I was scared as I knew what a beast Magento was and that developing modules is a challenging task even for very experienced PHP developers. There were no good sources of information back in the day – no books, no detailed tutorials, except for a very basic, Hello World extensions. I mean there were and still are articles where you can understand some basics, also you’re always allowed to view the source of Magento core and well-written community extensions to understand how to write an extension but still there was a gap and a lack of a practical, hands-on guide to building Magento modules from scratch. Then Magento published its own Magento Extension Developer’s Guide and few months ago, in September 2013, Packt Publishing released a new 128 pages book called Getting Started with Magento Extension Development by Branko Ajzele. (more…)

Application Initialization (Magento Certified Developer Exam)

Application Initialization (Magento Certified Developer Exam)

Our another Magento certification-dedicated article describes the steps for application initialization.

Magento initialization process starts in index.php (with the exception of Magento integrated with some other sites or CMS).

Let’s take a look at the code of this file. Magento developers made their comments using multi line comment and PHPDoc style comments, so for my own comments I’ll use one line style (so called c++ style) comments. (more…)

Internationalization (Magento Certified Developer Exam)

Internationalization (Magento Certified Developer Exam)

We continue posting Magento certification-dedicated articles in our blog. This time we will describe how to internationalize your Magento site.

Magento can manage multiple stores in a single installation. There are three layers in this hierarchy – websites, stores and store views.

The top level is Website. It’s made up of one or multiple stores. They in turn are made up of one or multiple store views. Stores have the same customers, orders and shopping carts. They are set of store views and the main idea of stores is to group store views in a website.

Most of Magento installations have only one website with one store and only one store view. As store Views are the actual store instances, they are typically used for internationalization purposes, i.e. translation of your store into different languages. Therefore, if you need to display your store in multiple languages, for example English, French and German, you should create the store once and then create three different store views for this particular store. (more…)

How to Start With Magento

How to Start With Magento

There is no secret that Magento is the most popular eCommerce CMS in the world. But when you decide to work with Magento (taking into account that you are already familiar with PHP, Javasript, MySQL) and download its archive, you could be frustrated when you see all these hundreds of folders and thousands of files.

A few years ago there was a very limited amount of information provided by Magento itself. In my opinion, this fact and complexity of the platform lead to the situation that even if you want to do everything right, it’s hard to say which way is the right one. But time has changed and there are a lot of good sources developed by Magento and its eco-system.


Welcome to BelVG ecommerce blog

Our blog is a place where we share some thoughts, news and guidelines of our company developers with you. Our main topics are Magento, Prestashop and Oxid – the platforms we have mastered.

Our goal is to provide really useful information to our readers – clients, developers and e-shop owners. Feel free to look around – if you are in any way related to e-commerce, we are sure you will find some articles to your taste and interests. Moreover – don’t hesitate to comment or ask a question on any topic you see. Our authors are certified Magento developers themselves and are ready to answer you.