Category / Programming

Magento learning – developer’s first touch

Featured Image

svilen001@sxc.hu

Hello everybody! Hello whole Magento community! Until now i wrote articles most about Symfony2 and some about Android platform. Someone somewhere said: “man has got to do what men has …

7

Reusing Magento’s calendar control

Featured Image

One of the cool things in Magento is that there is so many controls (widgets, blocks), etc. that you can reuse on the frontend or on the backend. One such …

9

Creating an EAV based model(s) in Magento

Featured Image

Magento database heavily utilizes an Entity-Attribute-Value (EAV) data model. However, the cost of flexibility is often complexity. The process of manipulating EAV data in Magento is often more difficult than …

14

Selective attribute sorting

Featured Image

When you have a large scale Magento store with thousands of products in every top-level category, dozens or even hundreds of offered filters for a single attribute in your layered …

8

Configuring Magento for development

Featured Image

New to the Magento or just used to doing things one way? Here are few tips for configuring Magento for development, in case you overlooked them. Please note, the more …

7

How to disable Magento event

Featured Image

There are some cases where you will wish to disable Magento event. For example, in one our projects we decided to disable all “Mage_Log” events in order to decrease number …

1

Guide through Magento’s timezones

Featured Image

I’ll guide you through Magento’s timezone behavior, as I’ve noticed that people tend to get confused in cases when they have 2 or more websites with different timezones. If this …

2

Emulate store in Magento

Featured Image

Magento 1.5 introduced very interesting piece of code that enables easy store emulation when programming, Emulation model a.k.a. Mage_Core_Model_App_Emulation class.

3

How to translate product names in Magento through .csv files

Featured Image

Let’s add to cart one item from our Magento community edition. If you have MCE with sample data you can visit something like this: http://loc.magento.com/sony-vaio-vgn-txn27n-b-11-1-notebook-pc.html?___store=german&___from_store=default Add item to your cart …

10

Facebook “Friends Already Connected” functionality

Featured Image

I had a request to implement Facebook “Friends Already Connected” functionality together with “Facebook Connect” into Magento’s registration form. For Facebook Connect, I used old Ivan Weiler’s extension as base. …

3

Layered navigation, but not quite

Featured Image

Ho to rewrite Magento’s layered navigation functionality so that all of the “filters” are visible all the time. That way customer can re-filter products in current category without the need to first return to the category view.

30

There’s no “EMPTY CART” on Magento’s cart page

Featured Image

Or at least, hasn’t been there yet. Recently I had to do one too many cart tests, and one of most annoying things was when I had to empty it, …

32

Magento PayPal Standard – How to pay with currency other than base one and do it in your language

Featured Image

Let’s assume that you have a task to implement multiple currency feature in some Magento based project. What will happen if your client choses PayPal standard as payment method?! Well, …

47

Insert dynamical menu in Magento’s Admin

Featured Image

Hello everyone! I’ve recently got frustrated with Magento’s core functionality which requires XML definition for Administration menus. And I really wanted to add quick website / store links to it. …

6

Configurable product modification in Magento

Featured Image

In this article, I’ll give you extension that will change drop down selection (select field) to radio buttons on configurable products in Magento Community edition.

112

Logging user/customer actions in Magento

Featured Image

Recently I wrote a Magento extension called ActionLogger, inspired (thematically) by the “Logging of Administrator Actions” feature available in Magento Enterprise. ActionLogger is pretty simple extension, working on pretty simple …

30

Magento PDF invoice with product images extension

Featured Image

Hello everyone, short while after I wrote article Add custom attribute to Magento’s PDF invoice I received quite a number of requests for explanation on how to add products images …

17

Create configuration for your Magento extension

Featured Image

Today I’m going to give you and quick HOW-TO for beginners on how to create simple configuration for your extension inside Magento’s configuration section. If you’re interested, read on:

20

Magento code library – Handling files and folders

Featured Image

Among most often custom coding tasks are usually those related to some import/export between Magento and other system. Usually existing store owners when switching from their current shop system to …

3

Add gift message to Magento’s PDF packingslip

Featured Image

To be honest, I have never been working with gift messages in Magento, so I got very surprised once I saw that there is no output for it in any …

8