This session explores how Drupal Commerce, custom entities, and tailored backend logic were used to build a bespoke accounts management system.
Instead of traditional checkout flows, Commerce was repurposed as a flexible engine for handling account lifecycles, payments, custom workflows and reporting.
Attendees should be familiar with basic Drupal site building concepts and have some experience creating custom modules.
In this session, we’ll take a practical look at how Drupal Commerce can be transformed into a powerful foundation for a completely bespoke accounts management system. Rather than using Commerce in a traditional e-commerce sense, I’ll explore how its flexible entity architecture and workflow capabilities make it work for modelling complex, non-standard business processes.
I’ll begin by outlining the system requirements and the architectural decisions that shaped the project, including how Drupal’s strengths informed the overall design. From there, we’ll dive into the data model, examining how Commerce entities were combined with custom entities to create a structure capable of supporting specialised account logic. This will naturally lead into a discussion on building custom workflows to handle account lifecycles, state transitions, and business rules that extend far beyond typical checkout flows.
The session will also cover the development of custom reporting tools and pdf creation, focusing on how to extract meaningful insights from interconnected Commerce and custom entity data.
Throughout the session, the emphasis will be on real implementation details, what worked, and what didn’t.
Attendees will learn how to extend Drupal Commerce with custom code that fits naturally into Drupal’s existing structure. The session demonstrates how to organise custom functionality using controllers, services, event subscribers, and plugins, and how to integrate custom data structures that support real business requirements.
