[object Object]

← back to Raffiawallcoverings

raffiawallcoverings: tighten niche filter — exclude competing-fiber products (fleet fix, 'it is not {niche}')

567628b3a17b0cef368be9c1976ccdb75900d2cf · 2026-08-12 09:52:52 -0700 · steve

Files touched

Diff

commit 567628b3a17b0cef368be9c1976ccdb75900d2cf
Author: steve <steve@designerwallcoverings.com>
Date:   Wed Aug 12 09:52:52 2026 -0700

    raffiawallcoverings: tighten niche filter — exclude competing-fiber products (fleet fix, 'it is not {niche}')
---
 .gitignore | 1 +
 server.js  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 3b1c9b3..429f907 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@ build/
 *.bak-*
 *.pre-*
 *.orig
+.deploy.conf
diff --git a/server.js b/server.js
index ad00912..0876ea0 100644
--- a/server.js
+++ b/server.js
@@ -87,7 +87,7 @@ let DROPPED = 0;
 
 // graphics-loop pass 12: niche keyword filter — only show products that fit this site's niche
 const NICHE_POS = ["raffia","palm","woven","tropical","natural fiber"];
-const NICHE_NEG = ["solid","blank","plain"];
+const NICHE_NEG = ["solid","blank","plain","silk","mica","mylar","cork","linen","flax","suede","leather","hemp","abaca","vinyl"]; // +competing-fiber exclusions (Steve fleet fix 2026-08-12: 'it is not {niche}')
 function nicheFit(p) {
   const blob = ((p.title || '') + ' ' + (p.tags || []).join(' ')).toLowerCase();
   if (NICHE_NEG.some(n => blob.includes(n.toLowerCase()))) return false;

← 2d89527 viewer standard: add per-field on/off menu (Fields ▾) to pro  ·  back to Raffiawallcoverings  ·  raffiawallcoverings: title-competitor guard — drop non-niche 9cef77e →