
DahuConcept Composite Products for WooCommerce
v1.0.0Hugo Vial-Jaime · 2026年11月24日 上架
Server-driven configurable product kits for WooCommerce: scenarios, validation, pricing and weight computed server side, exposed through a REST API.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 37
- 最近更新
- 2026年11月24日
贡献者
截图
DahuConcept Composite Products turns a WooCommerce product into a guided configurator. The
customer walks through steps, picks an option at each one, and ends on a
summary with a price and a weight that the server — not the browser — worked
out.
That split is the point. Everything a shopper can change is revalidated server
side before it reaches the cart, so a configuration that passed the
configurator is a configuration the cart accepts. Nothing a client sends is
trusted.
How it is built
A kit is a list of components. Each component offers products as options, and
each option can carry its own variation, quantity bounds, weight handling and
display. Scenarios describe what happens to one component depending on what was
chosen in another: hide options, keep only some, or stop the journey with a
message.
The front end is a thin client. It calls one REST route, /state, on every
customer action; the server corrects selections invalidated by a scenario,
cascades internally without further round trips, and returns the new state,
price and weight in one response.
Features
- Step-by-step configurator with server-side validation
- Scenarios: conditional hiding, restriction to a subset, dead ends with a message
- Price and weight computed from the selected options
- Category sections (“ranges”) with their own icons, colours and help bubbles
- Per-customer exceptions unlocking restricted options
- Saved configurations in My Account, with optional guest saving
- Admin simulator: test a configuration before saving the product
- JSON import and export of a kit’s configuration
- REST API for headless front ends
- Compatible with High-Performance Order Storage (HPOS)
Optional integrations
The plugin works on its own. When they are present it also talks to:
- DahuConcept Customer Pricing — role-based price labels and tiers.
- A product bundle plugin — components that offer a bundle as an option.
Neither is required, and neither is bundled.
For developers
Themes style the configurator by returning true from
ubac_kits_theme_provides_styles; the plugin then drops its own skin.
Detail tabs can be rendered by the theme through
ubac_kits_product_tabs_callback.
External services
This plugin does not contact any external service.
On the version number
This plugin is published at 0.x on purpose, and the number is not modesty: it
says that the configurator has been proved by an injection bench and a static
harness, and not yet by a long run on a busy shop. Every money path — pricing,
weight, cart validation — is covered by named assertions that are themselves
proved to fail when the guard behind them is removed, so a defect there is a
defect the bench missed rather than a defect nobody looked for.
What 0.x reserves is the part a bench cannot reach: the shapes of real
catalogues, the themes it will meet, the plugins it will sit beside. The number
will move to 1.0 when it has met those, not when the feature list feels long
enough.



