·

featured

Responsible Templating in Magento 2

Just because you can do anything in a template doesn’t mean you should. Some of you might already know the S.O.L.I.D way of programming. If you haven’t, it’s really interesting stuff if you want to be a better programmer. And besides that, the S.O.L.I.D principles can be found throughout Magento 2. The S in S.O.L.I.D read further ...

Magento 2 Pools

Magento 2 is packed with a lot of cool design patterns. Most of them you might already know, like dependency injection or interceptors, because they are well-known and well- documented. There are however much more design patterns in Magento 2 that are also worth using. One of these patterns that I use regulary in my read further ...

How to properly calculate FPT/WEEE on configurable products in Magento 2

Recently I stumbled on another nice ‘feature’ of Magento 2. When applying Fixed Product Taxes (FPT) in Magento 2, the functionality seemed a bit … broken. I was trying to apply different FPT’s on the simple children of a configurable product. A client of ours sells refrigerators and their models come in various sizes. We’ve 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 ...

How my online identity got stolen

I’ve been blogging for a while now, so sometimes I get questions in my mailbox from people looking for some help. I never mind helping someone, and if the question is good, I even write an article about it. So when I got an e-mail a couple of weeks ago of someone looking for some help, I wasn’t read further ...

How to write unit tests for your websites’ JavaScript with Mocha

As some of you might know, I’ve already written a lot of posts about unit testing in PHP. But what about your JavaScript? That might require testing too. Especially when it comes to critical functions that involve complex operations. One road you could take to do this is use a headless browser and a testing read further ...

How to create a neat star rating with CSS and JavaScript

So I wrote a simple piece of JavaScript the other day that showcases a neat star rating effect. In this article I’ll not only showcase this effect, but I’ll also explain some of the code that’s going on in it.read further ...