Give the visitors of your renovation company or building-materials shop a calculator they will actually use.
They type the size of a room, the doors and the windows — and get a shopping list rounded to whole packs:
The calculator handles several rooms with one combined shopping list, L-shaped rooms, bays and alcoves,
and walls minus doors and windows. Visitors can print the list or copy it into a message.
It is the same calculation engine as the UZYTAK Materials app for Android, used by tradespeople on site.
[uzytak_materials] shortcode for Elementor, Divi, WPBakery, Beaver Builder, classic editor and widgets.[uzytak_materials] — all calculators, settings from Settings → Material Calculator.
[uzytak_materials materials="paint"] — only the paint calculator.
[uzytak_materials materials="tiles,skirting" rooms="single"] — chosen materials, one room.
[uzytak_materials title="How much paint do I need?" theme="dark" accent="#c2410c"] — own heading and colours.
Attributes: materials (paint, tiles, panels, drywall, plaster, skirting), title, theme (light, dark, auto),
accent (hex colour), lang (de, en, es, fr, it, nl, pl, sv, ru, uk), rooms (single), shape (no).
All results are estimates. Visitors are reminded to check coverage, pack sizes and waste in the manufacturer’s data.
All code of this plugin is included in readable form. The calculator lives in assets/core/uzm-calc.js, assets/core/uzm-widget.js and assets/core/uzm-widget.css; the translations of the calculator are plain readable JSON in assets/core/i18n/uzm-.js. The files ending in .min.js / .min.css are the same files minified with esbuild (npx esbuild uzm-widget.js --minify --outfile=uzm-widget.min.js); WordPress loads the readable files when SCRIPT_DEBUG is on. No other build tools are used.