Home Contact

<Keithblog />

Technology based ramblings in PHP, MySQL, JavaScript, CSS, HTML and more.


Checkout problems upgrading to Magento 1.9.3.4+

Magento version 1.9.3.4 include patch SUPEE-9767 V2 which includes security patching for the checkout process. For your current front-end templates…


Upgrading Magento 1 through the Magento Connect Downloader

If you don’t fancy upgrading Magento 1 through command line, you can upgrade Magneto core using Magento’s in-built Magento Connect…


Upgrading Magento 1 through command line

Alternative: Upgrade Magneto using the Magento Connect Downloader Upgrading Magento is a must to keep your store in top-top condition,…


Spammers: Lee Andrew Meranda

I’ve been getting spammed by a company called The Compensation Specialist. They are a personal injury outfit. I’m not sure…


How to update your hosts file.

Every computer has a file on it which allows the owner to specify where a website is loaded from. A…


Magento Server Transfer – Tried and Tested Method

Moving an entire Magento site from one server to another or between hosts can be a daunting task for non-server…


Ordering assets in Magento 2

This one will come in useful until Magento 2 sorts itself out. For some reason, Magento 2 has no way…


Magento Code: Innoexts Currency Pricing Module Price and Special Price Import via SSH

Magento Code: Innoexts Currency Pricing Modul Price and Special Price Imports vis SSH


PHP: glob

glob($string); Return an array of pathnames matching a specific pattern. // Find all CSV files in the /home/var/imports/ directory glob(“/home/var/imports/hello-*.csv”);…


Magento Code: Check an import directory for new product CSVs and process using a Magmi profile

This script will first scan the var/import directory for all CSV files starting “import-” using the glob() function in PHP.…


Magento: What are Sage Pay Orphan Transactions?

This is a regular issue when using Sage Pay with Magento that needs a bit of explaining. Sage Pay transactions…


PHP: header

header($string); Used to send a raw HTTP header, often used for page redirects. Must be called before any other output…


PHP: str_replace

str_replace($search,$replace,$subject) All instances of $search are replaced with $replace in $subject. // Will print to screen: “Why is the sky…


Create a custom URL rewrite/redirect in Magento

You can use a custom rewrite to redirect CMS pages, or any other type of page. For example, if you change…


Magento Code: Include currency switcher in the header or footer with Foundation mark-up

It is easy to set-up multi-currencies in Magento. This code  allows you to quickly include a currency drop down or…