Printify's API returns all blueprint option values (e.g. 21 colours) even when only a few are enabled as variants. This caused the PDP to show phantom colour swatches with no images or purchasable variants. Now filter_options_by_variants strips option values to only those with enabled variants, ordered by first appearance so the hero/default colour leads the swatch list. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| mix/tasks | ||
| simpleshop_theme | ||
| simpleshop_theme_web | ||
| simpleshop_theme_web.ex | ||
| simpleshop_theme.ex | ||