Currently browsing

MVC Developers Part 7 – Custom System Configuration

One of the most powerful elements of the Magento e-commerce system is the System Admin Config section. As a developer, will it allow you to quickly and easily set, elements that allow your end-users to their system and your Magento custom modules to configure.

Like a lot of things in Magento can be intimidating the first time you try to install a new configuration section from scratch, but once you done it once the power of (almost) code will form a less addictive. Let us begin.

Magento Model Code Generation

This is a quick one for advanced users, is a recent problem, I answered StackOverflow inspired.

Magento as well as about an abstract system as one of the advantages is the opportunity it presents metaprogramming. Drops action in a controller (which is the following code, you can define an internal function in PHP)

Magento – Programmatically insert new attribute option

magento add attribute options programmaticallymagento create attribute programmaticallymagento add image label programaticallymagento add attribute option programmaticallymagento add attribute programmaticallyWell, adding new attribute option from code seems to be easy at first. But in fact, it took me sometime to find out a solution. The main problem is that we need …