[object Object]

← back to Rebel Walls Push

rebel walls title: insert " Wallcoverings" before " | Rebel Walls" suffix

de60df55d3ada8b5e9fc4a8c06347dea299a5f22 · 2026-06-04 08:00:09 -0700 · SteveStudio2

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit de60df55d3ada8b5e9fc4a8c06347dea299a5f22
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date:   Thu Jun 4 08:00:09 2026 -0700

    rebel walls title: insert " Wallcoverings" before " | Rebel Walls" suffix
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 scripts/push.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/push.js b/scripts/push.js
index ce40a5b..ab56098 100644
--- a/scripts/push.js
+++ b/scripts/push.js
@@ -149,7 +149,8 @@ function buildTitle(row) {
   if (color && !/unknown/i.test(color)) color = titleCase(color); else color = '';
   let core = color ? `${pattern}, ${color}` : pattern;
   if (!core) core = row.mfr_sku || row.dw_sku;       // ultimate fallback, never blank
-  return `${core} | ${VENDOR}`.replace(/wallpaper/gi, 'Wallcovering');
+  // Insert "Wallcoverings" immediately before the " | Rebel Walls" vendor suffix (Steve 2026-06-04).
+  return `${core} Wallcoverings | ${VENDOR}`.replace(/wallpaper/gi, 'Wallcovering');
 }
 function buildHandle(row) {
   const base = (buildTitle(row).replace(/\s*\|\s*Rebel Walls$/i, '') + '-' + row.dw_sku)

← f6de296 align metafield types to store defs; canary 5 verified clean  ·  back to Rebel Walls Push  ·  add retitle.js: title-only bulk update inserting " Wallcover 6401830 →