A user needs help configuring product variants so that only the SIZE option displays as a dropdown while keeping the COLOR option as an image/color swatch. The theme’s customizer only allows changing both variants simultaneously, not individually.
Key Points:
The built-in theme editor (Dawn v12.0) lacks granular control to apply different picker types to individual variant options
One community member suggests this requires custom coding based on conditional logic (e.g., {% if option.name == "color" %}), but warns it may break the add-to-cart functionality
Another user provides a complete code replacement for product-variant-picker.liquid that automatically applies swatches to the first option and dropdowns to remaining options
Technical Approach:
The solution involves modifying the variant picker code to conditionally render different picker types based on option names or positions. The provided code snippet uses liquid logic to detect swatch availability and apply appropriate formatting.
Status: A code solution has been shared, though implementation requires editing theme files and carries risk of affecting cart functionality if not properly tested.
Summarized with AI on November 3.
AI used: claude-sonnet-4-5-20250929.
If you looking for an idea please follow:
Find the code and make it conditional
{% If option.name == “color” %}
use swatch code which is already available in your theme.
{% else %}
use dropdown code which is also already available in your theme
{% endif %}
If you can modify code in this way result will be as you need.
But keep note I’m 99% sure after this your variant selection will not work. Means add to cart button will add wrong values to cart.