[object Object]

← back to Bleachresistantfabrics

remove vendor name render from public product cards

df435bed348b62e5306daa88814eabd9870289cc · 2026-05-25 20:49:09 -0700 · Steve

DW standing rule: vendor names NEVER in customer-facing UI. The card
overlay was rendering `${p.vendor || ''}` directly under the title —
removed. Title remains; nothing else changes visually.

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

Files touched

Diff

commit df435bed348b62e5306daa88814eabd9870289cc
Author: Steve <steve@designerwallcoverings.com>
Date:   Mon May 25 20:49:09 2026 -0700

    remove vendor name render from public product cards
    
    DW standing rule: vendor names NEVER in customer-facing UI. The card
    overlay was rendering `${p.vendor || ''}` directly under the title —
    removed. Title remains; nothing else changes visually.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
 public/index.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/public/index.html b/public/index.html
index 32c1fff..ada00b5 100644
--- a/public/index.html
+++ b/public/index.html
@@ -414,11 +414,12 @@ function card(p) {
   const handle = encodeURIComponent(p.handle || p.sku || '');
   const url = p.product_url || ('https://designerwallcoverings.com/products/' + handle);
   const sample = '/sample/' + handle;
+  // NOTE: vendor name intentionally NOT rendered — DW standing rule "never
+  // expose vendor names in customer-facing UI." (Was: <div class="ven">${p.vendor}</div>)
   return `<a class="card" href="${url}" target="_blank" rel="noopener noreferrer">
     <img loading="lazy" src="${p.image_url}" alt="${(p.title || '').replace(/"/g, '&quot;')}">
     <div class="overlay">
       <div class="pat">${p.title || ''}</div>
-      <div class="ven">${p.vendor || ''}</div>
       <div class="actions">
         <span class="sample-btn">Free Memo</span>
       </div>

← 965b78e retag aesthetic from PG: 598 rows updated  ·  back to Bleachresistantfabrics  ·  wire api-vendor-redact middleware (close vendor leak in /api 575a927 →