berrypod/lib/simpleshop_theme/providers
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
..
printful.ex fetch catalog color hex codes during Printful sync 2026-02-16 00:11:18 +00:00
printify.ex filter Printify options to enabled variants and order by hero colour 2026-02-16 00:29:20 +00:00
provider.ex add Printful provider integration with HTTP client and order routing 2026-02-15 09:01:05 +00:00