[object Object]

← back to Designer Wallcoverings

Harden Boost price hide/restore CSS: grid-scope hide + theme-agnostic PDP restore

195e606866e8242efb1d8d38e2671687e9ce6330 · 2026-06-21 18:02:32 -0700 · SteveStudio2

Files touched

Diff

commit 195e606866e8242efb1d8d38e2671687e9ce6330
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date:   Sun Jun 21 18:02:32 2026 -0700

    Harden Boost price hide/restore CSS: grid-scope hide + theme-agnostic PDP restore
---
 shopify/_cwFIX/layout/theme.liquid    | 10 ++++++----
 shopify/_cwLIVE/layout/theme.liquid   | 10 ++++++----
 shopify/_cwLIVE2/layout/theme.liquid  | 10 ++++++----
 shopify/_cwLIVE3/layout/theme.liquid  | 10 ++++++----
 shopify/_cwVERIFY/layout/theme.liquid | 10 ++++++----
 5 files changed, 30 insertions(+), 20 deletions(-)

diff --git a/shopify/_cwFIX/layout/theme.liquid b/shopify/_cwFIX/layout/theme.liquid
index 03558c49..9e672734 100644
--- a/shopify/_cwFIX/layout/theme.liquid
+++ b/shopify/_cwFIX/layout/theme.liquid
@@ -456,7 +456,7 @@
 .boost-sd__product-price,
 .boost-sd__product-item [class*="price"],
 .boost-sd__product-item span[class*="money"],
-.boost-sd [class*="product-price"] {
+.boost-sd__product-item [class*="product-price"] {
   display: none !important;
   visibility: hidden !important;
   opacity: 0 !important;
@@ -466,9 +466,11 @@
   position: absolute !important;
   pointer-events: none !important;
 }
-/* Restore on product pages + cart */
-#shopify-section-product [class*="price"],
-#shopify-section-product span.money,
+/* Restore on product pages + cart — theme-agnostic (DW 2026-06-21: old #shopify-section-product id never existed on this theme) */
+[id^="shopify-section-template"][id$="__main"] .product-price-minimum,
+[id^="shopify-section-template"][id$="__main"] [class*="product-price"],
+[id^="shopify-section-template"][id$="__main"] span.money,
+.product__price .money,
 .product-add-to-cart span.money,
 .shopify-product-form span.money,
 .mini-cart span.money,
diff --git a/shopify/_cwLIVE/layout/theme.liquid b/shopify/_cwLIVE/layout/theme.liquid
index e92e7829..81e9f0b4 100644
--- a/shopify/_cwLIVE/layout/theme.liquid
+++ b/shopify/_cwLIVE/layout/theme.liquid
@@ -456,7 +456,7 @@
 .boost-sd__product-price,
 .boost-sd__product-item [class*="price"],
 .boost-sd__product-item span[class*="money"],
-.boost-sd [class*="product-price"] {
+.boost-sd__product-item [class*="product-price"] {
   display: none !important;
   visibility: hidden !important;
   opacity: 0 !important;
@@ -466,9 +466,11 @@
   position: absolute !important;
   pointer-events: none !important;
 }
-/* Restore on product pages + cart */
-#shopify-section-product [class*="price"],
-#shopify-section-product span.money,
+/* Restore on product pages + cart — theme-agnostic (DW 2026-06-21: old #shopify-section-product id never existed on this theme) */
+[id^="shopify-section-template"][id$="__main"] .product-price-minimum,
+[id^="shopify-section-template"][id$="__main"] [class*="product-price"],
+[id^="shopify-section-template"][id$="__main"] span.money,
+.product__price .money,
 .product-add-to-cart span.money,
 .shopify-product-form span.money,
 .mini-cart span.money,
diff --git a/shopify/_cwLIVE2/layout/theme.liquid b/shopify/_cwLIVE2/layout/theme.liquid
index 23aebc0a..bf23c86e 100644
--- a/shopify/_cwLIVE2/layout/theme.liquid
+++ b/shopify/_cwLIVE2/layout/theme.liquid
@@ -456,7 +456,7 @@
 .boost-sd__product-price,
 .boost-sd__product-item [class*="price"],
 .boost-sd__product-item span[class*="money"],
-.boost-sd [class*="product-price"] {
+.boost-sd__product-item [class*="product-price"] {
   display: none !important;
   visibility: hidden !important;
   opacity: 0 !important;
@@ -466,9 +466,11 @@
   position: absolute !important;
   pointer-events: none !important;
 }
-/* Restore on product pages + cart */
-#shopify-section-product [class*="price"],
-#shopify-section-product span.money,
+/* Restore on product pages + cart — theme-agnostic (DW 2026-06-21: old #shopify-section-product id never existed on this theme) */
+[id^="shopify-section-template"][id$="__main"] .product-price-minimum,
+[id^="shopify-section-template"][id$="__main"] [class*="product-price"],
+[id^="shopify-section-template"][id$="__main"] span.money,
+.product__price .money,
 .product-add-to-cart span.money,
 .shopify-product-form span.money,
 .mini-cart span.money,
diff --git a/shopify/_cwLIVE3/layout/theme.liquid b/shopify/_cwLIVE3/layout/theme.liquid
index 3bdbe8e4..d3c964ce 100644
--- a/shopify/_cwLIVE3/layout/theme.liquid
+++ b/shopify/_cwLIVE3/layout/theme.liquid
@@ -456,7 +456,7 @@
 .boost-sd__product-price,
 .boost-sd__product-item [class*="price"],
 .boost-sd__product-item span[class*="money"],
-.boost-sd [class*="product-price"] {
+.boost-sd__product-item [class*="product-price"] {
   display: none !important;
   visibility: hidden !important;
   opacity: 0 !important;
@@ -466,9 +466,11 @@
   position: absolute !important;
   pointer-events: none !important;
 }
-/* Restore on product pages + cart */
-#shopify-section-product [class*="price"],
-#shopify-section-product span.money,
+/* Restore on product pages + cart — theme-agnostic (DW 2026-06-21: old #shopify-section-product id never existed on this theme) */
+[id^="shopify-section-template"][id$="__main"] .product-price-minimum,
+[id^="shopify-section-template"][id$="__main"] [class*="product-price"],
+[id^="shopify-section-template"][id$="__main"] span.money,
+.product__price .money,
 .product-add-to-cart span.money,
 .shopify-product-form span.money,
 .mini-cart span.money,
diff --git a/shopify/_cwVERIFY/layout/theme.liquid b/shopify/_cwVERIFY/layout/theme.liquid
index 03558c49..9e672734 100644
--- a/shopify/_cwVERIFY/layout/theme.liquid
+++ b/shopify/_cwVERIFY/layout/theme.liquid
@@ -456,7 +456,7 @@
 .boost-sd__product-price,
 .boost-sd__product-item [class*="price"],
 .boost-sd__product-item span[class*="money"],
-.boost-sd [class*="product-price"] {
+.boost-sd__product-item [class*="product-price"] {
   display: none !important;
   visibility: hidden !important;
   opacity: 0 !important;
@@ -466,9 +466,11 @@
   position: absolute !important;
   pointer-events: none !important;
 }
-/* Restore on product pages + cart */
-#shopify-section-product [class*="price"],
-#shopify-section-product span.money,
+/* Restore on product pages + cart — theme-agnostic (DW 2026-06-21: old #shopify-section-product id never existed on this theme) */
+[id^="shopify-section-template"][id$="__main"] .product-price-minimum,
+[id^="shopify-section-template"][id$="__main"] [class*="product-price"],
+[id^="shopify-section-template"][id$="__main"] span.money,
+.product__price .money,
 .product-add-to-cart span.money,
 .shopify-product-form span.money,
 .mini-cart span.money,

← f4947979 sync-shopify-products: fetch variant price + descriptionHtml  ·  back to Designer Wallcoverings  ·  PDP: replace native variant dropdown with side-by-side name- 050da830 →