Metalflake – E-Commerce Migration with ERP Integration

Client:
Type:

Overview

Metalflake, a long-established distributor in the coatings and decorative finishes industry, approached Bluebrick Studios with the challenge of modernising their e-commerce operations. Their existing Magento 2 platform was functional but costly to maintain and lacked the flexibility to integrate seamlessly with their core business systems.

The business needed a B2B-ready Shopify store that could not handle their large and complex product catalogue but also integrate with their ERP system to synchronise orders, customers, and inventory in real time. The complexity was compounded by their unique customer pricing model, which required hundreds of thousands of individual price points to be stored, maintained, and served instantly to the correct customer accounts.

The challenge

This was not a simple e-commerce migration. Metalflake’s requirements posed several significant technical and operational challenges:

  • Full platform migration – Moving from Magento 2 to Shopify without loss of data or disruption to customers.
  • ERP integration – Building a reliable two-way connection between Shopify and the ERP system, enabling live data synchronisation.
  • Complex B2B pricing model – Supporting a vast matrix of individualised customer pricing structures for account-based purchasing.
  • Custom functionality – Ensuring that the new platform met all existing business requirements while providing a modern, user-friendly experience.
  • Business continuity – Migrating and integrating without interrupting day-to-day operations or causing downtime for B2B clients.

Given Metalflake’s high-volume order processing and reliance on accurate stock data, the integration between e-commerce and ERP needed to be exceptionally robust.

Our solution

Bluebrick Studios delivered the project through a phased approach, balancing speed of delivery with the need for precision and thorough testing.

1. Discovery and planning

We began by auditing Metalflake’s Magento 2 store and ERP setup to understand their existing workflows, dependencies, and integration points. This allowed us to create a clear migration roadmap that addressed both technical complexity and operational requirements.

A key part of the planning phase was designing the middleware application that would act as a bridge between Shopify and the ERP system. This middleware needed to be capable of high-volume data processing, handling updates in both directions without delays or errors.

2. Shopify migration

The Magento-to-Shopify migration included:

  • Migrating the full product catalogue, including SKUs, descriptions, technical data, and imagery.
  • Transferring customer accounts and preserving order histories.
  • Migrating all B2B account data to ensure a smooth transition for regular customers.

We also implemented a new front-end design optimised for usability and speed, giving customers a cleaner, more modern interface without losing the core navigational structure they were used to.

3. Middleware development

The custom middleware application was developed in PHP and deployed on a secure Linux server environment. Using the Shopify Admin APIs, the middleware synchronises:

  • Orders from Shopify to the ERP system.
  • Inventory updates from the ERP system to Shopify.
  • Customer data and account changes in both directions.

This ensures that stock levels remain accurate for online, in-store, and phone orders – preventing overselling and improving fulfilment efficiency.

4. B2B pricing integration

Metalflake’s complex pricing structure required a specialised solution. We integrated a third-party B2B Shopify app capable of handling hundreds of thousands of custom price points. This system ensures that when a customer logs in, they automatically see their personalised prices and payment terms, enabling them to purchase on account without manual intervention.

The integration was carefully configured to work in tandem with the middleware and ERP system, ensuring that pricing remained accurate and up to date across all sales channels.

5. Migration from REST to GraphQL

As part of our ongoing support, we later upgraded all Shopify Admin API calls from REST to GraphQL. This change significantly improved the efficiency and flexibility of the ERP integration, reducing data transfer overheads and speeding up system responses.

The results

The migration and integration were completed without operational downtime, allowing Metalflake to maintain service levels for their B2B customers throughout the project.

Key outcomes included:

  • Unified systems – Shopify and the ERP system now work together seamlessly, eliminating manual data entry and reducing errors.
  • Improved ordering experience – B2B customers have a faster, more intuitive interface with immediate access to their custom pricing.
  • Accurate stock levels – Real-time synchronisation ensures product availability is always up to date.
  • Future-ready platform – The Shopify store can now be easily extended with new features and integrations.
  • Efficiency gains – Migrating API calls to GraphQL improved system performance and reduced integration latency.

Ongoing partnership

Our work with Metalflake is ongoing. We continue to provide support and enhancements to their B2B e-commerce platform, exploring new ways to improve efficiency, customer experience, and integration performance. This includes monitoring the middleware, maintaining security best practices, and developing new features in response to evolving business needs.

Technologies and methodologies

  • Platforms: Shopify, Magento 2
  • Languages and tools: PHP, MySQL, Liquid, GraphQL
  • Environment: Linux-based hosting
  • Approach: Phased migration, custom middleware development, ERP integration, API optimisation
GET IN TOUCH