Hello there! I’ll explain some basic terms of PHP’s Object Orientated Programming terms that any developer needs to know. Perhaps you already use all of those, but if you don’t know which is which, you will have a problem in team communication. If so, please read on.
Read moreBlog
How to work with SVN and Zend Framework in Eclipse PDT
This post is for all those Eclipse fans.
Latest version of Eclipse PDT can be found at:
http://www.zend.com/community/pdt
How to extend Magento core controller?
Hi, today I’ll show you how to edit Magento’s core module without messing with core files themselves, or “the right way of doing things”. 😀
Read moreHow to set multiple stores/websites with one magento installation on different domains
This article will describe quickest way how to use and configure one Magento installation on different domains.
Point here is what do you want to have on that different domains, for example you want to have chosen categories/products on one domain and the other one will be on different language.
First you figure that and then go to configuration.
Load XLS files into Magento modules using PHP-ExcelReader class
Recently I had a small problem and it turned out that it wasn’t small as a initially thought. I had to read XLS (Microsoft Excel document) into PHP. After I spent almost 2 hours browsing through internet, I found myself most satisfied with open source project “PHP-ExcelReader class“. It has everything I needed (multiple sheets support and it could read data from both Excel 2000 and 2007). On the other hand, Magento doesn’t support XLS, and I decided to write a small method that you can implement in any Magento class.
Read moreCroatia on my mind
It took me 19 hours to come to Osijek from Kazan, my hometown – 2 trains, one plane, one bus ride, couple of metro stations in Moscow and I was finally here! I arrived one Wednesday and was lucky to catch last days of the Summer on the local Copacabana beach, before I started my work here in Inchoo.
Read moreMagento and Google Services Integration – All-In-One Guide
There are tutorials all around the web as well as at the Inchoo website that guide you through various Google services integration with Magento eCommerce platform. I wanted to unite all of these resources on one place and also bring something new to the table.
Read moreE-Commerce and HTML5/CSS3 Highlights from Web Directions South 2010
On the 15th and 16th of October, Renato Carvalho and I had the chance to attend Web Directions South Conference held at Sydney Convention and Exhibition Centre.
Read moreProgrammatically create order in Magento
Surprisingly one of the trickiest parts of “under the hood” Magento is how to create order programmatically. At least for me, this was/is the most complex area of Magento development. Reason why it is so difficult is that the order creation process is all but not straightforward. You cannot simply instantiate order model, set some data and call upon the save() method. If you ask me, this is how it should be done.
Read moreMySQL – Left, Right, Outer or Inner Join? No – the SELF JOIN
Hi to all of you! Today, I’m going to explain SELF JOIN in MySQL – I’ll answer why and then how should you use it.
Read moreBlogOpen 2010
Taming magento errors display
Murphy says: “Anything that can go wrong, will go wrong”. When it happens to your store it’s best to get the information about it ASAP and present the error in the most humane possible way. Let’s do it!
Read moreUsing local.xml for overriding or updating xml structure
Over the past 3 years working with Magento and complying with the “Magento way” of managing code, usage of the “local.xml” file presented itself as one of the best ways to update xml layout.
Read moreZend Framework navigation with breadcrumbs
It’s been a while since I last time played with beauty of Zend Framework.
Each time I check new features it seems to me that the things are more simplier than the last time,
I might be wrong (I wouldn’t bet on that) or I’m just getting better 🙂
Usage of temporary tables in MySQL databases – Part 2
Hi, this is part 2 of my most recent article “Usage of temporary tables in MySQL databases“. If you haven’t read it, please do before you continue. In this specific article, I’ll give you a real example of temp table usage, and hopefully, you will see its advantage.
Read moreUsage of temporary tables in MySQL databases
Hi! My recent project had some specific requirements regarding the work with database. Since DB server had some limitations (regarding number of queries), and fairly big number of queries that needed to be executed I created a solution that included temp tables. And now, I’d like to explain how to use them and why.
Read moreHow to set up DNS records manually
Hi! Today I’ll explain some basic terms and show you on a simple example how to set up DNS records manually. First of all, let me start by explaining some basic terms.
Read moreMagento and Google Adwords conversion tracking
If you use Google Adwords advertising for your Magento web store, you will probably need this module. This module will be very useful, because Magento doesn’t have functionality for tracking Adowrds conversion. Feel free to download module and use it on personal responsibility. I’m using this module on web store without any problems.
Read moreHow to setup http protocol with SSL on LAMP environment
Today I’ll explain how to setup testing environment with https protocol on Ubuntu. It should take around 10-15 minutes to do it manually. I assume you have installed LAMPP on your development PC.
Read more13 things to do before you start building an online store
If there is one most valuable thing that you need to know before you build your first online store it is this: Build it and they’ll come doesn’t work. This article will try to prepare a company that is thinking about building an online store for all the things they need to know before they start this process.
Read moreHow to make order shipment from code
As most of you know, there is an Order interface in Magento administration from where you can trigger order shipping. However, while developing certain module, you might wish to trigger this event from the code. I hope that this code snippet will help you in this process. In my case I have used this code to make shipment from cron after I got confirmation from fulfillment center
Read moreHow to create Magento invoice from order
Maybe you want to create an invoice from some custom script or through cron script.
Read moreMagento Enterprise 1.9.0.0 redirects to home page instead of 404 error page
If you have installed and working on latest Magento’s Enterprise Edition 1.9.0.0, you could find some strange behavior with 404 error page and landing page. People say there is a patch for this, but I would like to present a quick fix for those of you who need an urgent solution. Issue is that you’ll get status 200 OK for each non-existing CMS page or controller and you will be redirected to home page.
Read moreHow to add “View All” button in Magento’s pagination
Hi, I had a bit of unusual request from a client and I had to create “View All” button and put it into Magento’s pagination on category listings, so I decided to share the trick. 😉
Read moreWorking with multiple PHP frameworks – The best practice
Hi, first of all, I’d like to explain the title of this post. I won’t go into depths of complicated examples, but rather explain the logic of it.
Read moreHow to make configurable options autoselected on Product view page
If you ever tried to do anything with Magento configurable products view page, most likely you needed changes in /js/varien/product.js in case you wanted to manipulate dropdowns.
This will be one of the ways to do it.
Read moreHow to add massactions to Magento’s grid
This article describes how does Magento’s mass actions work and how to add them in your existing grids.
You need to do 2 things:
– extend the block (grid) class with “protected function _prepareMassaction()”
– add an action into your controller, which will handle your desired logic.
WampDeveloper – My Choice for web development platform
This isn’t post for ordinary people, so if you do not know what is virtual host or how to set it up please skip this article and don’t waste your time.
But if you wish to save your time you will use some of this tools.
Read moreUsage of database stored procedures
Hello guys. Today I’ll try to explain 2 things. First WHY to use stored procedures. And second, HOW to use them. First of all, a small notice. I’ll explain the subject on PostgreSQL example, because of the fact that I used that language syntax most recently.
So let’s begin with the question “Why?“.
Read moreContact Form in Magento
As you know, Magento has a built-in contact form that can be used for general contacts. That form isn’t part of any CMS page, you cannot edit some introduction text, you cannot add phone numbers administration, and you cannot see the breadcrumbs. If you wish to edit text in that default contact form, you will need to update front-end files. Luckily, there is an alternative.
Read more