| 开发者 | cartwrightplugins |
|---|---|
| 更新时间 | 2026年11月24日 20:31 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
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.
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.
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.
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²".
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.
Yes. The coverage shown in the cart updates to match.
In "Sold in packs" mode, stock is counted in boxes using WooCommerce's normal stock field.
Yes. It works with both the block-based cart and checkout and the classic shortcode versions.
No. Cut & Pack makes no external requests and collects no data.
Nothing is deleted unless you tick "Remove data on uninstall" under WooCommerce → Settings → Products. Measurements stored on past orders are always kept.
cutpack_skip_add_to_cart (add-to-cart request) and cutpack_skip_cart_item (keeps such a line in the cart). A plugin that skips Cut & Pack owns the line's price, quantity and stock; it should use its own form, separate from the product's add-to-cart form.cutpack_product_settings filter now receives the parent product as its second argument and, for a variation, the variation as a third argument.