·

Magento

Have a minute for the cron?

So here’s something you might already have stumbled into: Ever had the situation where you wanted a cronjob to run every minute, but it turned out it only ran every 15 minutes? Turns out this isn’t a bug, but rather a feature!read further ...

My visit to the Dutch Magento Unconference 2017

So last weekend I visited the Dutch Magento Unconference 2017. For those of you who don’t know what an unconference is: it’s like a conference, only the topics are not pre-determined; the topics are determined by the audience that attends an unconference. For example, if you want to talk about something, want to learn more read further ...

Customer Tax and Discount Rules

Even though I’ve been working with Magento for some years now, the combination of discount rules and tax rules has always been some kind of mathematical mystery. In basic, there are 2 parameters: Apply customer tax before or after the discount. Apply discount rules on prices on prices including or excluding tax. The combination of read further ...

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 ...

1 2 3 6