Categories
Magento Web Development

How to add a color picker in the Magento admin or anywhere

Greetings, developers of all colors! First of all this tutorial assumes that you already know how to make a Magento extension. Now there are many ways to add a color picker in the Magento admin (or anywhere). Here’s one “correct” and “extendable” way to do it: First, we would need a color picker. This color […]

Categories
Magento Web Development

Magento direct SQL queries with named binding

If you’ve been coding in Magento long enough, you would have come across a situation where you need to query the database directly. For whatever reason, no judgements. Well, here is my contribution to save you a lot of time. And this is as secure as using models to interact with your database. If you […]

Categories
Magento Web Development

How to make a custom Magento payment extension for an external gateway

Note: This tutorial is for Magento versions 1.x.x, and does not work on Magento 2 +. Magento is a great open source e-commerce platform and has emerged as the market leader in the recent past. However, it still has a steep learning curve and although the community is growing exponentially, I was not able to […]