Shopify’s native color swatches are not accessible in Liquid for all product option types.

Short description of issue

Shopify’s native color swatches are not accessible in Liquid for all product option types.

Reproduction steps

  1. Create a product in the Shopify admin.
  2. Add a product option using a non-Color option name that supports swatches (e.g. “Dial color” or “Band color”).
  3. Assign color swatches to the option values in the admin.
  4. In a theme (Liquid), access the option values and inspect the swatch field.
  5. Observe that the swatch field is null for these option values.
  6. Repeat the same steps using the default Color option name and note that the swatch field is populated correctly.

Additional info

Shopify’s native color swatches are only returned for the Color option type. When using other product options that support swatches in the Shopify admin (such as Dial color or Band color), the swatch field for those option values is always null in the Liquid. This prevents themes from rendering color selectors even though swatches are configured in the admin.

What type of topic is this

Bug report

Upload screenshot(s) of issue