Magento Fox

Magento Fox Blog

Welcome to the Magento Fox blog written by 3x Certified Magento developer Adam Moss, Programme Lead at Space48. I've been developing Magento websites since 2009 so I set up this blog to give something back to the community.

  • Cookies, Full Page Cache and Private Data Tracking in Magento 2

    In this post, Adam Moss explains how to track private data using cookies in Magento 2 without being stung by full page cache.

    Read Post
  • CreareSEO 1.5 for Magento 1

    It’s fair to say that CreareSEO has been left on the shelf for quite some time due to change of ownership and other commitments. I was able to dedicate some time to make some important updates over the last month so I’m happy to announce version 1.5 is now available on GitHub: CreareSEO 1.5

    Read Post
  • Magento 1 - Registration Form Not Working

    I’m gonna try and get straight to the point with the post because this actually quite an old problem! However, it recently came to my attention just how un-documented my eventual solution was.

    Read Post
  • Google Shopping - Outputting Sale Price Effective Date with PHP

    In a recent project I was building a good ol’ fashioned Google Shopping feed, something I’ve done more times than I’ve had hot dinners, except this time I encountered a new attribute called sale_price_effective_date

    Read Post
  • Magento 1 - Extending Core JavaScript with Prototype

    The Majority of Magento 1’s JavaScript is written in the widely disliked, DOM-extending, Prototype.js framework. Launched in 2005, Prototype has been around for a long-ass time and is now struggling to maintain relevance in the face of modern, package-based frameworks like React.js.

    Read Post
  • Magento 2 Basics Part 6 - Using Plugins

    Plugins are a fantastic way of extending Magento 2 without the need for class rewrites by allowing you to modify the input and output of (most) methods belonging to the Magento 2 framework. For those familiar with Wordpress development the theory is similar to the action/hook format.

    Read Post
  • Magento 2 Basics Part 5 - Creating an Admin Page

    Adding elements to the admin area is always a requirement when working with custom modules as you need to let your user content-manage and configure their functionality.

    Read Post
  • Magento 2 Basics Part 4 - Creating an Observer

    Part 4 is another pretty straighforward section, how to add an event observer in Magento 2. Yes event-dispatch is still present in Magento even with the introduction of plugins (which I’ll come onto at some point).

    Read Post
  • Magento 2 Basics Part 3 - Creating a Helper

    We have finally arrived at part 3 of my mini-series on creating basic modules in Magento 2. This is a short one - how to create and utilise helpers in Magento 2.

    Read Post
  • Magento 2 Basics Part 2 - Creating a Frontend Controller

    Welcome to part 2 of my mini-series on creating basic modules in Magento 2. In this part I’ll show you how to create a simple front controller and output some content.

    Read Post
  • Magento 2 Basics Part 1 - Setting Up Your Module

    In the following tutorials I’m going to take you through the very basics of creating a simple, local Magento 2 module. The series will cover the following topics:

    Read Post
  • Simple PHP Guide to S.O.L.I.D Design Principles

    S.O.L.I.D is a coding standard that all PHP developers should be familiar with when undertaking Magento module development. It was introduced over a decade ago by Robert C Martin (Uncle Bob) and is used across the object-oriented design spectrum. Why use these principles I hear you ask? When applied properly it makes your code more extendable, logical and easier to read.

    Read Post
  • Magento Fox is Back

    Hi ya’ll, how’s things? I’ve been in the wilderness the last few years and have been itching to get back to blogging about all things Magento. Allow me to welcome you back to the brand new Magento Fox Blog!

    Read Post