Oct 16, 2012 ·
3 minute read
magento
One of the most exciting features of Magento for many merchants is the ability to run multiple front end websites with a single administration area. For those of you who have managed multiple separate installations of a cart system to power many websites, perhaps selling the same products, then this on its own can make a huge difference in terms of ease of management. Magento has had multi store functionality designed in from the ground up.
Read On →
Oct 15, 2012 ·
1 minute read
php
If following an upgrade to Magento 1.7 you’re having a problem that the Sales Order View tab contents are stuck in the sidebar (see below) you’re likely ripping your hair out as to why this is happening In the page you’ll find a line of Javascript: sales_order_view_tabsJsTabs = new varienTabs(‘sales_order_view_tabs’, ‘sales_order_view’, ‘sales_order_view_tabs_order_info’, []); The problem This is the javascript which renders the tabs on the page, moving the tab contents to the main content area once the page has loaded.
Read On →
Oct 8, 2012 ·
2 minute read
php
All of the PHP developers from Edmonds Commerce made our annual pilgramage over the Pennines to Manchester this weekend to visit arguably one of the best PHP conferences around - PHP North West, PHPNW for short. This is a three track conference with a diverse range of expert PHP developers giving presentations on some really interesting topics. The team split up and chose their own route through the choice of talks meaning that between us all we got a real flavour of the entire conference.
Read On →
Sep 18, 2012 ·
1 minute read
mysql
According to pretty much every source there’s only one sensible way to migrate from 5.0, 5.1 or 5.2 to 5.5 of mysql (or mariadb/percona for that matter), and it’s not pretty (for a server with only two active magento installations for instance, this will take about 3 hours). The answer is that you have to do an sql dump and restore. This does take an age but does at least provide the reassurance that you are going to have nice clean databases after the upgrade.
Read On →
Sep 17, 2012 ·
1 minute read
linux
So sometimes you might have a restored backup without the correct permissions (whether that be because the backup didn’t store the permissions, the file system refused to take them, or you simply forgot to add the -p flag to tar!) and you want to copy the permissions from one machine to another. Here’s a little script to do just that that we found whilst browsing the internet to do just that (uses perl and find) :- find / -type f -o -type d 2>/dev/null | while read FILE; do perl -le' printf "chmod %o \"%s\"\n", 07777 & (stat)[2], $_ for @ARGV ' "$FILE"; done > /tmp/file_perms.sh If you run that on the server with the correct permissions, then transfer the file to the server with the wrong permissions and run the file with the following command, it will fix the perms on that server :- sh /tmp/file_perms.sh Which may save a lot of transfer time restoring a new backup.
Sep 13, 2012 ·
1 minute read
php
Smart TVs are still quite a new concept to many people. At Edmonds Commerce we believe that Smart TVs and other smart appliances will be the future. As the television is already a screen based system it is really well suited to become a web enabled and smart device. Online streaming services such as the BBC’s iPlayer and platforms like NetFlix and LoveFilm are already well established as internet based media streaming platforms and many consumer televisions are already smart enough to consume these channels natively.
Read On →