Cut & Pack for WooCommerce

By Cartwright

0+ active installationsVersion 1.1.0

Sell tiles, flooring and fabric by m² or metre. Shoppers enter the size they need, and Cut & Pack rounds up to whole boxes and shows the price live.

Description

Selling flooring, tiles, fabric or blinds in WooCommerce usually means asking shoppers to work out how many boxes they need. Many get it wrong, order too little, and come back unhappy.

Cut & Pack puts a simple calculator on the product page. The shopper types the area or length they need, and sees straight away how many boxes that is and what it costs.

Two modes

Sold in packs – for tiles, laminate, flooring, wallpaper.
The shopper enters 23.5 m². With boxes of 1.44 m², Cut & Pack shows “You need 17 boxes (24.48 m²) – £976.82” and adds 17 boxes to the cart. Shoppers always get at least what they asked for, and an exact fit is never rounded up.

Cut to size – for fabric, blinds, cable, rope.
The shopper enters 2.34 m. With a 0.1 m step, it becomes 2.4 m and the price is worked out for exactly that length.

Features

  • Price per m² or per metre, using the product’s normal price
  • Shoppers enter a total area, or length × width
  • Rounds up to whole packs, with stock counted in packs
  • Live price on the product page, with no page reload
  • Minimum, maximum and step sizes, with clear error messages
  • Measurements shown in the cart, checkout, order screen and order emails
  • Works with the block-based cart and checkout and the classic one
  • Every price is recalculated on the server, so it cannot be changed in the browser
  • Compatible with WooCommerce High-Performance Order Storage (HPOS)
  • Lightweight: loads only on products that use the calculator
  • Translation-ready

Who it’s for

Shops selling tiles, laminate, wood and vinyl flooring, carpet, wallpaper, fabric, curtains, blinds, turf, insulation and other products sold by area or length.

Installation

  1. Install and activate WooCommerce.
  2. Go to Plugins → Add New, search for “Cut & Pack”, then install and activate it.
  3. Edit a simple or variable product and enter the price per m² (or per metre) as the Regular price (on a variable product, on each variation).
  4. Open the new “Made to measure” tab, tick “Enable calculator” and choose the mode.
  5. For packs, enter how much one box covers (for example 1.44 m²).
  6. Update the product and view it on your shop.

FAQ

Which product types are supported?

Simple and variable products. On a variable product (for example one floor in several finishes) each variation has its own price per m², its own stock and, if you like, its own pack size. Grouped and external products are not supported.

Can each variation have a different pack size?

Yes. Switch the calculator on in the product’s “Made to measure” tab and enter the usual pack size. In each variation’s panel you can enter a different “Pack size”; leave it empty to use the product’s. Stock is counted in boxes, so if a finish has 5 boxes left the shopper is told so instead of being able to order more.

What does “Order again” do with measured items?

Measured items are not added again automatically, because the size has to be entered again. The shopper opens the product page and enters the size.

What price do I enter?

The normal Regular price (and Sale price, if any) on the General tab, as a price per m² or per metre. Cut & Pack shows it as “£39.90 / m²”.

How is the price of a box worked out?

Coverage per box × price per m², rounded to whole pennies. For example 1.44 m² × £39.90 = £57.46 per box. The total is the number of boxes × £57.46, so the numbers always add up.

Can shoppers change the number of boxes in the cart?

Yes. The coverage shown in the cart updates to match.

How is stock handled?

In “Sold in packs” mode, stock is counted in boxes using WooCommerce’s normal stock field.

Does it work with the new block checkout?

Yes. It works with both the block-based cart and checkout and the classic shortcode versions.

Does it track me or connect to external services?

No. Cut & Pack makes no external requests and collects no data.

What happens to my data if I delete the plugin?

Nothing is deleted unless you tick “Remove data on uninstall” under WooCommerce → Settings → Products. Measurements stored on past orders are always kept.

Screenshots

Changelog

1.1.0

  • New: variable products. Each variation can have its own price per m² (or per metre), its own stock and, optionally, its own pack size.
  • New: a finish that has only a few boxes left tells the shopper how many boxes can be ordered.
  • Developers: the cutpack_product_settings filter now receives the parent product as its second argument and, for a variation, the variation as a third argument.

1.0.0

  • First release.