LogoClawIndex
CasesSkillsAbout
LogoClawIndex

hydrogen-variant-form - Build Hydrogen product variant selection forms

Build and review Shopify Hydrogen product variant selectors and add-to-cart forms using client-side product and cart state.

Tags

Updated: 2026-11-25

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Compute option existence and availability
  • Resolve cached variants
  • Validate option selections
  • Track cart matches and errors
  • Register product form fields
  • Delegate add-to-cart submission
  • Hydrate changed product data
  • Guide product route placement

Inputs

  • Shopify product data
  • CartStore instance
  • Selected product options
  • Form field values
  • Framework route conventions

Outputs

  • Computed option states
  • Variant selection results
  • Registered form properties
  • Cart submission events
  • Reactive cart errors
  • Matched cart line state

Requirements

  • @shopify/hydrogen
  • Storefront API product data
  • CartStore integration
  • Framework-specific bindings when applicable

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
Shopify
Hydrogen
product variants
cart
forms
UI
Compute option existence and availability
Resolve cached variants
Validate option selections
Track cart matches and errors
Shopify product data
CartStore instance
Selected product options
Computed option states
Variant selection results
Registered form properties