# Variants and stock

> Sell one product in several sizes or colours — each variant with its own price, stock and weight — and how stock goes down and comes back.

Product: NijeesWeb online store builder · Source: https://www.nijeesweb.com/docs/ecommerce/products/variants-and-stock · Updated 2026-10-06

A **variant** is one version of a product that a customer can buy — *White Casual Office Suit, size M*. Every product has at least one. Each variant carries its own **stock**, **price**, **weight** and **dimensions**, so a large size can cost more and weigh more than a small one.

## Single item or multiple variants

Open **Product Variants** on the product form and choose:

- **Single Item** — the product comes in one version only. You fill in one set of stock, price and weight.
- **Multiple Variants** — the product comes in options. Each variant is a combination of attributes, such as *Size: M* or *Size: M, Colour: Blue*.

![A product with variants](https://www.nijeesweb.com/marketing/img/docs/ecommerce/admin/product-variants-1200.webp "Multiple Variants: each variant has its own stock and pricing")

![A single-item product](https://www.nijeesweb.com/marketing/img/docs/ecommerce/admin/product-single-item-1200.webp "Single Item: one set of stock, pricing and weight")

## Create variants

1. Under **Product Attributes**, choose the **Attribute Categories** the product varies by (for example *Women's Size*), then the **Attributes** it comes in (*XS*, *S*, *L*). See [Attributes](https://www.nijeesweb.com/docs/ecommerce/products/attributes).
2. Under **Product Variants**, choose **Multiple Variants**.
3. For **Variant 1**, pick its attribute in each category — *Women's Size: XS* — and fill in its stock, pricing and weight.
4. Select **Add Variant** for the next one, and repeat.
5. Use **Move Up** and **Move Down** to set the order the options appear in on your store, and the bin to remove a variant.
6. Select **Submit**.

Each variant gets a **SKU** (stock-keeping unit) automatically, such as `P3-412d7dd50c`.

> [!TIP]
> Only make variants for combinations you actually sell. If blue is not available in XL, simply do not add a *Blue, XL* variant — customers cannot choose it.

## Stock

**Stock Quantity** is how many of that variant you have.

- When it reaches **0**, the variant shows **Out of stock** and cannot be added to the cart.
- With **Settings → Storefront → Stock Visibility** set to **Show stock**, product pages show *In stock · 12 available*; otherwise just *In stock*. When few are left, customers see *Only 2 left in stock*.

### When stock goes down

- **Cash on delivery and bank transfer** orders take the stock the moment the order is placed.
- **Online payments** take it when the payment is confirmed — an abandoned payment does not hold stock.

### When it comes back

Cancelled orders and accepted returns can put the items back in stock automatically — you choose this under **Orders → Returns Policy** (*Restock on cancellation* and *Restock on return*). See [Returns policy](https://www.nijeesweb.com/docs/ecommerce/orders/returns-policy).

> [!NOTE]
> Stock is not changed when you edit an order's status by hand. If you sell the same item in a shop or elsewhere, update the stock quantity on the product.

## Weight and dimensions

- **Weight (grams)** — the packed weight of one unit. Shipping is charged on the total weight of the cart, so enter it for every variant: *500* for half a kilo.
- **Length**, **Width** and **Height (cm)** — the packed size. Shiprocket uses these for volumetric weight.

A variant with no weight is counted at the **default parcel weight** set on the Shiprocket screen (0.5 kg unless you change it), even if you do not use Shiprocket. See [Shipping rates](https://www.nijeesweb.com/docs/ecommerce/shipping-tax/shipping-rates).

## Limit how many a customer can buy

**Settings → Storefront → Max Quantity Per Product In An Order** caps how many of one thing a customer can put in a single order. Leave it blank or `0` for no limit. **Apply Max Quantity** decides how it counts:

- **Per variant** — the limit applies to each size or colour separately.
- **Per product** — the limit applies to the product across all its variants.

Customers who go over see *Some items in your cart are out of stock or exceed the allowed quantity.*

## Changing variants later

You can add, remove and reorder variants on a live product at any time. Removing a variant does not touch past orders — they keep the size, price and quantity the customer bought.
