·

Magento

Magento’s Magical Getters and Setters demystified

For those of you who are already familiar with Magento 1 or 2, this article will tell you nothing new. For those who are new to Magento, this article is fundamental information for almost every class in Magento. If you are one of those pupils that are new to Magento, keep on reading… Getters and Setters read further ...

Creating a module in Magento 2

A module in Magento 2 is one of the things you’ll encounter (and create) the most when developing with Magento 2. Basically everything in Magento is a module, and if you want to add some custom functionality of your own, chances are that you need to create a module for it. In this article I’ll read further ...

Magento 2 Development from scratch

Magento 2 is now out for a couple of months and since recently I too have begun developing with this new version of the e-commerce platform. On my blog I will set out a series of posts that will cover a lot of topics for those diving into the world of Magento 2 development. This read further ...

Find translateable strings in Magento PHP Files

So here’s a nice little one-liner you can use to find strings that require translation in your Magento projects. Just go to the folder of your theme or extension and execute the following command: What it does, it looks for occurances of __(‘ anything ‘)  in your code and creates a typical Magento CSV-translation string read further ...

Solving ‘Too late for the schedule’ with Magento crons

You’ve probably all encountered the ‘Too late for the schedule’-error in Magento at some point in your career as a Magento Developer: A cron is not working, and when you check the cron_schedule  table in your database, you see numerous records with this message. This error occurs when the Magento cron is trying to run a read further ...

Create an install- or upgrade script in Magento that creates a product attribute

When writing Magento Modules (or updating them), you’ll often find yourself in the situation where some of the functionality depends on the presence of a specific product attribute. As you know, you can use an installer script to create product attributes programmatically, just like you can create static blocks programmatically. Since I encounter this situation read further ...

How to solve the ever-growing core_url_rewrite table in Magento

Got an ever-growing core_url_rewrite  table in Magento? Don’t know what’s going on? I encountered this problem today: when I re-indexed my catalog URL’s, for some reason Magento added some extra rows. And it would keep on doing this each time I re-indexed it, when no product were even added, deleted or even modified. This was read further ...

How to programmatically create URL Rewrites in Magento Community

I already covered this topic before for Magento Enterprise, but of course: there are cases you need to import 301 redirects into Magento Community at some point. Here’s how to do this:read further ...

Fixing Magento’s slow backend when using AheadWorks plugins

First of: this isn’t a rant for AheadWorks: they offer great plugins which save us lots and lots of time. However: there is something to mention here. When I was using the Blog and the Advanced Reports modules, I noticed a serious drop in performance in the backend. All of a sudden it took 10 read further ...

1 2 3 6