← back to Designer Wallcoverings
color-palette: fix double-json encode of data-colors (broke Tier1 enriched read); add hybrid local color enrichment (PIL pixels + qwen2.5vl naming)
71defcf66b7194f83f15ff7394d429e096fa2ee0 · 2026-07-07 09:32:25 -0700 · Steve
Files touched
M shopify/theme-LIVE-591/snippets/color-palette.liquid
Diff
commit 71defcf66b7194f83f15ff7394d429e096fa2ee0
Author: Steve <steve@designerwallcoverings.com>
Date: Tue Jul 7 09:32:25 2026 -0700
color-palette: fix double-json encode of data-colors (broke Tier1 enriched read); add hybrid local color enrichment (PIL pixels + qwen2.5vl naming)
---
shopify/theme-LIVE-591/snippets/color-palette.liquid | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shopify/theme-LIVE-591/snippets/color-palette.liquid b/shopify/theme-LIVE-591/snippets/color-palette.liquid
index 0ad6d174..fd5ae41e 100644
--- a/shopify/theme-LIVE-591/snippets/color-palette.liquid
+++ b/shopify/theme-LIVE-591/snippets/color-palette.liquid
@@ -27,7 +27,7 @@
{% assign color_name = product.metafields.custom.color_name.value %}
<div class="dw-color-palette" data-dw-color-palette
- {% if color_details_raw != blank and color_details_raw != 'null' %}data-colors='{{ color_details_raw | json }}'{% endif %}
+ {% if color_details_raw != blank and color_details_raw != 'null' %}data-colors='{{ color_details_raw | escape }}'{% endif %}
{% if primary_hex != blank %}data-primary-hex="{{ primary_hex }}"{% endif %}
{% if ai_colors_raw != blank and ai_colors_raw != 'null' %}data-ai-colors='{{ ai_colors_raw }}'{% endif %}
{% if color_name != blank %}data-color-name="{{ color_name }}"{% endif %}
← f168a645 auto-save: 2026-07-07T09:29:44 (4 files) — pending-approval/
·
back to Designer Wallcoverings
·
enrich: add resumable --all-published batch mode (cursor pag b8804ebf →