·

customers

Customer Sessions, the Depersonalizer and caching in Magento 2

So recently I had this task… To make a long story short: In Magento you can do every thing in ten different ways. One of the ways of solving my task was by adding a CSS class to the body-tag, but only when the customer is logged in. Now one of the cool things about read further ...

Magento unit testing with specific customers

Sometimes you have the situation where you have to write unit tests for Magento that involves Magento customers. If – for example – you have some business logic that depends on certain customer- (or address-) attributes, you want to make sure your code works as expected before you’re deploying it to a live server. Unit testing read further ...

Import customers in Magento blazing fast

Recently I had the challenge to import customers from an existing OsCommerce installation into a new Magento setup. Initially, I tried it the Magento way, but very soon I stumbled upon a little problem: the amount of customers was over the 160.000, and importing it with Magento models would take 4 or 5 days! And then read further ...