Back to Project
Case Study
Unified Logistics Engine
Normalizing mixed units (grams vs pieces) for accurate shipping calculations.

THE PROBLEM
Normalizing mixed units (grams vs pieces) for accurate shipping calculations.

Shipping cost is weight-based, but products are sold in mixed units. Silk Thread is sold by weight (100g), while MDF Bases are sold by Piece.


We engineered a cart that acts as a middleware. It normalizes 'Pieces' into 'Weight' on the fly based on backend metadata.
When a user adds '10 Pieces', the system calculates (10 * 50g) = 500g, and sums it with the weight-based items for the API.

Zero manual intervention needed for shipping calculations. The system handles any combination of product types accurately.