[object Object]

← back to Designer Wallcoverings

chore: update pdp push script to include product specs and product snippet updates

3476f11713b59cc45ce62a4fa8220ecec5b859b9 · 2026-06-22 22:16:47 -0700 · Steve Abrams

Updated push-pdp-to-live-5.0.py to include:
- snippets/product-specs.liquid (product specifications table)
- snippets/product.liquid (product render call for specs)

These are now part of the standard PDP redesign push for future deployments.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

Files touched

Diff

commit 3476f11713b59cc45ce62a4fa8220ecec5b859b9
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jun 22 22:16:47 2026 -0700

    chore: update pdp push script to include product specs and product snippet updates
    
    Updated push-pdp-to-live-5.0.py to include:
    - snippets/product-specs.liquid (product specifications table)
    - snippets/product.liquid (product render call for specs)
    
    These are now part of the standard PDP redesign push for future deployments.
    
    Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
---
 shopify/push-pdp-to-live-5.0.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/shopify/push-pdp-to-live-5.0.py b/shopify/push-pdp-to-live-5.0.py
index 9aacaf6a..626f6375 100644
--- a/shopify/push-pdp-to-live-5.0.py
+++ b/shopify/push-pdp-to-live-5.0.py
@@ -1,7 +1,9 @@
 #!/usr/bin/env python3
 """
-Push the PDP redesign (Sample/Roll size pills + uniform CTA pills) onto the
-LIVE theme "Steves Version 5.0" (142250278963).
+Push the PDP redesign onto the LIVE theme "Steves Version 5.0" (142250278963):
+  - Sample/Roll size pills (CSS + JS)
+  - Uniform CTA pill layout (Request Sample / Spec Sheet / Add to Cart)
+  - Product Specifications table (metafields rendering)
 
 SAFE: backs up each asset (GET-before-PUT) into live-5.0-pdp-backups/ before
 writing, and surgically inserts the 2 theme.liquid include lines after the
@@ -33,7 +35,7 @@ os.makedirs('live-5.0-pdp-backups', exist_ok=True)
 stamp = datetime.datetime.now().strftime('%Y%m%d-%H%M%S')
 LOCAL = 'theme-5.0-duplicate'
 
-for key in ['assets/dw-pdp-restyle.css', 'assets/dw-pdp-size-pills.js']:
+for key in ['assets/dw-pdp-restyle.css', 'assets/dw-pdp-size-pills.js', 'snippets/product-specs.liquid', 'snippets/product.liquid']:
     want = open(os.path.join(LOCAL, key), encoding='utf-8').read()
     try:
         cur = get(key)

← 054e0338 fix: product specs rendering - access metafields as object p  ·  back to Designer Wallcoverings  ·  chore: simplify product-specs to show only pattern reference 3b03ff09 →