[object Object]

← back to Blockprintedwallpaper

fix: scrub p.vendor leak from Ideas rail card meta

803f9f77a6f5ef92d03f7bff2c4799a4213ddda3 · 2026-05-25 20:50:11 -0700 · SteveStudio2

Customer-facing rails were rendering the raw vendor field from
/api/products into .rc-meta. Standing DW rule — vendor names never
appear in customer-facing UI. Replaced with the canonical "Designer
Wallcoverings" label, matching the rest of the storefront chrome
(grid card overlay, product details modal).

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

Files touched

Diff

commit 803f9f77a6f5ef92d03f7bff2c4799a4213ddda3
Author: SteveStudio2 <steve@designerwallcoverings.com>
Date:   Mon May 25 20:50:11 2026 -0700

    fix: scrub p.vendor leak from Ideas rail card meta
    
    Customer-facing rails were rendering the raw vendor field from
    /api/products into .rc-meta. Standing DW rule — vendor names never
    appear in customer-facing UI. Replaced with the canonical "Designer
    Wallcoverings" label, matching the rest of the storefront chrome
    (grid card overlay, product details modal).
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
 public/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/index.html b/public/index.html
index 6441cca..68249e1 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1069,7 +1069,7 @@ loadGridPage();
       return '<a class="rail-card" href="/sample/' + encodeURIComponent(p.handle || p.sku) + '">' +
         '<img src="' + url + '" alt="' + (p.title || '').replace(/"/g, '&quot;') + '" loading="lazy">' +
         '<div class="rc-title">' + ((p.title || '').split('|')[0] || '').trim() + '</div>' +
-        '<div class="rc-meta">' + (p.vendor || '') + '</div>' +
+        '<div class="rc-meta">Designer Wallcoverings</div>' +
       '</a>';
     }
     const r1 = document.getElementById('railNewest');

← 95207cf pull-from-shopify: use shared classifier with rails primary,  ·  back to Blockprintedwallpaper  ·  fix: add noreferrer to footer Facebook target=_blank 9ef46b6 →