Magento CRON Setup in cPanel
If you’re running cPanel on your server and want to add in the Magento CRON (as most of you would) this is how to do it. Login to cPanel Goto the “CRON” section. Once in the CRON section, there are two...
View ArticleMagento Zend Database Read Queries
As a platform Magento is built on the Zend Framework, therefore we can utilise the Zend Framework Database Class for reading from and writing to the Magento database. These actions would normally be...
View ArticleDrop Magento Database in One Query
The code below does as the title suggests. If anyone has been trying to remove the Magento database for whatever reason you’ll find that with all of the key constraints that come with Magento droping...
View ArticleStandalone Magento Scripts
Every now and again its useful to create a small standalone magento scripts, I have used them in the past to quickly update settings, or for creating small export scripts etc. These can be setup...
View ArticleAdding Product Image Attributes
As standard Magneto ships with three Image attributes for products, these are: image, small_image and thumbnail. Though these are quite ample for most Magento stores, there may come a time when you...
View ArticleGet Country Name from Country Code
Just a quick snippet of code that will return you the Country Name based on a country code, e.g if you’re looking at the Order model getting the country_id of GB, however you need United Kingdom, the...
View ArticleAdd Rich Snippets and Microformats to Magento
There has been a lot of buzz recently about Rich Snippets and Microformats. The tags that give your website valuable search engine real estate and help to attract more traffic. There are several...
View ArticleGet Store ID and Store Information
Use the following Magento code snippets in your site to retrieve information about the current store. The information can be very helpful if you are running a Magento multi-store setup where different...
View ArticleAutomatically Create Invoices
Creating invoices in Magento can be done by script. The following code can be used in Modules or stand alone scripts to automate the creation of invoices. $order =...
View ArticleIntegrating with Sage Line 50
Sage Line 50 is a popular accounting software, particularly in the UK and Australia. Coupling your Magento web store with a Sage Line 50 program in the past has often been quite a long process, however...
View ArticleMAMP with MySQL 5.6.x+ for Magento 2 Install
If you are using MAMP as your local web server then you may find that installing Magento fails based on the dependancy on the MySQL 5.6+. There are several ways to upgrade MySQL on your machine but the...
View Article
More Pages to Explore .....