About the service
I develop a unit conversion widget that embeds directly into the product card of a building materials online store and allows the customer to switch on the fly between square meters, cubic meters, pieces and packages. Anyone who's sold tiles, laminate, bricks or lumber online knows this pain: the customer needs ten square meters of flooring, but the price is per package that covers a fractional area. My widget takes the price of the base unit, area or volume in a package and reserve percentage for cuts, and immediately shows how many packages need to be purchased and what the total cost will be.
I write the calculation logic separately for each product category: tiles, sheet materials, bulk goods by volume and individual items like doors or fittings have their own rounding rule. Packages always round up, not down — no one wants to come up half a bag of cement short at checkout. The widget recalculates values as you enter area or quantity and connects to most catalog systems with a light script that reads existing product data, without creating a new database.
Standard delivery includes:
— calculator styled to match your store's design;
— customizable conversion rules by category with a coefficient table editable in admin;
— automatic package rounding with visible reserve for cuts;
— adaptive layout and fast loading without heavy libraries.
I write the calculation logic separately for each product category: tiles, sheet materials, bulk goods by volume and individual items like doors or fittings have their own rounding rule. Packages always round up, not down — no one wants to come up half a bag of cement short at checkout. The widget recalculates values as you enter area or quantity and connects to most catalog systems with a light script that reads existing product data, without creating a new database.
Standard delivery includes:
— calculator styled to match your store's design;
— customizable conversion rules by category with a coefficient table editable in admin;
— automatic package rounding with visible reserve for cuts;
— adaptive layout and fast loading without heavy libraries.