Matrix UK
B2B Custom Shutter & Awning Platform
Matrix UK is a production-grade custom WordPress and WooCommerce B2B platform serving a dealer-network for made-to-measure window coverings. Housing a dual-currency pricing engine, multi-cart session management, and custom database tracking, the platform manages the entire product cycle: configuration, logistics grouping, custom invoicing, and helpdesk queries.

infoWooCommerce Order Details & Logistics
WooCommerce order details page in the WordPress admin panel showing order items, sea/air shipping, container associations, QuickBooks invoice sync status, and pricing overrides.
Monolithic Child-Theme Architecture
Matrix UK leverages a highly customized WordPress child-theme pattern, coupling business databases directly with calculation controllers and frontend accordion interfaces.
WordPress Core & WooCommerce
Handles container logistics grouping, customer tickets support, warranty repairs, and Highcharts sales reporting dashboard.
Allows a dealer login to run independent ordering cards concurrently mapped to custom customer IDs.
Coordinates shortcodes, accordion forms, jQuery events visibility rules (~40K LOC), and custom database attribute tables.
Platform Capabilities & Features
A comprehensive overview of features powering the Matrix UK monolithic infrastructure:
Bespoke Product Forms
14 custom shortcodes drive Standard Shutters, Bay Window configurations, and Blackout frames. Built using clean Bootstrap accordions, hand-maintained jQuery scripts, and live AJAX.
13-Phase Pricing Engine
Calculates GBP and USD prices in parallel. Computes SQM limits, material uplifts (8 custom species), style discounts, buildout specifications, and color surcharges based on per-user metadata settings.
Shipping & Containers
Logistics custom post types group customer orders into physical container manifests, calculating freight costs, sea/air shipping logistics, and packing lists exportable to CSV.
QuickBooks OAuth2 Sync
Bespoke accounting integration mapped via QuickBooks OAuth2 SDK, auto-generating invoices on WooCommerce order creation and routing line items dynamically per customer company codes.
Multi-Cart dealer login
Bypasses standard single-session limits to let a master dealer log in and run, manage, and checkout independent buyer carts concurrently mapped to temporary synthetic IDs.
Highcharts Analytics
Provides salesmen, sub-dealers, and administrators with role-scoped analytical dashboards, visualizing monthly transaction values, materials ratios, and SQM totals.
The 13-Phase Pricing Architecture
The heart of Matrix UK is the calculator engine written in custom OOP PHP (class-pricing-calculator.php). It calculates base material rates, shapes, and frames in parallel for GBP and USD.
Calculation Phases
- 1. SQM Floor Enforcement: Min 0.5 SQM validation rule.
- 2. Material Rates Lookup: Reads custom meta cards dynamically (Earth, Green, Ecowood, Biowood, Basswood).
- 3. Style Discounts: Applies panel-only (-5.45%) or fixed (-3.45%) uplifts.
- 4-8. Custom Shapes Surcharges: Adds combi, arched, or tracked position parameters.
- 9. Buildout Rule: Sets fixed 20% surcharge if frame depth + buildout > 100mm.
- 10-12. Frame, Hinge, and Posts: Adds stiles, hinges (concealed/locking), and bay window post adjustments.
terminalPHP Formulas
$sqm = ($width * $height) / 1000000;
if ($sqm < 0.5) $sqm = 0.5;
$base_gbp = $sqm * $material_rate_gbp;
$base_usd = $sqm * $material_rate_usd;
if ($frame_depth + $buildout > 100) {
$surcharge = $base_gbp * 0.20;
}
if ($panel_width < 200) {
$panel_fee = 30; // GBP
}Custom Database Tables & Post Types
By avoiding the generic WordPress postmeta table mapping for configurator dimensions, Matrix UK leverages a optimized custom relational schema in MySQL:
table_rowsCustom SQL Schema
• wp_custom_orders
• wp_shutter_attributes
• wp_shutter_names
• wp_property_values
• wp_property_fields
bookmarkCustom Post Types
• container (Logistics)
• order_repair (Warranty)
• stgh_ticket (Support)
• appcart (REST Buffer)
swap_horizThird-Party APIs
• QuickBooks V3 Invoicing SDK
• Catchers Helpdesk system
• YITH custom WooCommerce order statuses
• Tablet Rest API integration
Project Screen Library
Click on any of the screenshots below to open them in the lightbox viewer.







