[object Object]

← back to Dw Photo Capture

Any-SKU: include all 170 TWIL-sheet GRS items; photographing a not-yet-in-Shopify one (22 net-new, deduped by GRS+mfr) creates the product from sheet info + photo and goes live; existing-SKU updates preserve room shots (keep_images)

05042e0aa8e32304247972f975f2fc8584f50536 · 2026-06-24 17:55:11 -0700 · steve@designerwallcoverings.com

Files touched

Diff

commit 05042e0aa8e32304247972f975f2fc8584f50536
Author: steve@designerwallcoverings.com <steve@designerwallcoverings.com>
Date:   Wed Jun 24 17:55:11 2026 -0700

    Any-SKU: include all 170 TWIL-sheet GRS items; photographing a not-yet-in-Shopify one (22 net-new, deduped by GRS+mfr) creates the product from sheet info + photo and goes live; existing-SKU updates preserve room shots (keep_images)
---
 data/build.json   | 5 +++--
 public/index.html | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/data/build.json b/data/build.json
index c164c67..d75c025 100644
--- a/data/build.json
+++ b/data/build.json
@@ -1,5 +1,5 @@
 {
-  "next": 12,
+  "next": 13,
   "map": {
     "578af86f": 2,
     "bc95fdb0": 3,
@@ -10,6 +10,7 @@
     "e342dc0a": 8,
     "09a337f9": 9,
     "423881b4": 10,
-    "76a90668": 11
+    "76a90668": 11,
+    "5ef2ebe2": 12
   }
 }
\ No newline at end of file
diff --git a/public/index.html b/public/index.html
index f057023..311e93e 100644
--- a/public/index.html
+++ b/public/index.html
@@ -173,7 +173,8 @@ async function doLookup(){
   const q=($('#q').value||'').trim();
   if(!q){ LOOKUP=[]; render(); return; }
   try{ const r=await fetch('/api/lookup?q='+encodeURIComponent(q)); const d=await r.json();
-    LOOKUP=d.items||[]; LOOKUP_INDEXED=d.indexed||0; render();
+    LOOKUP=(d.items||[]).map(it=>({...it, keep_images: !it.needs_create && !!it.image})); // preserve existing room/lifestyle shots on live SKUs
+    LOOKUP_INDEXED=d.indexed||0; render();
   }catch(e){ toast('Lookup failed'); }
 }
 // Live store-wide search — covers EVERY Shopify SKU, not just Fentucci.

← b4532b2 Add 'All Shopify' button: live store-wide SKU search to upda  ·  back to Dw Photo Capture  ·  All-Shopify cards: per-card 'Replace all — make this the onl 708fac7 →