Chris Walton

Changing a Local Git Repo Origin

There are many options out there for keeping track of your project updates, release versions and storing your code. Be it through Github, Bitbucket or a number of other services and from time to time you may decide you need to move a repository from one service to another. If you are anything like me you could have two dozen websites installed locally which you need to do work with on a regular basis so won’t want to go through setting up websites again (nightmare).

Read More

Working with GIT Tags (the basics)

If you are working with Git to keep track of project changes you then using tags is key to be able to keep track of your release versions amongst your commits (i.e. version 1.0, 2.0, 2.1 etc).

Now you can use a Git GUI like Gitkraken to manage this easily however I think it is important to also know how to do it through Command Line.

Read More

Magento, add your own body class through XML injection

Adding a custom body class to a Magento page is accomplished pretty easily through XML, now this can be done through your site themes XML files for global changes or within the CMS which would be the easiest way to target a specific CMS, Category or Product page.

Read More

Symbolic links…

Sometimes you may want to move a file or directory out of your main website structure, this could be for a number of different reasons but a common one would be to prevent files being lost (for example your sites media/uploads directory) in a site upgrade.

This can be accomplished by creating a symbolic link, also known as a symlink, between the location you want your directory to be stored and the spot where it should be.

Read More

Updating an Order Status in the Magento Database

No matter how good your system is sometimes things go wrong and you have to go into the database to make things right.

Magento is no exception, be it an issue with a module install/upgrade or an order which hasn’t progressed for any number of reasons… Luckily changing a Magento order status is pretty easy a task.

Read More