Skip to main content
Write content for a whole category once, and every product in it uses the right version. Category variables let you define a set of fields, then fill in different values per category. A fastener gets the fastener material; a cable gets the cable material. Same schema, different values per category. Set them up on the Categories tab in Settings > Content Logic.
Category variables resolve from each product’s primary category. Make sure your products have one set. Use Set Primary Category to assign them in bulk.

Set up category variables

1

Define a schema

Create the fields you need, such as material or care_instructions. Give each one a key, a label, and a type: text, long text, or URL.
2

Fill in values per category

Select each category and enter its specific values. The progress indicator (“3/5 filled”) shows which categories still need values.
3

Reference in content

Use {{category.your_key}} in any formula-enabled field. Each product resolves to its primary category’s value.
For example, a short description that starts with a category intro:
{{product.name}} by {{product.brand}}. {{category.short_intro}}
“Stainless Steel Hex Bolt M10x50 by Fischer. High-grade fasteners for structural and industrial applications.”

What you can do with them

Here are common ways to use category variables. Each one is a field you define once and fill per category.
Write a one-liner per category and inject it into short descriptions with Set Field Value.
Key: short_introValue
FastenersHigh-grade fasteners for structural and industrial applications.
ElectricalIndustrial electrical components for professional wiring and installations.
Safety EquipmentPersonal protective equipment meeting EU safety standards.
Different categories use different materials. Store them per category instead of per product.
Key: materialValue
FastenersStainless Steel AISI 304
ElectricalCopper / PVC insulation
PlumbingBrass CW617N
Safety EquipmentHigh-tenacity polyester / polycarbonate
Material: {{category.material}}
Every category has different care needs. Add them to descriptions with Append/Prepend.
Key: care_instructionsValue
FastenersStore in dry conditions. Avoid contact with dissimilar metals to prevent galvanic corrosion.
ElectricalKeep away from moisture. Inspect insulation regularly. Comply with local electrical codes.
Safety EquipmentInspect before each use. Replace after impact. Clean with mild soap and water.
Paints & CoatingsStore between 5-30°C. Keep container sealed. Dispose of according to local regulations.
\n\nCare & Maintenance: {{category.care_instructions}}
Link to category-specific sizing resources. Use the URL field type.
Key: size_guide_urlValue
Fasteners/guides/fastener-sizes
Electrical/guides/wire-gauges
Pipes & Fittings/guides/pipe-dimensions
Safety Equipment/guides/ppe-sizing
View the size guide: {{category.size_guide_url}}
Different product types may have different MOQs.
Key: moqValue
Fasteners100
Electrical25
Heavy Machinery1
Safety Equipment10
Minimum order: {{category.moq}} units. {{global.lead_time_text}}
“Minimum order: 100 units. Ships within 3-5 business days.”
Pre-define a keyword set per category and inject it into meta keywords with Set Field Value.
Key: seo_keywordsValue
Fastenersbolts, nuts, screws, anchors, fixings, industrial fasteners
Electricalcables, wiring, connectors, circuit breakers, electrical supplies
Safety EquipmentPPE, safety helmet, safety glasses, protective gloves, workwear
{{product.name}}, {{product.brand}}, {{category.seo_keywords}}
Different categories fall under different standards and certifications.
Key: standardsValue
FastenersEN 14399, ISO 4014, DIN 931
ElectricalIEC 60228, EN 50575, CPR compliant
Safety EquipmentEN 166 (eye), EN 397 (head), EN 388 (hand)
Fire ProtectionEN 54, BS 5839, NFPA 72
Applicable standards: {{category.standards}}
Some product types have special shipping requirements.
Key: shipping_noteValue
Paints & CoatingsClassified as hazardous goods for shipping. Ground transport only in EU.
Heavy MachineryFreight shipping required. Delivery by appointment. Pallet or crate packaging.
FastenersStandard parcel shipping.
ElectricalHandle with care. Anti-static packaging included.
Append it directly, or use it in a conditional block:
Shipping: {{category.shipping_note}}
Link to or embed installation instructions relevant to the product type.
Key: installation_textValue
FastenersRecommended torque values at {{global.website_url}}/torque-guide. Pre-drill required for hardwood applications.
ElectricalMust be installed by a qualified electrician. Consult local wiring regulations first.
PlumbingUse PTFE tape on all threaded connections. Pressure-test after installation.

Tips

  • Combine category variables with brand variables for multi-layered content, such as {{category.short_intro}} {{brand.tagline}}.
  • Category values can include other variables, like {{global.lead_time_text}}.

Brand Variables

Store content that differs per brand instead of per category.

Set Primary Category

Assign a primary category to products in bulk.

Global Variables

Define values that stay the same across every product.

Conditional Blocks

Show different content based on product data.