LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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.

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

Guides implementation and review of product option selectors, variant pickers, and add-to-cart forms with Shopify Hydrogen.

Tags

Updated: 2026-11-08

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Compute option existence
  • Compute option availability
  • Resolve selected variants
  • Validate option selections
  • Register form fields
  • Handle form submission
  • Surface cart errors
  • Hydrate product data
  • Reset form state
  • Extract URL options

Inputs

  • Shopify product data
  • CartStore instance
  • Selected product options
  • URL search parameters
  • Form submission events
  • Quantity values
  • Line-item attributes

Outputs

  • Option selection state
  • Resolved variant data
  • Selected option tuples
  • Matched cart line item
  • Cart error state
  • Form field props
  • Cart submission

Requirements

  • @shopify/hydrogen
  • Storefront API product data
  • CartStore integration
  • Framework reactivity primitive

Source

  • Spec: SKILL.md
Shopify Hydrogen
product variants
product options
variant selection
add to cart
cart forms
ecommerce UI
Compute option existence
Compute option availability
Resolve selected variants
Validate option selections
Shopify product data
CartStore instance
Selected product options
Option selection state
Resolved variant data
Selected option tuples