| 开发者 | layoutfoundry |
|---|---|
| 更新时间 | 2026年10月26日 00:08 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
sku or product_id column and the settings you need. You see a preview with a status for every row, and nothing changes until you apply it.assets/embed/ are built from the TypeScript in the source/ folder of this plugin with esbuild. The build steps are in source/BUILD.md.
wp-content/plugins/, then activate it.The first row names the columns. For example:
sku,product,units,tile_size,pieces_per_pack,joint,allowance
GREY-3060,tiles,cm,30x60,8,3,10
The columns are sku or product_id, then any of enabled, product, units, tile_size, pieces_per_pack, coverage, joint, pattern, allowance, roll_width, roll_length, pattern_repeat, match, spread_rate, coats, tin_size, joist_spacing, panel_width, post_width, density and bag_size. A blank cell clears that setting. The full list with allowed values is on the import page.
The planner shows on simple products whose settings are complete. Tiles, flooring and paving need a piece size with pieces per pack, or a coverage per pack. Wallpaper needs a roll width and a roll length. Paint needs a coverage and a tin size, decking a board size, fencing a panel width, gravel a density and a bag weight, and turf a roll size or a coverage per roll. When a setting is missing, the product screen says what to add and keeps the planner off.
Each simple product is one tin size, so the planner counts whole tins of that size. Set up each size as its own product.
No. It works out quantities from the sizes the shopper enters and the allowance shown. Shoppers should measure carefully and check the result before they buy.
The planner starts a background worker from the file beside its script, and browsers only allow that from your own domain. If a CDN or optimisation plugin moves scripts to another domain, exclude wp-content/plugins/layout-foundry-quantities/assets/embed/ from it.