This is the development repository for https://wordpress.org/plugins/product-configurator-for-woocommerce/
MKL Product Configurator for WooCommerce
- Contributors: mklacroix, marcusig
- Tags: 3D configurator, product customizer, product builder, woocommerce, request a quote
- ⭐⭐⭐⭐⭐ Reviews on WordPress.org
Build 2D and 3D product configurators for WooCommerce. Customers design their product with a live visual preview, then add it to the cart or request a quote.
Description
Product Configurator for WooCommerce turns any WooCommerce product into an interactive product builder. Every option a customer picks updates a live preview, so they see exactly what they are buying before they add it to the cart, in 2D or in 3D.
- 2D configurator: stack transparent image layers (Photoshop exports, 3D renders, product photography) across several views.
- 3D configurator: upload a glTF / GLB model and let customers rotate, zoom and configure it in real time.
A single configurable product replaces hundreds of variations and images, and with global configurators and global layers you build it once and share it across your whole catalog. For made-to-order products, customers can request a quote instead, and accept and pay it online.
New in 2.1: request a quote
Customers request a quote for exactly what they configured, picture included, from a Request a quote button next to Add to cart, or instead of it for products sold on quote only. No quote plugin needed.
- Where requests go: by email only, kept in their own list in the admin (no WooCommerce order needed), or created as WooCommerce orders with a "Quote request" status.
- Pricing and sending: edit the configuration, set the price, add a message and email the quote. Each request keeps its history.
- Leads by phone or email: create a request in the admin, configure the product for the customer, and send the quote.
- The customer's side: a private page per request, a Quote requests tab in My account, and "Find my requests" for lost links. Customers accept and pay, decline, or ask for a change.
- Request form: reorder, relabel and translate the fields, with prefill for signed-in customers. Add your own fields and file uploads with Form fields, and a PDF of the quote with Save your design.
- Edit orders from the admin: change the configuration of an order line, or add a configured product to an order.
- For developers: a REST API, a
PC.fe.quote JavaScript API for headless front ends, mkl_pc_create_quote_request(), and hooks throughout.
Quote requests documentation
New in version 2
Version 2.0.0 is the biggest release of the plugin so far. Read what's new in v2, and see Upgrading to v2 before updating a live shop.
3D configurator
Set a product's configurator type to 3D configurator and upload a model as .glb, .gltf, or a .zip containing the .gltf and its textures.
- Choices are linked to named objects in the model, and can show, hide or move them, or change their material.
- A camera position per view, which can be imported from the model's own cameras.
- HDRI or cubemap environments, six light types, soft or real-time shadows.
- Draco and Meshopt compressed models and KTX2 textures.
- 3D scripts load only on products that use them, and secondary models can load on demand.
- The cart, orders and quotes show a screenshot of the configured model.
- Full keyboard control of the 3D view.
3D configurator documentation
Global configurators
Share one configurator between many products. Edit it once and every product using it is updated. Assign it product by product or to whole categories, and detach a single product with Make local copy when it needs to differ. Works with variable products too.
Global configurators documentation
Global layers
Build a layer once, such as a fabric range or a color palette, and import it into any configurator. Changes reach every product using it, and any product can disconnect to customize its own copy.
Global layers documentation
Also in v2
- Order data your tools can read: the new Configuration meta data setting stores the configuration as one plain-text order meta per layer, for exports, invoices and ERP integrations.
- Orders keep what was ordered: cart items, orders and quotes render the image, layer names and choice names saved with them, so editing or renaming a configurator later no longer changes past orders.
- Performance settings: caching, asynchronous loading and GZIP are grouped in one section, with a new option to only render the images the configurator is showing.
- New EV theme, with automatic angle switch on scroll.
- Configuration import and export include 3D settings and objects, and Save and fix images relinks 3D files after an import.
The full list, including the new hooks and methods, is in the changelog in src/readme.txt.
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗