berrypod/lib
jamey 0fe48baaa8 filter Printify options to enabled variants and order by hero colour
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>
2026-02-16 00:29:20 +00:00
..
mix/tasks add Printful mockup generator and post-sync angle enrichment 2026-02-15 16:52:53 +00:00
simpleshop_theme filter Printify options to enabled variants and order by hero colour 2026-02-16 00:29:20 +00:00
simpleshop_theme_web add per-colour product images and gallery colour filtering 2026-02-15 23:21:22 +00:00
simpleshop_theme_web.ex refactor: split shop_components.ex into 5 focused sub-modules 2026-02-08 14:30:25 +00:00
simpleshop_theme.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00