[object Object]

← back to Designer Wallcoverings

feat(filter-topbar): ship-what-works — defaults to data-backed fields (color/style/brand/contents/price), customer-safe empty copy

9ec87169d8587ca58b26da355cd0b8b4a229b0ab · 2026-06-25 16:47:25 -0700 · Steve

Files touched

Diff

commit 9ec87169d8587ca58b26da355cd0b8b4a229b0ab
Author: Steve <steve@designerwallcoverings.com>
Date:   Thu Jun 25 16:47:25 2026 -0700

    feat(filter-topbar): ship-what-works — defaults to data-backed fields (color/style/brand/contents/price), customer-safe empty copy
---
 shopify/sections/dw-boost-filter-topbar.liquid | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/shopify/sections/dw-boost-filter-topbar.liquid b/shopify/sections/dw-boost-filter-topbar.liquid
index 65d89f9f..215daf63 100644
--- a/shopify/sections/dw-boost-filter-topbar.liquid
+++ b/shopify/sections/dw-boost-filter-topbar.liquid
@@ -208,8 +208,12 @@
     { key:'era',      label:'Era',      param:'pf_t_historical_era',kind:'tag' },
     { key:'price',    label:'Price',    param:'pf_p_price',         kind:'price' }
   ];
-  // Which fields are ON by default (the common five + price/vendor/created via sort).
-  var DEFAULT_ON = ['color','style','material','brand','process','price'];
+  // Which fields are ON by default. Data-backed only (verified 2026-06-25): color
+  // (color: tags), style/brand (global.Style/Brand facets), contents (global.Contents
+  // 80% fill — Boost facet pending), price (pf_p_price). Material/Process are OFF by
+  // default (no catalog data yet → would render empty); Pattern OFF (near-unique →
+  // poor facet). All remain user-enableable via the ⚙ gear when data lands.
+  var DEFAULT_ON = ['color','style','brand','contents','price'];
 
   // Private-label deny-list — these upstream names must NEVER reach a shopper.
   var DENY = [/brewster/i,/\byork\b/i,/wallquest/i,/chesapeake/i,/nextwall/i,/seabrook/i,/command\s*54/i,/desima/i,/carlsten/i,/nicolette\s*mayer/i];
@@ -315,7 +319,7 @@
         navTo(p);
       });
     } else if(!opts.length){
-      panel.innerHTML='<div class="dw-dd__empty">No <b>'+esc(field.label)+'</b> facet is configured in Boost yet.<br>Add it in the Boost SD dashboard (param <code>'+esc(field.param)+'</code>) — see the runbook. Active selections still work.</div>';
+      panel.innerHTML='<div class="dw-dd__empty">No <b>'+esc(field.label)+'</b> options are available for this collection yet.</div>';
     } else {
       var html=opts.map(function(o){
         var sw = field.swatch ? '<span class="dw-sw" style="background:'+swatchHex(o.label)+'"></span>' : '';

← 821c6a88 Fix kravet-master-loader: keep YARD-priced wallcoverings (Wi  ·  back to Designer Wallcoverings  ·  docs(filter-topbar): session update memo — ship-what-works, a826bdec →