Blog Sections Open
Handling Variant Stock in Shopkeeper with Flexible TVs
Variant-level availability should not be treated as one generic product stock value when customers choose sizes or options independently.
This donor question surfaced a limitation that many Shopkeeper projects hit quickly: the product may exist, but a specific size or variant may not. One total stock value is not enough to express that.
What You Need Instead
- A structured variant model that stores option-specific availability.
- UI feedback that disables or marks unavailable sizes clearly.
- Validation that blocks checkout for unavailable variants even if the main product still exists.
Flexible TVs, ParamEdit-style approaches, or a more structured catalog layer can all help, but the key is the same: stock belongs to the variant, not only to the parent product.
If a store is still running on a single product stock field, it is better to redesign variant handling than to keep piling conditional template logic onto the cart UI.
Why Ditto Keeps Using the Default TV Value
Troubleshoot TV values in Ditto output when the selected value is ignored and only the default TV value is rendered.
Planning a City Selector Without Using Subdomains
A practical architecture for region-specific content in Evolution CMS when all city sections live under one main domain.