[WordPress] 外掛分享: Flooring Calculator for WooCommerce

首頁 › 外掛目錄 › Flooring Calculator for WooCommerce
WordPress 外掛 Flooring Calculator for WooCommerce 的封面圖片
全新外掛
安裝啟用
—
尚無評分
4 天前
最後更新
—
問題解決
WordPress 6.5+ PHP 7.4+ v1.0.7 上架:2026-10-10

內容簡介

Flooring Calculator for WooCommerce 是一款專為地板產品設計的計算器外掛,能夠根據顧客輸入的面積自動計算所需的包數、卷數或片數,並即時顯示總價,簡化購物流程。

【主要功能】
• 自動計算所需包數或卷數
• 即時更新總價
• 支援多種產品類型計算
• 無需按鈕,輸入即得結果
• 支援不同計量單位

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.7) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Flooring Calculator for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Flooring Calculator for WooCommerce turns the area a customer needs into the number of packs, rolls, panels, pieces or containers your shop sells, and shows the total price while they type. It is built for shops selling laminate, vinyl, parquet, tiles, underlay, adhesives, skirting boards and wall panels, where customers know their room in square meters but the product is sold per pack.
No calculate button and no formulas to write: choose a quantity type, enter the size of one pack, done. The calculation works in both directions, so changing the number of packs updates the area as well.
Think of it as a free measurement price calculator made for flooring: an m2 calculator (m² to packs), a box calculator for tiles, a roll calculator for underlay and a coverage calculator for adhesives, all in one plugin, while the price stays per pack as set in your shop.
How it works
A customer needs 37.5 m² of laminate. One pack holds 1.74 m².

37.5 m² ÷ 1.74 m² = 21.6, rounded up to 22 packs, which cover 38.28 m².
With 10 % waste ticked: 41.25 m² ÷ 1.74 m² = 23.7, rounded up to 24 packs.
The total price updates instantly, the cart shows “Area: 38.28 m²” next to the line item.

The same logic covers the other product groups:

Skirting boards: a 5 × 4 m room has an 18 m perimeter, at 2.40 m per board that is 8 boards.
Adhesive: 50 m² at 1 kg per m² in 25 kg buckets is 2 containers.
Underlay rolls and wall panels: area divided by the size of one roll or panel, rounded up.

Quantity types
Each product gets one quantity type. The type decides which fields the customer sees.

Square meters / packs: laminate, vinyl, parquet, tiles, carpet tiles
Square meters / rolls: underlay, insulation, rolled goods
Square meters / panels: acoustic and wall panels, sizes per variation supported
Meters / pieces: skirting boards and profiles sold per piece of fixed length
Meters: goods sold by the running meter
Coverage / container: adhesives and fillers, from coverage in kg per m² and container size
Pieces: the plain WooCommerce quantity field

Who it is for

Flooring shops: laminate, vinyl and LVT, parquet, linoleum, carpet tiles, cork
Tile shops selling tiles per box
Building material shops: underlay, insulation, adhesives, fillers, levelling compound
Shops selling skirting boards, profiles, transition strips and wall or acoustic panels
Any WooCommerce shop that sells per pack, roll, box or bucket while customers think in square meters or running meters

Formulas used

Packs = area ÷ size per pack, rounded up
With waste = area × (1 + waste %) ÷ size per pack, rounded up
Skirting boards = 2 × (room length + room width) ÷ length per board, rounded up
Adhesive containers = area × coverage in kg per m² ÷ container size in kg, rounded up
Delivered area = packs × size per pack (shown in cart and saved with the order)

Features on the product page

Two way calculation: enter the area to get packs, or change the packs to see the area they cover
Always rounded up to whole packs, rolls, panels, pieces or containers, so the customer never orders too little
Plus and minus buttons on the area field step by exactly one pack
Hint below the quantity field, for example “1 pack = 1.74 m²” or the required adhesive weight “Required: 50 kg”
Waste checkbox, for example “Add 10% for waste”, with a line showing the area and packs including waste
Room calculator: length × width for floors and panels, perimeter for skirting boards, area for adhesives
Live total price including tax; on sale items also the regular total and the saving
Notices when a minimum quantity applies or when stock is lower than the requested amount
Variable products: each variation can have its own size per unit, the calculator switches with the selection
Price suffix per unit on variations, for example “29.50 € / pack”
Goods sold by the meter: a fixed note such as “Sold by the meter. Length per piece approx. 2.40 to 2.70 meters.”
The entered area is remembered during the visit, so comparing floors or adding the matching underlay and adhesive is instant
Prefilled fields are selected on tap, typing replaces the old value
Mobile friendly: the calculator stacks into one column with large touch targets

Features in cart, checkout and orders

Delivered area, length or weight shown with every line item, for example “Area: 38.28 m²” or “equals 77.00 kg”
Works in the classic cart and checkout and in the block based cart and checkout
The value is saved with each order line, so it appears in the order screen, in order emails and on invoices
Stock shown in m² instead of packs, for example “534.06 m² in stock” (optional)
Respects minimum and maximum quantities and stock limits set by WooCommerce or other plugins

Features for shop managers

Quantity type, size per unit and waste percentage per product, in the product data panel
Waste percentage per product, for example 15 % for herringbone and 5 % for click vinyl, with shop defaults for area products and for skirting boards
Product list column showing type and size, plus a filter “Size per unit missing” to find incomplete products
Quick edit and bulk edit for quantity type, size per unit and waste, for hundreds of products at once
Settings: waste defaults, total price on or off, stock display, note for goods sold by the meter, available quantity types
Existing custom fields from a previous solution can be migrated once with a filter
Uninstalling removes only the plugin’s settings, product data stays

For developers

Filters caqc_types (own quantity types), caqc_waste_percent (waste per product or group), caqc_stock_in_size (stock display) and caqc_migration_map (migration of old meta keys)
No template overrides: the calculator uses the standard add to cart hooks
Compatible with High-Performance Order Storage (HPOS) and the cart and checkout blocks
PHP 7.4 to 8.5, WordPress 6.5 or later, WooCommerce 8.0 or later
Translation ready, German included (formal and informal)

Works with your theme
The calculator uses the standard WooCommerce add to cart hooks and wraps the theme’s quantity field instead of replacing it, so the theme’s plus and minus buttons keep working. Tested with Storefront and Woodmart, on desktop and mobile.
Privacy
No external requests, no tracking, no personal data stored. The entered area is kept in the browser’s session storage for the current visit only. There is no Pro version and no upsell.
Support
Questions and bug reports are welcome in the support forum on wordpress.org. For anything else, write to [email protected]. Setup help and custom development for WooCommerce shops: CMS ADMINS.
Disclaimer
The calculator gives an estimate based on the sizes, coverage values and waste percentages entered by the shop. Shop owners are responsible for correct product data and prices and should advise customers to check quantities before laying. The plugin is provided “as is”, without warranty of any kind, as stated in the GNU General Public License.
Trademarks
WooCommerce is a registered trademark of Automattic Inc. This plugin is not affiliated with or endorsed by Automattic or WooCommerce.
Copyright
Copyright (C) 2026 Patrick Schlesinger, cms-admins.de. Released under the GNU General Public License v2 or later.

延伸相關外掛

文章
Filter
Mastodon