Custom SKU Rules

Custom SKU Rules

Overview

Custom SKU rules let you automatically generate a unique SKU (Stock Keeping Unit) for every product configuration a customer creates. The SKU is built from fragments — short codes assigned to each option value — combined according to a composition template you define. This is useful for inventory tracking, order fulfillment, and ERP integration. You configure SKU rules in Calculator Editor → Optional Features → Custom SKU rules.

Steps

  1. In the Custom SKU rules section, build a SKU composition template using the Insert menus: Insert option adds a {{KEY}} token, Insert dimensions adds {{DIM1}}, {{DIM2}} tokens, and Insert variable adds a {{VAR:name}} token.
  2. Combine tokens with separators to form your SKU pattern (e.g., {{MATERIAL}}-{{SIZE}}-{{COLOR}}).
  3. For choice-type options (dropdowns, swatches, radios, etc.), set a SKU fragment on each choice value. Go to Options & Pricing → Edit option → Basic Settings → SKU fragment. The fragment replaces the {{KEY}} token for that choice.
  4. Optionally enable Show SKU in cart to display the generated SKU in the customer's cart.
  5. The computed SKU based on your current preview selections is shown at the bottom of the section.

Details

Setting Description
SKU composition A template string using {{KEY}}, {{DIMn}}, and {{VAR:name}} tokens.
SKU fragment (per choice) A short code set on each choice value in the option's settings.
Show SKU in cart When enabled, the generated SKU appears in the customer's cart alongside the order details.
Computed SKU (preview) Read-only field showing the SKU based on current preview selections.

Examples

  • Apparel — Composition: TEE-{{SIZE}}-{{COLOR}}. With SKU fragments Size=LG, Color=BLK, the generated SKU is TEE-LG-BLK.
  • Custom window blinds — Composition: BLD-{{MATERIAL}}-{{DIM1}}x{{DIM2}}. With Material fragment=WD and dimensions 36×48, the SKU is BLD-WD-36x48.