Witty and insightful observations on the world? Sorry to disappoint, this is a techie blog purely for self reference - published online in the hope it will help others!

Shopify – Using Nested Menus in Theme

This is a good article for store owners on the basics of creating a nested menu in the Shopify backend; https://help.shopify.com/en/manual/sell-online/online-store/menus-and-links/drop-down-menus Wordpress site owners and developers will recognise this setup immediately. Draggable/droppable menus were introduced into Wordpress as one of the flagship features of Wordpress 3 in 2010. As always the Shopify documentation is good - an indeed the example used for nested menus shows how to do it for a three level nested menu; https://help.shopify.com/en/themes/development/building-nested-navigation However.... It's not an actual working example per se so I've done one here if you are putting together a nested menu on your theme. This is a two level example, if you need a three level menu I'd be recommended they try to recategorise ... Read more

Shopify Custom Links in Navigation

One of the issues when working with an system is that visual redesigns tend to render 'How To' blog posts obsolete pretty quickly. Hopefully this on won't stay obsolete too long. If you are trying to work out how to add a custom menu link to a Shopify menu and are getting frustrated, chances are it's a UX issue. This wiki; https://help.shopify.com/en/manual/sell-online/online-store/menus-and-links/editing-menus Tantalisingly talks about being able to create menu links to external websites but when you try and do it you find it won't work. What you need to do is paste in the url (let's use a link to the customer account page in this example); https://mydevsite.myshopify.com/account/register Into the input field. Then, you need to wait for that link to ... Read more

WordPress under Magento multistore

This is a 'Note to Self' as much as anything else. It's explains how we got the Wordpress install to work on a Magento multistore using country stub directories. The SO question it relates to is here; http://stackoverflow.com/questions/32613815/htaccess-wordpress-under-magento-site-with-multi-language-sub-directories We have this in production, hopefully this answer might help someone at some point. The way we've done this is to add a RUN_CODE environmental variable which is used in a custom Wordpress filter to get the urls all working. I've used the 'eu' example from my question to illustrate it below. Note we had to do this for both Apache and Nginx so I've added the .htaccess and server blocks for both. APACHE - .htaccess In the `eu` country stub subdirectory you add this ... Read more

WordPress, Git and Capistrano v3

I'm writing this blog post because I've had to add a Wordpress site into a Magento site which uses Capistrano 3 as it's deployment framework. I was trying to work out the best way to set it all up and Googling it resulted in a right load of shit. No disrespect to the authors (many of whom are clearly very talented) but a lot of it was; - Old, out of date - Overly complicated - Using Capistrano v2 - Fundamentally disagrees with how I think it should be done Let me look at that last point. There are a lot of people who think Wordpress core should be in your repo. I don't agree with this at all, ... Read more

Sagepay – Magento – Armed Forces – INVALID. 3139 : The DeliveryState format is invalid.

The title says it all. Magento installation with failed transactions using Sagepay fail when the delivery address is Armed Forces Middle East, Armed Forces Africa or Armed Forces Canada. It's for a good reason - Magento itself sets the region ID for these options as 'AM', 'AF' and 'AC' respectively; Which is dandy until you realise that these region codes don't actually exist anywhere. As you can see from this instructional on stamps.com, Middle east and Africa should be designated as 'AE' whilst Canada is part of America and should be designated 'AA'; This is all fine when your payment ... Read more

Getting back into shape

So after almost 3 years of parenthood and slowly getting more and more unfit and sluggish I decided last February to get myself back in the gym and get fit again. It was a pretty slow process, started off in the pool for a few months, then into the gym. Now feeling great, fitter than I've ever been I'd say (even when I was very fit at the end of my twenties). The office I'm in is pretty focussed on health and fitness, we eat healthily during the day, no snacks and no sugar. Given what we do (and what the e-commerce sites are based on) we take supplements of various sorts. I take test boosters, mixing it up between TestoFuel ... Read more

Thanks to Peter Walker

What a gentleman. First time anyone has ever bought me a beer (or anything for that matter!) for a blog post that I've written. So props to Peter Walker from Gogeye Design in Epping for buying me a beer for some tips on Isotope Filters. And wouldn't you know it, he even went for the more expensive Heineken at the Swan rather than a Baltika at Leeds Train Station. What a star! Here's to you Peter. He's a freelancer multimedia designer and developer, find out more about him here -> Web Design Epping. It's inspired me to start blogging again, so I'd better think of something good to get back into the swing. Read more

Igniyte, Guide to Personal Online Reputation

This is a post penned by my good friend Simon Wadsworth at igniyte.com - he's the man to talk to about any online reputation management issues you might be faced with either as an individual or a corporate body. His contact details are at the bottom; ----------------------------------------------------------------------- Defamatory or negative comments online content can cause distress, reputation issues and loss of business for some people. Negative content online causes pressure not only directly to individuals, but to their friends, family and colleagues. The majority of our customers are high profile individuals and companies (from small start-up businesses to huge global corporations). Igniyte receives a high number of enquiries from individuals who need help with specific issues they have been facing ... Read more

Enable SOAP on Media Temple DV Managed

Media Temple's knowledgebase has a good article on how to enable SOAP on a DV Managed server; https://kb.mediatemple.net/questions/1947/Configure+PHP+with+SOAP#dv_managed However, when you get to the section that says NOTE: If you receive an error similar to the following, you will need to install libxml2: You might also encounter the following error (as I did); no acceptable C compiler found in $PATH The answer to this is lies in the comments section of this Stackoverflow answer. Basically you need to install a precomiled version of gcc, so if you are using a Fedora based OS like me that would be; I then got the libxml2 issue, solved as pe the Media Temple docs with; yum ... Read more

Magento URL Rewrites – custom url redirect for CMS page

OK, so why this post? Well there just wasn't very much (or indeed anything at all) on this in Google when I looked. There is loads on how to use Magento's built in url rewrite system from teh backend. And there's loads on Stackoverflow and Alan Storm's blog on how to create a custom controller to over ride the PageController and IndexController. Nothing on how to just create a custom redirect for a cms page though. I needed to do this because I am doing a project with Peter Warren at Synoptive (Magento product configurators) on a Magento multistore. It is for United Carports (custom built carports), I've made ... Read more