Phil Elson

Blog Home

Issues installing ElasticSearch on OSX

Quick post to share some issues I faced installing ElasticSearch on my Mac Pro using brew. Installing elasticsearch with brew was fine.. Starting elasticsearch was where I had the first issue Plugin [analysis-icu] was built for Elasticsearch version 7.10.0 but version 7.8.1 is running So, I tried removing it and reinstalling it But reinstalling them […]

Magento 2 – Tier/Grouped Pricing behaviour on different product types

Grouped pricing in Magento 2, 2.3.5 at the time of writing is used for Tiered pricing as well, and I just wanted to highlight some of the quirks which aren’t apparent in the documentation. Grouped pricing works on all product types but in different ways. Simple Products: You set the group price and the quantity […]

Magento 2 – Page Builder

On a couple of recently Magento 2 projects, one being Commerce and one being Community, I had the pleasure of installing the Page Builder. However, installing the Page Builder took longer than it should as it’s not particularly well documented. In the end, I found the Commerce meta package and the Community one buried in […]

Magento 2 getting those layout handles

Magento 1 In Magento 1 fetching the layout handles for the current request was the simple task of calling the following: A quick place to add this is to the end of index.php, just remember to remove it once you’ve found the handle you’re after. Magento 2 In Magento 2 it’s a little more complicated […]

Grabbing Magento 2 Category Layout Handles

Here’s a very quick help page if you want to grab a Magento 2 category layout handle. In Magento 1 it was within a layout file, you may have a <CATEGORY_4> handle for instance! In Magento 2, each handle has it’s own layout file as we know. To grab a category layout file, they follow […]

Dependency Injection – Cannot instantiate abstract class

So you’re creating a new class which extends a parent (AbstractModel) for instance and you need access to some more functionality so you add an interface or helper to the constructore. Once you’ve done this you know you need to run ‘bin/magento setup:di:compile’ which runs fine. Then you try and execute your new code and […]

A magic future for e-commmerce

One of the main issues with the buying online experience is not being able to observe the product physically or how it will integrate holistically with the utility we require from it – despite meeting our technical requirements, will this TV fit and look good on the wall? The above issue is mostly valid for […]

Missguided – “Tens of thousands of orders per day”

It has definitely been a huge privilege being part of the Missguided Magento Development team for so long and seeing so many transitions, from their old offices to their new HQ and more recently to the move to AWS. AWS has been a breath of fresh air for the development team and the technologies available […]

My GIT cheat sheet

Over the last few years, I’ve compiled a list of GIT commands I use in day-to-day development and deployment management. Branching Creating a Branch Checking out a Branch Pushing a branch Pulling a branch Deleting a Branch Remove tracking local branches with no origin – prune Displaying current branch Merging Committing Making a commit Deleting […]

Summary of SUPEE-10266

It’s not particularly nice of them. You’d think they’d at least wait till Monday but Magento decided today would be a good day to make everyone work that extra mile on a Friday by releasing a patch! So, I’ve put together a summary of the changes introduced by the patch