[object Object]

← back to Dw Theme Boost Fix

Revert "TK-11304: PDP shows bold 'Type II Commercial Wallcovering' badge atop spec block for Type II/Type 2 tagged products (token-boundaried so Type III is excluded); unit stays unit_of_measure-driven"

c9e6484516604ba3cc300e3c0fd58ef746f15586 · 2026-09-09 22:28:45 -0700 · Steve Abrams

This reverts commit 88e87a683c4d9550ef405953c77f31daf967d79f.

Files touched

Diff

commit c9e6484516604ba3cc300e3c0fd58ef746f15586
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed Sep 9 22:28:45 2026 -0700

    Revert "TK-11304: PDP shows bold 'Type II Commercial Wallcovering' badge atop spec block for Type II/Type 2 tagged products (token-boundaried so Type III is excluded); unit stays unit_of_measure-driven"
    
    This reverts commit 88e87a683c4d9550ef405953c77f31daf967d79f.
---
 snippets/product-description-meta.liquid | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/snippets/product-description-meta.liquid b/snippets/product-description-meta.liquid
index cb14a7c..9921496 100644
--- a/snippets/product-description-meta.liquid
+++ b/snippets/product-description-meta.liquid
@@ -34,18 +34,6 @@
 
 {% if w != blank or mat != blank or col != blank %}{% assign has_specs = true %}{% endif %}
 
-{% comment %} TK-11304 — Type II contract wallcovering: bold badge atop the PDP spec area for
-   any product tagged "Type II" (also accepts "Type 2"). Rendered independent of has_specs so it
-   still shows on Type II products with sparse specs. Contract goods are sold BY THE YARD — the
-   unit_of_measure metafield already drives the "Unit" row below (no single-roll hardcode). {% endcomment %}
-{% comment %} Wrap each tag in commas so a substring test is token-boundaried — otherwise
-   'type ii' would falsely match inside 'type iii' (Type III). Also accepts a space-suffixed
-   tag like 'Type II Commercial'. {% endcomment %}
-{% assign dw_tagstr = product.tags | join: ',' | downcase | prepend: ',' | append: ',' %}
-{% if dw_tagstr contains ',type ii,' or dw_tagstr contains ',type ii ' or dw_tagstr contains ',type 2,' or dw_tagstr contains ',type 2 ' %}
-<div class="dw-type2-label" style="font-weight:700;font-size:15px;color:#1a1714;letter-spacing:.01em;margin:14px 0 4px;">Type II Commercial Wallcovering</div>
-{% endif %}
-
 {% if has_specs %}
 <div class="dw-specs">
   <div class="dw-specs-title">Specifications</div>

← 88e87a6 TK-11304: PDP shows bold 'Type II Commercial Wallcovering' b  ·  back to Dw Theme Boost Fix  ·  (newest)