← back to Designer Wallcoverings
burst: option name must be 'Size' + Roll-first variant (DW theme price-picker convention); fixed live on 42 TWIL products
5b044ca7efdfe90226c0c47beaf81dd18b1eb992 · 2026-06-24 10:14:17 -0700 · Steve
Files touched
M pending-approval/burst_twil_naturals.py
Diff
commit 5b044ca7efdfe90226c0c47beaf81dd18b1eb992
Author: Steve <steve@designerwallcoverings.com>
Date: Wed Jun 24 10:14:17 2026 -0700
burst: option name must be 'Size' + Roll-first variant (DW theme price-picker convention); fixed live on 42 TWIL products
---
pending-approval/burst_twil_naturals.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pending-approval/burst_twil_naturals.py b/pending-approval/burst_twil_naturals.py
index 5990d359..866772ba 100644
--- a/pending-approval/burst_twil_naturals.py
+++ b/pending-approval/burst_twil_naturals.py
@@ -98,10 +98,10 @@ def build(rec):
imgs=[{"src":u} for u in [rec.get("img1"),rec.get("img2")] if u]
price=rec.get("price") or None # column O "DW Price" = sell price per single roll
inv=dict(inventory_management="shopify", inventory_quantity=INVENTORY)
- variants=[{"option1":"Sample","sku":f"{rec['dw_sku']}-Sample","price":SAMPLE_PRICE, **inv}]
roll={"option1":"Roll","sku":rec["dw_sku"], **inv}
if price: roll["price"]=price
- variants.append(roll)
+ sample={"option1":"Sample","sku":f"{rec['dw_sku']}-Sample","price":SAMPLE_PRICE, **inv}
+ variants=[roll, sample] # Roll FIRST so PDP shows the real price (DW theme convention)
# ACTIVE only if it has a sell price; unpriced stay draft (can't sell unpriced)
status="active" if price else "draft"
tags=["Grasscloth","Natural Wallcovering","Fentucci","TWIL Naturals", f"color:{col}" if col else "", "display_variant", "Needs-Cost" if not price else ""]
@@ -110,7 +110,7 @@ def build(rec):
"vendor":"Fentucci","product_type":"Wallcovering","status":status,
"published_scope":"global",
"tags":", ".join(t for t in tags if t),
- "options":[{"name":"Title"}],
+ "options":[{"name":"Size"}], # MUST be "Size" for DW theme price/variant picker
"images":imgs,"variants":variants,"metafields":metafields(rec),
}}
← f41456c0 cadence: tag new ACTIVE products 'New Arrival' inline so fee
·
back to Designer Wallcoverings
·
auto-save: 2026-06-24T10:26:20 (2 files) — vendor-scrapers/c 2f5131a9 →