[object Object]

← back to Designerwallcoverings

Revert "google-feed: exclude showroom-tagged products via isShowroomProduct (TK-11307)"

b8f7b46bff9848e2eb719a92609f636ee3bbc6cf · 2026-09-09 07:28:14 -0700 · steve

This reverts commit bddd4d7557570c17e0b1cf7574cb95a159d4a95d.

Files touched

Diff

commit b8f7b46bff9848e2eb719a92609f636ee3bbc6cf
Author: steve <steve@designerwallcoverings.com>
Date:   Wed Sep 9 07:28:14 2026 -0700

    Revert "google-feed: exclude showroom-tagged products via isShowroomProduct (TK-11307)"
    
    This reverts commit bddd4d7557570c17e0b1cf7574cb95a159d4a95d.
---
 scripts/google-feed/feed-eligibility.mjs | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/scripts/google-feed/feed-eligibility.mjs b/scripts/google-feed/feed-eligibility.mjs
index 12befe0..4623b18 100644
--- a/scripts/google-feed/feed-eligibility.mjs
+++ b/scripts/google-feed/feed-eligibility.mjs
@@ -25,7 +25,7 @@ import { createRequire } from 'node:module';
 // Canonical showroom-vendor primitive (list + logic live in fix-live-board/config).
 // Never hardcode a vendor name here — edit showroom-vendors.json to change the set. TK-11186.
 const require = createRequire(import.meta.url);
-const { isShowroomVendor, isShowroomProduct } = require(process.env.HOME + '/Projects/fix-live-board/config/showroom-vendor.cjs');
+const { isShowroomVendor } = require(process.env.HOME + '/Projects/fix-live-board/config/showroom-vendor.cjs');
 
 const SHOP = 'designer-laboratory-sandbox.myshopify.com';
 const VER = '2024-10';
@@ -146,11 +146,7 @@ function evaluate(p) {
   // quote_only above: PJ is sample-only ($4.25) today so it's excluded incidentally, but a
   // future >$5 or roll-priced PJ variant would otherwise leak into the feed (disapproval
   // risk). Keyed off showroom-vendors.json via the shared primitive. TK-11186.
-  // TK-11307: switched to isShowroomProduct so a SHARED-vendor showroom line (MDC under
-  // "Phillipe Romano") is excluded via its product-level "Showroom" tag WITHOUT excluding
-  // that vendor's sellable products (Spazzolato/Greenland/RIGO/Justin David). p.tags is
-  // already selected by QUERY above, so the tag path resolves correctly.
-  if (isShowroomProduct(p)) reasons.push('showroom_only_addressable_not_discoverable');
+  if (isShowroomVendor(p.vendor)) reasons.push('showroom_only_addressable_not_discoverable');
   if (!hasImg) reasons.push('no_image');
   if (rollPrice == null) reasons.push('no_roll_variant_price');
   else if (rollPrice < FLOOR) reasons.push(`roll_price_below_floor_${rollPrice}`);

← 4d13385 auto-data-snapshot: 2026-09-09T05:45:52 (1 data files) — dat  ·  back to Designerwallcoverings  ·  Revert "google-channel unpublish: add tag-scoped path for sh fe298d6 →