Continued Magento 1 Support ⋅ 7-Day Money-back guarantee ⋅ Implemented by a Magento Certified Developer


Category Coding Tipps

4 Tasks When Taking Over Legacy Projects

In my daily work I regularly take over legacy projects from customers that have a relatively old code base and shall be upgraded in order to be compatible with latest software versions, PHP versions and so on. Within those projects I always use several techniques to quickly get to work but at the same time carefully try to not introduce new defects.

In the following blog post I will take you through several tips when you take over legacy projects .

How to disable the Gift Message Extension in Magento 1?

While tweaking your Magento 1 online shop for performance you might have come into try to remove the default Mage_GiftMessage extension.
Unfortunately like many other default modules this module cannot be removed so easily because of some errorneous, hidden dependencies in other modules.
So let’s have a look what needs to be done in order to remove the default Magento gift message extension.

How to remove Prototype in Magento?

As we all know Magento 1 was using latest technologies at the time it has been published more than 10 years ago in 2008. In the meantime, of course, used libraries and development patterns have been outdated, so is the case with Prototype. This post is about how to start to remove the Prototype library from Magento 1 or OpenMage.

Hugo Deployments with Bitbucket Pipelines

Bitbucket has a great feature called Bitbucket Pipelines with that you are able to do tasks automatically after code has been pushed to the repository. This workflow can also be used for Hugo deployments with Bitbucket Pipelines. Typical tasks for pipelines from my customer projects include e.g. deployments run phpunit test suite make code syntax checks, e.g. run phpstan, code sniffer, etc. generate anonymized dumps for staging environments Specifically for Hugo projects like this blog I use it to deploy the code automatically to the testing or live servers.

How to calculate MySQL timezone offset

Sometimes it is necessary to calculate the offset for the current timezone. Therefore you can use this helpful snippet: SET @tzOffset = (UNIX_TIMESTAMP()-UNIX_TIMESTAMP(CONVERT_TZ(NOW(), 'Etc/UTC', 'Europe/Berlin'))); That’s it.

Dropshipping possibilities in Magento

Approximately in every third Magento project that I am doing  I get the request to implement some kind of Dropshipping. That’s why I want to give a short overview of how to handle that with Magento. What is Dropshipping? Dropshipping is a kind of E-Commerce business where the merchant offers products in his online shop without having the products in his inventory. If a customer orders some of these products a so-called purchase order is made and the dropshipping partner will ship the items for the merchant.

MySQL: The innodb_file_per_table misconception

Mistakes in the conception phase of a project often pay off in a far far later point in time. This also applies for the setting innodb_file_per_table in MySQL. Prio to MySQL 5.6 this option is disabled by default which leads to one huge ibdata1 file being created on your machine for all your databases. The problem with this is that the space allocated on your disk can never be freed again.

When should I start using Magento 2?

Finally it’s time for a new blog post as the last one about the interesting ShopTechBlog episode is dated a while back. Today I want to raise some pro and contra arguments for upgrading to Magento 2 or starting a new project with the new release of Magento E-Commerce. This is by no means a complete list but just some of my thoughts on this topic. First of all we have 2 scenarios to look at:

Why should I do a Magento upgrade?

Today I was asked by a client if he should upgrade his Magento 1.5.1.0 store to the latest Magento Community Edition 1.9.1.1. As this question arises more than often I would like to emphasize some arguments for doing the upgrade. Of course this is question cannot be answered in general because it depends on many factors like level of customization, budget, known issues in the workflow, etc. 1. Security Security is always a good argument, especially if one has seen the latest severe Magento security issues (e.