# Materials

The components everything else is built from — Shopify-linked variants and virtual materials. Two kinds of stock, one component picker.

import Term from '~/components/Term.astro';
import { CardGrid, LinkCard } from '@astrojs/starlight/components';
import DocUpdated from '~/components/DocUpdated.astro';

In Assemblified, a <Term def="raw-material">material</Term> is the component a finished good's
<Term def="bom">bill of materials</Term> or an assembly BOM (defining a
<Term def="sub-assembly">subassembly</Term>) consumes. There are two kinds:

- **Shopify-linked materials.** A real Shopify variant. Shopify owns the stock; Assemblified writes
  its consumption back through the Shopify Admin API.
- **Virtual materials.** Assemblified owns the stock. No Shopify product, no Shopify variant. For
  consumables and components you never sell on their own.

Both kinds appear in the same component picker on the **Finished goods** and **Assembly BOMs**
detail pages, and both are consumed identically when an order executes — except a virtual material
never causes a Shopify call. Both can carry a unit cost and an optional physical
[weight](/features/raw-materials/weight/) that rolls up into a calculated weight on finished goods
and assembly BOMs.

## On this page

- When to use Shopify-linked vs virtual
- Where stock lives
- What the badges on a material mean
- Capability snapshot — every page in this section

## When to use which

| Use case | Use |
|---|---|
| You sell the material standalone in Shopify. | **Shopify-linked.** The same SKU does double duty as a standalone product and a component. |
| You don't sell the material; it's pure component. | **Virtual.** Skip the Shopify product setup; Assemblified tracks the stock. |
| Multi-location with Shopify-managed stock. | **Shopify-linked** — Shopify's own location model does the work. |
| Tiny per-assembly quantities (one screw per unit). | **Virtual.** Setting up a Shopify product just to track stock is overkill. |
| Material from a non-Shopify supplier. | **Virtual.** There is no Shopify variant to link to. |
| Cost accounting — the material has a unit cost you track. | Either. Both carry a unit cost. |

You can mix freely in a single bill. A candle might pull its wax from Shopify (it is also sold
standalone) and its wick from a virtual material (a low-value consumable that is not in the
catalogue).

## Where stock lives

- **Shopify-linked materials.** Shopify holds the stock and Assemblified reads it live, per
  location. Consumption is written back through the Shopify Admin API.
- **Virtual materials.** Assemblified holds the stock itself, per location. No Shopify call.

Both are always **per-location**. When you change a Shopify-linked material's stock in Shopify
itself, Assemblified picks the new figure up on Shopify's product update — and only recalculates the
finished goods that use the material when **Settings → General → Auto-update on inventory change**
is switched on.

See [Inventory tracking](/features/raw-materials/inventory-tracking/) for the full picture, including
what **Reconcile inventory** compares.

## What the badges mean

A material's row and its page carry a few badges that change how it behaves:

- **Virtual material** or **Shopify managed** — which of the two kinds it is.
- **Bill of materials** — this material is also something you build, so it has a bill of its own.
  That is the [bill-as-component pattern](/features/bill-of-materials/composition/#the-bom-as-raw-pattern):
  one finished good used as a component of another.
- **Essential** or **Non-essential** — whether a shortage of this material caps how many of its
  parents Assemblified believes it can build. See
  [Non-essential materials](/features/raw-materials/non-essential/).
- **Binding refused** — Shopify is permanently rejecting stock updates for this material. See
  [Binding refused](/features/raw-materials/binding-refused/).

## What you can do

<CardGrid>
  <LinkCard
    title="The materials list"
    href="/features/raw-materials/materials-list/"
    description="Searching, filtering, saved views, the columns you choose, and everything you can do to one material or a whole selection."
  />
  <LinkCard
    title="The material page"
    href="/features/raw-materials/material-detail/"
    description="One material in full — its details, its stock at each location, what consumes it, where it sits in your structure, its metafields and its settings."
  />
  <LinkCard
    title="Adjusting stock and stock counts"
    href="/features/raw-materials/restocking/"
    description="The grid for changing stock across many materials and locations at once, from a bill or from a filled template."
  />
  <LinkCard
    title="Shopify-linked materials"
    href="/features/raw-materials/shopify-linked/"
    description="Registering a Shopify variant as a material, and how stock moves between the two systems."
  />
  <LinkCard
    title="Virtual materials"
    href="/features/raw-materials/virtual-materials/"
    description="Creating and managing materials that aren't in Shopify, and setting their opening stock."
  />
  <LinkCard
    title="Importing materials"
    href="/features/raw-materials/import/"
    description="Upload a CSV or XLSX, map its columns, review what would change, then create or update in one go."
  />
  <LinkCard
    title="Material groups"
    href="/features/groups/"
    description="Your own labels for organising materials, and the filter that uses them."
  />
  <LinkCard
    title="Units of Measurement"
    href="/features/raw-materials/units/"
    description="The unit field on a material. Built-in units plus how to define your own (boxes, rolls, hours, …)."
  />
  <LinkCard
    title="Unit conversions"
    href="/features/raw-materials/unit-conversions/"
    description="Conversion factors between units, and how changing a referenced material's unit converts BOM quantities and cost instead of relabelling them."
  />
  <LinkCard
    title="Weight"
    href="/features/raw-materials/weight/"
    description="The optional physical weight on a material — mirrored from Shopify or editable for virtual — that rolls up into a calculated weight."
  />
  <LinkCard
    title="Inventory tracking"
    href="/features/raw-materials/inventory-tracking/"
    description="Multi-location stock, the kinds of stock Assemblified keeps, and how an external Shopify change is picked up."
  />
  <LinkCard
    title="Non-essential materials"
    href="/features/raw-materials/non-essential/"
    description="The flag that stops a material capping how many of its parents you can build — without removing it from the BOM."
  />
  <LinkCard
    title="Binding refused"
    href="/features/raw-materials/binding-refused/"
    description="What the red banner means when Shopify stops accepting stock updates for a material, and the two ways to fix it."
  />
</CardGrid>

## Where to next

- [Shopify-linked materials](/features/raw-materials/shopify-linked/) — start here for typical materials.
- [Virtual materials](/features/raw-materials/virtual-materials/) — for consumables and non-Shopify items.
- [BOM Composition](/features/bill-of-materials/composition/) — how materials fit into a bill of materials.

<DocUpdated date="2026-11-19" />