HJS Product Variants — OpenCart 4
- Product Code: hjs_product_variants
- Availability: In Stock
£41.99
- Ex Tax: £41.99
Give every combination of a product's options its own SKU, price, stock and weight. Stock is tracked per combination, so Large Blue can sell out while Small Blue stays on sale — and the product page shows the right price and availability as the customer chooses.
Key features
- A separate stock quantity for every combination of a product's Select and Radio options
- A separate SKU for every combination
- An optional price per combination, replacing the calculated price — the cart charges the override
- An optional weight per combination, replacing the calculated weight — shipping cost follows the override
- A one-click generator that builds every combination from the options already on the product
- Regenerating adds only what is missing — existing rows keep their SKU and stock
- Enable or disable a single combination without deleting it
- Show the variant's SKU on the product page
- Unavailable option values are greyed out, or hidden entirely with "Hide unavailable combinations"
- Works alongside a free-text option such as engraving on the same product
- Add to cart is refused for an out-of-stock combination, and stock is re-checked in the cart
- Two combinations of the same product can be in the basket at once, tracked and charged independently
- Stock moves on order status using the statuses OpenCart already uses, and is restored on cancel
- Installs through Extensions > Installer as an OCMOD package — no core files are overwritten
Compatibility
Tested on OpenCart 4.1.0.4, PHP 8.4. MySQL or MariaDB with InnoDB. Built against the default OpenCart 4 theme.
Tags: product variants, option combinations, variant stock, product sku, combination price





