Variant or extra property
Shop systems know variants with their own price and stock. Their number is limited: Shopify allows up to 2,048 variants per product and up to three options [1]. WooCommerce handles variants as variable products [4]. A configurable product soon exceeds such limits, so the data is split:
| What | Where | Why |
|---|---|---|
| Choices that affect price and stock | variant | stock, tax, shipping |
| Everything else (dimensions, text, ID) | line item properties | readable in basket and order |
| The whole configuration | ID or link | restore it, production |
In Shopify the extra details are line item properties; the product template provides input fields for them [2], and the Ajax Cart API carries them when adding to the basket [3]. WooCommerce adds fields through extensions such as Product Add-Ons [5], Shopware through Custom Products [6].
Prices belong on the server
A price calculated only in the browser can be manipulated. The clean route: the configurator sends the choice, the shop validates it and calculates the price itself, so the display cannot contradict the basket. More under price logic.
What the order must show
Basket, order confirmation and the shop back end should show the details readably, such as "Width: 4,200 mm" rather than an internal code. Production and dispatch must know what was ordered without asking. An extra configuration ID lets anyone reopen the exact state in the configurator.
Shop or enquiry?
Not every product belongs in a basket. Where survey, structure or installation set the price, a request for quote is the more honest ending. Many manufacturers run both: standard sizes in the shop, special sizes as an enquiry. See also when a shop makes sense.